Tiny Core Extensions > TCE Q&A Forum

glib/gtk packages

<< < (3/3)

mikshaw:
According to the readme, it looks for Glib2 first and then Glib1.2.  You can force it to use Glib1.2 as a configure option, but I was trying not to have both versions installed.
Maybe I'll do that anyway, since I decided to go with a hybrid system.  On that off-topic subject, what happens if you try to have home=hda4 and local=hda4?
It appears as though home will fail if hda4 is already mounted for tclocal:

--- Code: ---    303 if [ -n "$MYHOME" ]; then
    304    wait $fstab_pid
    305    mount /mnt/"$MYHOME"
    306    if [ "$?" == 0 ]; then
    307       if [ -d "/mnt/$MYHOME$HOME" ]; then
    308          mount --bind "/mnt/$MYHOME$HOME" "$HOME/"
    309       else
    310          mkdir -p "/mnt/$MYHOME$HOME"
    311          mount --bind "/mnt/$MYHOME$HOME" "$HOME/"
    312          tar -C /etc/skel -cf - . | tar -C "$HOME" -xf -
    313          printf 'wm: %s\nicons: %s\n' "$DESKTOP" "$ICONS" > "$HOME"/.desktop
    314          chown -Rh "$USER".staff "$HOME"
    315       fi
    316    fi
    317 else
    318    tar -C /etc/skel -cf - . | tar -C "$HOME" -xf -
    319    printf 'wm: %s\nicons: %s\n' "$DESKTOP" "$ICONS" > "$HOME"/.desktop
    320    chown -Rh "$USER".staff "$HOME"
    321    chmod g+s "$HOME"
    322 fi


--- End code ---
If hda4 is already mounted, the return of line 305 won't be 0, and so persistent home won't be used.  At least that's what it looks like to me, so I plan to put "mount --bind /mnt/hda4/tclocal /usr/local" in bootlocal.sh and use only home=hda4.  Haven't tested it yet until I add the reiserfs module into the base.

curaga:
Perhaps a better change would be:

...
mountpoint /mnt/"$MYHOME" || mount /mnt/"$MYHOME"
if [....

so it would check for a mountpoint first, and only then try to mount.

mikshaw:
I got it installed using glib1.2, thanks.  Now having problems getting subshells working, and it's apparently a different issue than what I had in DSL...but that's for another day.  Now I have to figure out why the reiserfs module isn't being loaded =op

Navigation

[0] Message Index

[*] Previous page

Go to full version