Tiny Core Linux
Tiny Core Extensions => TCE Talk => Topic started by: MarkS on August 25, 2011, 03:33:51 AM
-
Hi guys,
I'm sure this is not a bug - I'm sure this is me missing something!
I've got TC v3.8.2 and have downloaded a number of extensions (chromebrowser and dependancies).
These work fine when loaded.
I've used a dynamic CD remaster to add these extensions to /opt/tce at boot time.
Instructions from the wiki page "Dynamic Root Filesystem Remastering" (sorry, not allowed to post a direct link)
This works fine, and at boot there is /opt/tce/optional containing the extensions, and a /opt/tce/onboot.lst file.
What doesn't work... the extensions are *not* autoloaded
They're on the file system, and I can use appbrowser to load them... but I expected them to be loaded at boot time (due to the onboot.lst file).
Any clues to what I'm overlooking?
Thanks,
Mark.
-
RESOLVED : Extensions not Auto-Loading
Hi, following up my own post to say I've resolved my problem!
Short version : ensure all text files have UNIX line endings - especially "onboot.lst"
Longer version :
The easiest way to remaster the CD is to create a second initramfs, and use the SysLinux tools to load *both* initramfs files, as per the "Dynamic Remastering" wiki page.
What did not seem spelled out to me, so included here to help others :
Use the "/opt/tce" hierarchy for your extensions
Ensure you have "/opt/tce/onboot.lst" AND that it has UNIX LF characters, not DOS CR/LF characters
Store your actual extensions AND dependency files in "/opt/tce/optional/*.tcz"
Do *not* use "-depth" when using "find" to create the cpio archive ;-)
I hope these comments are useful to someone else!
Why would I want a remastered CD? For a secure (read only) bootable web browser for online banking.
Thanks,
Mark.