Tiny Core Linux

Tiny Core Base => TCB Talk => Topic started by: jls on May 21, 2009, 11:28:41 AM

Title: In PPI, on shutdown, tc should unmount tcz that are mounted
Post by: jls on May 21, 2009, 11:28:41 AM
In case of PPI operation mode, during the shutdown process, the system should umount the installed tcz
Infact if a user uses tcz on PPI is because the extension is not PPI compatible.
But not all the tcz I want them to be loaded at boot time, so some of the I put in the optional dir.
But If I forget to uninstall them before shutdown, on next reboot the system think they are installed (jnfact they appear unde /usr/local/tce.installed, but this is not true.
Title: Re: In PPI, on shutdown, tc should autoumount tcz that are in the optional dir
Post by: roberts on May 21, 2009, 09:26:37 PM
You are mixing modes of operation. PPI impiles persistency. PPR does not.
tce-uninstall is an extension. As such, it cannot be assumed to be available.
You state that you are doing this because not all applicatons are PPI compliant.
Title: Re: In PPI, on shutdown, tc should autoumount tcz that are in the optional dir
Post by: junan on May 22, 2009, 02:48:54 AM
Mix PPI and PPR sometime confusing and sometime frustating ...
i installed inkscape.tce , and it didn't work. then i unistall it and install
inkscape.tcz ... the result is same. maybe it because of my ram.

when i try to uninstall it , tce-uninstall and tcz-uninstall work like normal.
but when i restart again , the inkscape icon appear at wbar, and in aterm
i still can call inkscape. maybe because of use the PPI mode. when i call
tce-uninstall and tcz-uninstall again , inkscape already removed.

then tinycore linux 2.0rc2 came out ... remove my tclocal directory.
and start new fresh installation  ;D

Code: [Select]
tc@anarkia:~$ inkscape
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Xlib:  extension "Generic Event Extension" missing on display ":0.0".

Emergency save activated!
*** glibc detected *** inkscape: malloc(): memory corruption: 0x0a614218 ***
Aborted
tc@anarkia:~$

tinycorelinux still my first choice when booting my laptop.
that's why i keep my ppi repository in different place with ppi uncompatible.
Title: Re: In PPI, on shutdown, tc should autoumount tcz that are in the optional dir
Post by: jls on July 28, 2009, 02:38:03 AM
......
tce-uninstall is an extension.
.....
no tce-uninstall: tcz-uninstall
I use PPI cause my pc is a p2.
Title: Re: In PPI, on shutdown, tc should unmount tcz that are mounted
Post by: roberts on July 28, 2009, 06:12:29 AM
See change log for  v2.2rc
* Forced unmount of all mounted loop files in rc.shutdown for cleaner shutdown.