Tiny Core Linux

Tiny Core Base => TCB Talk => Topic started by: Lee on March 11, 2013, 03:32:34 PM

Title: norestore boot code
Post by: Lee on March 11, 2013, 03:32:34 PM
I always specify a tce directory on the kernel line in my bootloader and, when I want to test stuff on a base system, I just add "base norestore" onto the end of the kernel line, leaving the tce=... setting intact.  But after booting with "base norestore", /etc/sysconfig/tcedir does -not- point where I told it to - it points to /tmp/tce.

I know I could script around this in bootsync.sh, but what I really mean by "base norestore" is "I knew what I was talking about when I told you where to find the tce directory, I just don't want to load anything from it this time".

Does this sound reasonable?  Am I being dumb?

Maybe a thought for 5.0?
Title: Re: norestore boot code
Post by: tinypoodle on March 11, 2013, 04:41:28 PM
i don't have an opportunity to test that myself at current, but perhaps omitting "base" while specifying a dummy list "lst=null.lst" could be a possible approach in what you try to achieve?
Title: Re: norestore boot code
Post by: Lee on March 11, 2013, 05:20:02 PM
Thanks!

I like the sound of that.  Should have thought of it myself - especially in as much as one of my current projects involves mucking around with extension lists.