WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: tinycore_1.1rc3  (Read 2847 times)

Offline roberts

  • Administrator
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
tinycore_1.1rc3
« on: February 05, 2009, 06:11:11 AM »
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.
« Last Edit: February 05, 2009, 08:57:28 AM by roberts »
10+ Years Contributing to Linux Open Source Projects.

Online curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10217
Re: tinycore_1.1rc3
« Reply #1 on: February 05, 2009, 07:26:06 AM »
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.
The only barriers that can stop you are the ones you create yourself.

Online curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10217
Re: tinycore_1.1rc3
« Reply #2 on: February 05, 2009, 07:41:44 AM »
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
A copy of this patch uploaded, to not need copy-n-paste.
The only barriers that can stop you are the ones you create yourself.

Offline roberts

  • Administrator
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: tinycore_1.1rc3
« Reply #3 on: February 05, 2009, 08:40:07 AM »
rc3 reposted to correct permission on Xvesa.
If you have already downloaded rc3 prior to seeing this message, please re-download.
10+ Years Contributing to Linux Open Source Projects.