WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Extensions not Auto-Loading in v3.8.2  (Read 1458 times)

Offline MarkS

  • WikiUser
  • *
  • Posts: 2
Extensions not Auto-Loading in v3.8.2
« on: August 25, 2011, 12: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?



Offline MarkS

  • WikiUser
  • *
  • Posts: 2
Re: Extensions not Auto-Loading in v3.8.2
« Reply #1 on: August 30, 2011, 08:00:34 AM »

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.