Hey,
On Thu, 2007-04-26 at 10:22 +0100, Mark McLoughlin wrote:
On Wed, 2007-04-25 at 13:41 -0400, David Zeuthen wrote:
I think adding an option
--target=[livecd| disk_msdos_ext3| disk_msdos_ext3_separate_boot| ext3| jffs2]
with this help text (for --help)
--target Choose target mode; defaults to livecd livecd: A compressed livecd ISO with the root file system disk_msdos_ext3 : An image with a MSDOS partitioning table, a single ext3 data partition and a bootloader for IBM PC hardware disk_msdos_ext3_separate_boot : Like disk_msdos_ext3 only that /boot is on a separate partition. ext3 : A single ext3 partition jffs2 : A jffs2 file system
is what we want. Perhaps disk_msdos_ext3_separate_boot can be achieved by a separate option just like we have --skip-compression for --target=livecd. Thoughts?
I've a few of patches to do something similar, except I've been using livecd-creator to build xen system images for the likes of image based deployment (e.g. stateless) or this virtual appliances notion.
See the attached patches - the first makes LiveCDTarget be a sub-class of InstallationTarget, the second adds --target and the last adds RawTarget which I've been playing with.
So, there hasn't been any comments on these patches. Re-factoring out the InstallationTarget sub-class seems to me like a good start - can we get that patch merged?
Thanks, Mark.