WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: norestore boot code  (Read 1629 times)

Offline Lee

  • Hero Member
  • *****
  • Posts: 645
    • My Core wiki user page
norestore boot code
« 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?
32 bit core4.7.7, Xprogs, Xorg-7.6, wbar, jwm  |  - Testing -
PPR, data persistence through filetool.sh          |  32 bit core 8.0 alpha 1
USB Flash drive, one partition, ext2, grub4dos  | Otherwise similar

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: norestore boot code
« Reply #1 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?
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline Lee

  • Hero Member
  • *****
  • Posts: 645
    • My Core wiki user page
Re: norestore boot code
« Reply #2 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.
32 bit core4.7.7, Xprogs, Xorg-7.6, wbar, jwm  |  - Testing -
PPR, data persistence through filetool.sh          |  32 bit core 8.0 alpha 1
USB Flash drive, one partition, ext2, grub4dos  | Otherwise similar