On Thu, Jul 26, 2012 at 7:18 AM, Thomas <alphacc(a)gmail.com> wrote:
Thanks for the details I didn't find it in my google quest.
It would be nice to be able to pass mock some parameter with Koji for
specific use cases.
Yeah, I remember thinking the same thing when I was first looking at
building kmods in Koji :) Mock's configuration is very flexible so it
would be possible to hack your builder configurations to do this...
However I don't prefer to do that now for two reasons. The first is
that I ended up having to bump the kernel version numbers in the mock
configs on the Koji builders every time I wanted to rebuild a kmod.
The second reason is that the point of mock is that the build is 100%
reproducible for everyone, everywhere. If my Koji setup uses a secret
mock configuration, then everyone who tries to mock locally must
remember to include my "secret sauce", and it's more complicated in
the long run.
The advantage to using a "kerneldevpkgs" package is that all the
"magic" is legitimate - it's just a package in the buildroot, just
like everything else that could influence the build.
- Ken