i've finished the restructuring of the mkbootmedia libs, and it now does alpha isos. i haven't put it in cvs yet, because i'm thinking that this lib might make more sense as its own package, while mkbootmedia (which is very si specific), remains in systemimager.
its a little rough around the edges at the moment - mkbootmedia isn't checking some return codes from its call to the libs, and i have a silly dependency on systemconfigurator because i wanted to use sean's verbose mechanism. anyway, you should be able to untar this directory in your site perl directory, and use mkbootmedia from cvs to drive it. http://dannf.org/systemimager/test/BootMedia-20030928.tar.gz you'll need to either install an alpha flavor, or specify the kernel/initrd on the command line. below is the current BootMedia api. to add an arch, you need to create a module for it. the module contains functions for creating isos and/or floppy images (mostly just calls to MediaLib, w/ arch specific parameters), and other arch-specific things like creating the bootloader config file. Various functions expect a hash that specifies the different components of the boot media. Here is the format: %spec = { kernel => $path, initrd => $path, append_string => $string, message => $path } # External API BootMedia::BootMedia::build_floppy_image(%spec, $arch, $outfile) BootMedia::BootMedia::build_iso_image(%spec, $arch, $outfile) # Internal API BootMedia::<arch>::build_floppy_image(%spec, $outfile) [optional] BootMedia::<arch>::build_iso_image(%spec, $outfile) [optional] BootMedia::MediaLib::init_disk_image($size, $outfile) BootMedia::MediaLib::populate_disk_image(\%files, $outfile) whose keys are source file paths on the host system which map to target file paths relative to the disk image root. BootMedia::MediaLib::populate_iso_dir($dir, @files) BootMedia::MediaLib::run_mkisofs($dir, $arch, $extra_opts, $outfile) BootMedia::MediaLib::mkfs_disk_image($outfile); BootMedia::ia64::write_elilo_conf($append, $out_fh) BootMedia::i386::write_syslinux_conf($append, $out_fh) BootMedia::alpha::write_aboot_conf($append, $out_fh) BootMedia::alpha::run_isomarkboot($iso) ... -- [EMAIL PROTECTED] ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Sisuite-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/sisuite-devel
