Tiny Core Base > Release Candidate Testing

tinycore_1.1rc3

(1/1)

roberts:
tinycore v1.1rc3 is now posted http://distro.ibiblio.org/pub/linux/distributions/tinycorelinux/release/tinycore_1.1rc3.iso

Change log:
* Dropped duplicate lines from .profile
* Fixed tc-restore.sh boot option parsing.
* Updated wbar to support always-on-top option
* Dropped sleep from tc-config for even faster booting.
* Updated Xvesa for better support of virtual terminal, i486 compatibility, proper rendering, and correct mouse scroll
* Updated tc-config to better support startup scripts in PPI mode.

curaga:
Wbar users, note that only the next version of it will support true transparency. In other words, if you use it on top, it doesn't update the background when you switch an app.

curaga:
There is some code duplication in tc-config. Might be better (and save lines ;)) to have an own function for it:

--- Quote ------ tc-config.old   2009-02-05 17:32:36.000000000 +0200
+++ tc-config-1.1   2009-02-05 17:34:48.000000000 +0200
@@ -58,15 +58,19 @@
    done
 }
 
+setupHome(){
+   tar -C /etc/skel -cf - . | tar -C /home/"$USER" -xf -
+   printf 'wm: %s\nicons: %s\n' "$DESKTOP" "$ICONS" > /home/"$USER"/.desktop
+   chown -Rh "$USER".staff /home/"$USER"
+   chmod g+s /home/"$USER"
+}
+
 addUser(){
    echo "${GREEN}Adding user ${YELLOW} $USER ${NORMAL}"
    /bin/adduser -s /bin/sh -G staff -D "$USER"
    echo "$USER":tcuser | /usr/sbin/chpasswd
    echo -e "$USER\tALL=NOPASSWD: ALL" >> /etc/sudoers
-   tar -C /etc/skel -cf - . | tar -C /home/"$USER" -xf -
-   printf 'wm: %s\nicons: %s\n' "$DESKTOP" "$ICONS" > /home/"$USER"/.desktop
-   chown -Rh "$USER".staff /home/"$USER"
-   chmod g+s /home/"$USER"
+   setupHome
 }
 
 tceSetup(){
@@ -292,12 +296,7 @@
       echo "Device not found! Ignoring persistent CRYPTOHOME request!"
    fi 
 fi
-if [ ! "$CRYPTOHOME_SETUP" ]; then
-   tar -C /etc/skel -cf - . | tar -C /home/"$USER" -xf -
-   printf 'wm: %s\nicons: %s\n' "$DESKTOP" "$ICONS" > /home/"$USER"/.desktop
-   chown -Rh "$USER".staff /home/"$USER"
-   chmod g+s /home/"$USER"
-fi
+[ ! "$CRYPTOHOME_SETUP" ] && setupHome
 
 unset HOME_SETUP
 if [ -n "$MYHOME" ]; then
@@ -317,12 +316,7 @@
       echo "Device not found! Ignoring persistent HOME request!"
    fi
 fi
-if [ ! "$HOME_SETUP" ]; then
-   tar -C /etc/skel -cf - . | tar -C /home/"$USER" -xf -
-   printf 'wm: %s\nicons: %s\n' "$DESKTOP" "$ICONS" > /home/"$USER"/.desktop
-   chown -Rh "$USER".staff /home/"$USER"
-   chmod g+s /home/"$USER"
-fi
+[ ! "$HOME_SETUP" ] && setupHome
 
 unset OPT_SETUP
 if [ -n "$MYOPT" ]; then
--- End quote ---
A copy of this patch uploaded, to not need copy-n-paste.

roberts:
rc3 reposted to correct permission on Xvesa.
If you have already downloaded rc3 prior to seeing this message, please re-download.

Navigation

[0] Message Index

Go to full version