Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: bigpcman on November 06, 2009, 02:12:43 PM

Title: Tiny Core V2.5 - clarification?
Post by: bigpcman on November 06, 2009, 02:12:43 PM
Robert could you please remind me what this means:

"Re-implements /opt/tce boot time support."
Title: Re: Tiny Core V2.5 - clarification?
Post by: roberts on November 06, 2009, 02:18:22 PM
For easy mode remastering. Your repository can be included in the image.
Title: Re: Tiny Core V2.5 - clarification?
Post by: bigpcman on November 06, 2009, 02:29:55 PM
For easy mode remastering. Your repository can be included in the image.

OK, that leads me to another question. What happens on boot and post boot if there is an /opt/tce repository and a /sdb/tce repository present.
Title: Re: Tiny Core V2.5 - clarification?
Post by: bmarkus on November 06, 2009, 02:30:38 PM
What is the load order of /opt/tce and /tce and how the startup scripts executed?
Title: Re: Tiny Core V2.5 - clarification?
Post by: Jason W on November 06, 2009, 02:40:13 PM
The load order and startup script execution is the same as before, using dependency logic.  The startup scripts are simply executed in the proper order after all the extensions are loaded and ldconfig/depmod run.
Title: Re: Tiny Core V2.5 - clarification?
Post by: jls on November 07, 2009, 09:50:50 AM
from tce-setup script:
Code: [Select]
if [ "$(ls -A /opt/tce)" ]; then
TCEDIR=/opt/tce
FILELIST=`ls "$TCEDIR"/*.tc* | grep -E .tc[ez][ml]*$`
for FILE in $FILELIST; do process; done
fi

if [ -s /opt/.tce_dir ]; then
  TCEDIR="$(cat /opt/.tce_dir)"
  FILELIST=`ls "$TCEDIR"/*.tc* | grep -E .tc[ez][ml]*$`
  for FILE in $FILELIST; do process; done
fi
Title: Re: Tiny Core V2.5 - clarification?
Post by: jpeters on November 07, 2009, 03:48:13 PM
from tce-setup script:
Code: [Select]
grep -E .tc[ez][ml]*$
 

wow...that's sweet  :)