Remove gcc, gcc-c++ and make from minimal build root

Dennis Gilmore dennis at ausil.us
Wed Jan 14 15:00:20 UTC 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, 14 Jan 2015 14:57:59 +0100
Miroslav Suchý <msuchy at redhat.com> wrote:

> On 01/13/2015 06:01 PM, Dennis Gilmore wrote:
> > that all being said. koji doesn't use any caching and will not use
> > the lvm plugin. we make every buildroot from scratch using a fully
> > clean environment to help with ensuring reproducability.
> 
> You can cache and still preserve reproducability. What I'm planning
> for Copr is to do (every week/month) for chroot in fedora-20-x86_64
> fedora-21_86_64 ... ; do mock --init $chroot
>   done
> take snapshot of that. I plan to do that on VM level.
> And when new task come, I will just restore from that snapshot. And
> mock will start with already populated cache. So I will have better
> caching and yet reproducability.

you really can't.  you would need to make a new cache any time one of
the packages in the minimal buildroot changes. while it may not be
intentional you can get differences in setup and behaviour due to
scriptlets doing different things on update and initial install. to get
reproducability you would need to start with the same packages set and
get the same updates. it really is not simple to do nor to track. which
is why we purposely disable all caching.

Dennis
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBAgAGBQJUtoSFAAoJEH7ltONmPFDR4ssP/RF2a1sQ1h+M7bU6A455311X
Q1JH7h6gcBLiYlcDfDURB2EoeQTqTkyqNgXRjNIZQc9B74/DprH2Tqipz/E3dvt2
i9oRL7yyO7uzaj+Epyg0Pa1ktCz4eEqvuTdUokgQtbwtK4nkgj7O5G9ui48vCbE2
bqsLzcavQqHb/UHT1yqBiEQaTptu07u8/KFRWwTI2HNAS8naQ+07/e26OkGT+NDZ
QT2nnVPPOAd21wps5Bi2r33CZzQHwQRnUd+XcXn0hARWy+9A06T4/4x0/N8C60Rf
NgDF0RyJouIilw4Y0YGijBPMY5aQ88YljVYm5UG8foGxi2romvW0DmpNumlB+1S+
gHS27G3EgY8zdlvZcIOlOR6TLRpfFBmGEMz9JrvNNoDaKEqBlBxt55AOBRw16oFQ
Oq9jdYMq1hlIjz58812yd/Qoc0RqreMU5UVX8NxLw0GLKUeDMTWyCU+jmqKWiWnC
99DiUOTjwncZL55wjXEgFAztL9XxcsJcFuzz3WJR84RI4OUNZbpyFlJ8u1/a5iaL
JYx1j6MrkVMBjtz3W8jOQ4218feB/kiGNbm37hH+GHTeuFPTIUu/dv/eE0LSMT0T
LFLSqe6toEZrlapIEmYEuHNpLnOPg1Y/0+mAEj6PEwVKWyXKDms53rICKq3y9dw2
2fhJJ4duyZKIYSfWA8KJ
=jxfx
-----END PGP SIGNATURE-----


More information about the devel mailing list