[Fedora-livecd-list] [PATCH] add --global-config

Alan Pevec apevec at redhat.com
Thu Oct 30 11:35:16 UTC 2008


Jeremy Katz wrote:
> On Wed, 2008-10-29 at 22:49 +0100, Alan Pevec wrote:
>> to use default YUM config i.e. /etc/yum.conf
>> With this option you don't have to supply repo kickstart commands.
> 
> This makes it so that your images aren't reproducible without knowing
> what was installed on the system which was building the images.  This
> circumvents one of the single biggest things about livecd-tools --
> reproducibility 

Just knowing repo URLs doesn't help reproducibility - repo content can change.
--global-config was added for experiments running livecd-creator in mock/koji/brew
Mock adds repos from its config to /etc/yum.conf in the buildroot, and this, combined with exact koji repo ID, gets us real reproducibility.
 
>> Also add --cacheonly option to run entirely from YUM cache.
> 
> This could be okay, although what's the use case?  Also, one patch per
> suggested change please.

Right, I'll do that. It should work like yum -C, the target use-case is to re-use mock yum_cache, where all packages from kickstart are pulled in by mock as BRs. See work-in-progress spec files, min-builder prepares buildroot and min is RPM wrapper for livecd ISO.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: min-builder.spec
URL: <http://listman.redhat.com/archives/fedora-livecd-list/attachments/20081030/4f9d0704/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: min.spec
URL: <http://listman.redhat.com/archives/fedora-livecd-list/attachments/20081030/4f9d0704/attachment-0001.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: min.ks
URL: <http://listman.redhat.com/archives/fedora-livecd-list/attachments/20081030/4f9d0704/attachment-0002.ksh>


More information about the Fedora-livecd-list mailing list