Red Hat Bugzilla – Bug 1282496
lmc should support liveimg squashfs creation
Last modified: 2015-12-01 02:55:44 EST
Description of problem:
It would be nice if lmc could support the creation of liveimg compatible squashfs images.
This should be quite easy, because it only requires lmc to wrap the fs image in a squashfs.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
The reason why I haven't done this is because it's really easy to put a resulting fsimage file into a directory and run mksquashfs on it. In order to support it the user would have to also pass a directory name or tree since not everyone is going to want to use the same layout.
(In reply to Brian Lane from comment #1)
> The reason why I haven't done this is because it's really easy to put a
> resulting fsimage file into a directory and run mksquashfs on it.
Right, I agree that it's a quite simple process, however, it would be very convenient to have a one-step process to generate this squashfs (which can be used by anaconda and dracut alike [as you know]), without the manual intervention step.
> In order
> to support it the user would have to also pass a directory name or tree
> since not everyone is going to want to use the same layout.
Hm. At least dracut isn't to flexible about the location of the image IIRC it is squashfs-root/LiveOS/*.img which it is looking for.
Let me note that I don't think of a generic wrap-in-squashfs mode, rather the specific squashfs image to be consumable by anaconda and dracut.
It is already supported using the --make-pxe-boot switch