[PATCH] installclass: Look for product.img in /run/product, not /tmp

Colin Walters walters at verbum.org
Tue Dec 2 19:12:26 UTC 2014


On Tue, Dec 2, 2014, at 08:22 AM, Radek Vykydal wrote:
> I looked at the code (in F21) and played with it and I think that for 
> product.img:
> 
> - pixmaps and stuff should be placed relative to root of the image,
> - pyanaconda updates (eg installclasses) should be placed in
>    /run/install/product (eg 
> /run/install/product/pyanaconda/installclasses/atomic.py

You're right, it works with
https://github.com/projectatomic/fedora-productimg-atomic/commit/76c8516bfb5fef86e5c414426a95c136aa4339b7

> This way, /run/install/product will get symlinked to /tmp/product 
> (anaconda:setupPythonUpdates())

Yeah...though:

    # Temporary hack for F18 alpha to symlink updates and product directories
    # into tmpfs.  To be removed after beta in order to directly use content
    # from /run/install/ -- JLK

> Or am I behind working with F21?

This was a combination of:
1) Me being confused with /run/product versus /run/install/product
2) Me not finding the "Temporary hack" above that handled the /tmp symlinks (I was only reading the code in anaconda-lib.sh)

So I withdraw this patch, thanks for the review!

(I'll leave it to someone else to look at draining the swamp for the "Temporary hack" above at some future date)


More information about the anaconda-patches mailing list