Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: AlabamaPaul on July 01, 2010, 07:01:57 PM

Title: kernel command line to load extension
Post by: AlabamaPaul on July 01, 2010, 07:01:57 PM

Is there a kernel command line option that can be used to load an extension ?

Title: Re: kernel command line to load extension
Post by: limeblack on July 02, 2010, 12:16:57 AM
If you are talking about a Terminal command line.  Then all you need is tce-load  :D
Quote
tce-load -w -i appbrowser-cli.tcz

If not then unfortunately the only alternative is creating separate folders with the different extensions in each.  :P  For example this is what my menu.lst looks like.   ;D
Quote
title tc minefield+compiletc
kernel /boot/bzImage tce=hda5/tc/mine restore=hda5/tc/mine quiet
initrd /boot/tinycore.gz

If there is another way to load extensions I'd love to know also.  ??? ;D


Title: Re: kernel command line to load extension
Post by: roberts on July 02, 2010, 12:29:50 AM
If you are talking about command line app browsing then use the ab command.
It is a simple script built using other *nix commands.
Title: Re: kernel command line to load extension
Post by: curaga on July 02, 2010, 06:51:16 AM
@limeblack: you can keep them all in a single tce dir, and just use different lists for what to load on boot.

Default entry without anything, compiletc entry for example with "lst=compile.lst" (with compile.lst being just a renamed onboot.lst for this use).
Title: Re: kernel command line to load extension
Post by: AlabamaPaul on July 02, 2010, 08:49:51 AM
Looking at tce-setup, I thought this might be the case, but I was having some problems.

Your tip about being the same the onboot.lst should help!

Thanks.
Title: Re: kernel command line to load extension
Post by: roberts on July 02, 2010, 09:02:16 AM
I use OnDemand for my compiletc and other less often used extensions. That way they are easily available anytime I need them and not loading at boot or needing a reboot to access them.
Title: Re: kernel command line to load extension
Post by: AlabamaPaul on July 02, 2010, 01:08:32 PM
Robert,

That's what I do on my desktop, but I'm looking to do this using PXE, and wanted to use the list to handle slightly different extensions for different platforms.
Title: Re: kernel command line to load extension
Post by: gerald_clark on July 03, 2010, 11:27:36 AM
The lst=private.lst works, but the AppsAudit application OnBoot maintenance still uses onboot.lst.
Perhaps lst could be saved and AppsAudit could use the list?