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

Radek Vykydal rvykydal at redhat.com
Tue Dec 2 13:22:14 UTC 2014

I looked at the code (in F21) and played with it and I think that for 

- pixmaps and stuff should be placed relative to root of the image,
- pyanaconda updates (eg installclasses) should be placed in
   /run/install/product (eg 

This way, /run/install/product will get symlinked to /tmp/product 
and it should be then found in /tmp/product/pyanaconda/installclasses by 
the code you were patching.

Or am I behind working with F21?

On 12/01/2014 03:31 PM, Colin Walters wrote:
> On Mon, Dec 1, 2014, at 09:07 AM, Radek Vykydal wrote:
>> shouldn't it be /run/install/product ?
> Probably, but...
> $ git grep '/tmp/product'
> old_tests/pyanaconda_test/product_test.py:        # fake /tmp/product/.buildstamp file
> old_tests/pyanaconda_test/product_test.py:        self.FILENAME = '/tmp/product/.buildstamp'
> pyanaconda/packaging/dnfpayload.py:             '/tmp/product/anaconda.repos.d']
> pyanaconda/packaging/yumpayload.py:        self._repos_dir = "/etc/yum.repos.d,/etc/anaconda.repos.d,/tmp/updates/anaconda.repos.d,/tmp/product/anaconda.repos.d"
> pyanaconda/product.py:config.read(["/tmp/product/.buildstamp", "/.buildstamp", os.environ.get("PRODBUILDPATH", "")])
> pyanaconda/ui/gui/hubs/progress.py:                 "/tmp/product/pixmaps/rnotes/",
> $
> Should I do a patch which changes all of these?
> _______________________________________________
> anaconda-patches mailing list
> anaconda-patches at lists.fedorahosted.org
> https://lists.fedorahosted.org/mailman/listinfo/anaconda-patches

More information about the anaconda-patches mailing list