[PATCH 3/3 rhel7-branch] atomic: set up atomic specific partitioning defaults

Brian C. Lane bcl at redhat.com
Wed Nov 5 17:54:23 UTC 2014


On Tue, Nov 04, 2014 at 12:52:09PM -0500, Colin Walters wrote:
> On Thu, Oct 23, 2014, at 11:33 AM, Brian C. Lane wrote:
> 
> > Note, it isn't always online, it pulls it from the same place it finds
> > squashfs.img
> 
> So I think what we want then is lorax --with-product=/path/to/my/product.img and then lorax could inject around line 302, just after rb.create_runtime() ?

I came up with a better way, take a look at the patches I posted last
night.

Instead of depending on something being setup on the build host and
having to pass new args to lorax I opted for something that can be
packaged.

Lorax will look for /usr/share/lorax/product/ and will make a
product.img out of the files it finds under there. This way they can be
put in place by a package that is part of the build repo, not as
something that's part of the host.

This also works for updates.img using /usr/share/lorax/updates/

-- 
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)


More information about the anaconda-patches mailing list