That feature set looks great... one of the QT wizards could probably whip up a front end panel for that in no time, once it works. I'm guessing it's not possible to acquire the kernel's flavor from the kernel itself? (I think we've looked into this before for kernel_picker, but I can't remember what the answer was)
Anyway... speaking of it working or not, where can I get the latest mkbootimage stuff? Should it work w/ the SI you have currently checked into OSCAR?


Jeremy

At 01:49 PM 3/29/2004, Brian Elliott Finley wrote:
Thus spake Jeremy Enos ([EMAIL PROTECTED]):
At 05:43 PM 3/25/2004, Brian Elliott Finley wrote:
Thus spake Jeremy Enos ([EMAIL PROTECTED]):
Brian-
One question we meant to ask on the call... what's the status of mkbootpackage?

We have two different chunks of code that dannf and i wrote independently. we're now in the process of merging these.

still plugging away.

Brian- any info on the features to expect? Here's what I'm thinking would be extremely useful:


* default mode identifies current kernel, incorporates modules in current environment (lsmod plus modules.conf)
* option to specify other kernel (auto-detect correct modules that correspond w/ current environment)
* option to take any number of specified modules on the cmd line for customization

These are some of the planned features. Here's the --help output: [EMAIL PROTECTED]:~% mkbootpackage --help [0] WARNING: mkbootpackage is currently considered an experimental tool. "Your Mileage May Vary"

Usage: mkbootpackage --kernel FILE --flavor NAME [OPTION]...

Description: Takes the kernel specified, and necessary modules from it, and
creates
a new boot package based on said kernel. The resultant files
include
a matched kernel, initrd.img, and boel_binaries.tar.gz that can
be used as the SystemImager autoinstall client software.


Current Assumptions:
       You are running this command on your imageserver.  Maybe
others...

Options: (options can be presented in any order)

--help
       Display this output.

--version
       Display version and copyright information.

--verbose
Show information and output for almost every step. Highly recommended for learning and/or troubleshooting.


--kernel FILE
       Path to the kernel you want to use.

Required.

--new-flavor FLAVOR
       What do you want to call this new new boot package.  For
example, if
       your flavor is "gentoo1", then your boot package will end up
living        in a directory such as:
"/usr/share/systemimager/boot/i386/gentoo1".

Required.

--from-flavor FLAVOR
       Copy the SystemImager initrd.img and boel_binaries.tar.gz of
flavor        "FLAVOR" and use them as the base for your new boot package.
All        modules and module information in the source files will be
removed,
       and will be replaced with your new modules (if any).

       Default:
       The "standard" flavor initrd for your architecture.  For
example, on an
       x86 machine this would be:

/usr/share/systemimager/boot/i386/standard/initrd.img

--modules "MODULE1 MODULE2 etc..."
       It is recommended that you first try letting the system choose
your
       modules for you (the Default), and that you only use this option
if
       the system fails to choose successfully.

       That being said, this option allows you to specify a list of
modules
       to load from the initrd.img at boot time, in the order you want
them
       loaded.  Essential modules to place here include any modules
needed to
       access the network.  You need not include any disk related
drivers,
       unless they are required to read a local.cfg file from the
floppy or        hard disk drive(s).

       Default:
       If --modules is not specified, then we try to learn which
modules you
       need based on what is currently running on your system.  To do
this, we
       get a list of all running modules from "/proc/modules".  All
running        modules will be used.  Modules will be loaded in the order that
you see
       when you do a "cat /proc/modules | tac".

--filesystem,--fs FILESYSTEM
       Filesystem that you want used on the initrd.img.  The initrd.img
is        made with a filesystem driver compiled into the kernel (not a
module),
       and may be one of cramfs, ext2, ext3, reiserfs, jfs, or xfs.

       Default:
       An appropriate filesystem will be chosen automatically.

--modules-dir DIR
       Path to your kernel's modules directory.  These modules must be
the
       ones that match your kernel.

       Default:
       /lib/modules/`uname -r`


Download, report bugs, and submit patches at: http://systemimager.org/




The reason I'm thinking about this is because if the mkbootimage tool did this kind of thing, it would be trivial to put a really slick GUI right on top of it... resulting in a powerful, simple-to-use bootpackage creation tool (finally!).
What do you think?

Very possible.


Cheers!

-Brian


Jeremy

-Brian



I've seen some mail going back and forth discussing early versions and troubles... then it seemed to go quiet. Any update?
thx-


Jeremy

--
---------------------------------------------------------
Brian Elliott Finley Argonne, MCS Division Phone: 630.631.6621 http://thefinleys.com
gpg --keyserver wwwkeys.pgp.net --recv-keys 10F8EE52
---------------------------------------------------------



------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Oscar-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/oscar-devel

--
---------------------------------------------------------
Brian Elliott Finley Argonne, MCS Division Phone: 630.631.6621 http://thefinleys.com
gpg --keyserver wwwkeys.pgp.net --recv-keys 10F8EE52
---------------------------------------------------------



------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Oscar-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/oscar-devel



------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Oscar-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/oscar-devel

Reply via email to