On 2/11/02 at 11:31 PM, Serge Caron <[EMAIL PROTECTED]> wrote: > Here is a sequence of definitions that correspond to what > we actually _do_:
VERY useful! > 1) package: is a tar gzipped file named with extension > .lrp according to MSDOS conventions; a properly formed > package contains its inventory in the file > var/lib/lrpkg/<name>.list where <name> is the name of the > package file and all paths are relative to root (/). Oxygen is now supporting VFAT - which means long filenames... > 2) default store: this is the package containing the root > of the filesystem (/). Translation: root.lrp or root.gz. > 3) implicit exclusion list: this is the concatenation of > the lists of other packages relative to one specific > package; by definition, nothing matches root (/). I'm not sure why you need to give this a name, but anyway... > 4) appliance: this is a package containing a file > /etc/inittab; there can be several appliances in a > project: the last one loaded SHOULD receive control from > /sbin/init. Translation: etc.lrp .... also, /sbin/init is configured by /etc/inittab; the only reason *ANYTHING* gets run by init is because /etc/inittab is setup that way. Also, in Oxygen, init has been removed from root.lrp; now it's in init.lrp ... Last one loaded will overwrite the others; there is no overwrite protection... > 5) enclosure: this is a package delivered in the format > expected by your Linux kernel for initial RAM disks. It is > GUARANTEED to receive control from the kernel at /linuxrc. > Regardless of what you do, it will ship/install/etc with > your product/project/etc. Translation: root.gz or root.lrp ... > If I boot an Oxygen 1.9 floppy using the single disk > "Linux" configuration and type "apkg -b root", the program > attempts to save the package root.lrp instead of the > enclosure root.tgz. The process fails because root.lrp is > not a replacement for root.tgz and there is not enough > space on the disk for both. This is something I need to work on yet. However, you can: cd /tmp apkg -c root.lrp ...and this gives you root.lrp. Then just create a new RAM disk of the right size, mkfs.minix it, and unarchive the root.lrp into it - then compress it and save to disk... > A week ago, I packaged nistnet 2.0.10, the National > Institute of Standards and Technology network emulator > (here's the dope from their homepage at > http://www.antd.nist.gov/itg/nistnet/ ). It never crossed > my mind to submit it directly to David or Charles. My > reflex was to inform Mike and I was saddened to learn that > LEAF does not have an official package repository. My CDROMs are partially designed to put everything into one place, but I keep thinking people will think _I_ packaged everything when I didn't... I also put together a package extension to provide detailed information about a package - with shell and luna scripts to read the data and create web pages. Guess I should revisit that, then convert my packages to it. -- David Douthitt UNIX Systems Administrator HP-UX, Unixware, Linux [EMAIL PROTECTED] _______________________________________________ Leaf-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-devel