Jeremy Katz wrote:
This I'm still not sure that I really want to be carrying in
imgcreate.
There's already a lot of overlap functionality-wise with anaconda and
I know that as soon as we start down this path, we'll end up having to
add all the other crud for various more "advanced" partitioning things
(especially LVM and dm-crypt). Maintaining one copy of that kind of
code is enough for me ;-)
I'd be okay with adding the kickstart hunk, though. And then there's
really not any big reason that I can see why you couldn't just have the
PartitionedDisk bits just in your caller rather than having them a part
of the main imgcreate API
... although I would still strongly ask the question of looking at what
you're doing and seeing if it makes sense to build your images by
actually going through an install (in a VM of some sort) rather than
using imgcreate once you get to the point of needing partitions, etc
Jeremy