Erich Titl wrote:

Hi scott

- Below
[ "$PACKAGE" = "root" ] && cat $TMP_EXCLUDE > $EXCLUDE
Add
[ "$PACKAGE" = "$HD_DIR/root" ] && cat $TMP_EXCLUDE > $EXCLUDE



Why do you need to make temporary files dependent on HD_DIR?


I expect that you don't, but at first I had multiple configs within a single 'setup' so this was a way of differentiating 'tween them. It's all working now so I left the clunkiness in, cuz if it ain't bust...

That should be it. I agree, my use of $HD_DIR beneath /var/lib/lrpkg, etc, is probably unnecessary but it's where I ended up.


see above.


Yup, as I suspected this was unnecessary but I was presenting how I did it, warts & all.

How to make it all easy to change between different configs: The only thing different, from a boot-up standpoint, is that I have various lrpkg.XXX files in my root folder, and copy them over the lrpkg.cfg file to tell LEAF where my current setup is. After a new setup boots up I have to change the HD_DIR var within /etc/profile, save the file (but don't backup yet), re-login (so the updated HD_DIR is now live) ... then I can go in and backup my LEAF packages.



Couldn't you pass a parameter to linuxrc through the bootloader, possibly using GRUB?


I'll leave that for others to answer as myself, I have no idea. Wish that I could even appreciate that yours was a /good/ idea - though thanks for piping in as others may be able to take advantage of your ingenuity.

Thanks for the feedback. If the powers that be are interested in this feature (i.e.to be included in future LEAF releases) then I would test your suggestions and do a clean-up before presenting something for them to include.

scott; canada

cheers
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: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to