At 19:04 18.07.2003, S Mohan wrote:
I was looking at making configuration easy. That was the reason to suggest editing lrpkg.cfg from the LEAF system menu and the backup process saving this file. However, to make sure root, etc and other mandatory packages are not removed by mistake causing the system to crash, I'd suggested that the mandatory packages be loaded by linuxrc. Another option could be to load declarations from syslinux.cfg and then load those defined in lrpkg.cfg (not mutually exclusive as is the case today). This way, we still achieve what we want.
I believe this could be implemented quite easily in linuxrc and would possibly break too much the loading of packages
This is a short _untested_ fragment which might achieve what you want. It should combine the values in syslinux.cfg with lrpkg.cfg
#[ "$ROOTMAP" = "" ] && ROOTMAP="`sed 's/.*LRP=/\1/; s/ .*//1' /proc/cmdline`" # # a hack to combine LRP entries in syslinux.cfg with the lrpkg.cfg ROOTMAP="$ROOTMAP,`sed 's/.*LRP=/\1/; s/ .*//1' /proc/cmdline`" ROOTMAP=${ROOTMAP#,}
Erich
THINK Püntenstrasse 39 8143 Stallikon mailto:[EMAIL PROTECTED] PGP Fingerprint: BC9A 25BC 3954 3BC8 C024 8D8A B7D4 FF9D 05B8 0A16
------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________ leaf-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-devel