Bug 1282496

Summary: lmc should support liveimg squashfs creation
Product: [Fedora] Fedora Reporter: Fabian Deutsch <fdeutsch>
Component: loraxAssignee: Brian Lane <bcl>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: anaconda-maint-list, bcl
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-12-01 07:55:44 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1140646, 1271072    

Description Fabian Deutsch 2015-11-16 15:30:42 UTC
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):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Brian Lane 2015-11-16 19:54:36 UTC
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.

Comment 2 Fabian Deutsch 2015-11-17 06:08:52 UTC
(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.

Comment 4 Fabian Deutsch 2015-12-01 07:55:44 UTC
It is already supported using the --make-pxe-boot switch