On Wed, Jul 25, 2012 at 6:59 AM, Thomas <alphacc(a)gmail.com> wrote:
- kmod : it works except that the builder need to run the latest
kernel version built within koji. It seems mock always set "kver" to
running kernel version. Can this be changed ? We don't want to reboot
the builder each time there is a new kernel.
A little about RPM Fusion's method:
RPM Fusion BuildRequires a
"buildsys-build-rpmfusion-kerneldevpkgs-current". This program
provides a template to kmodtool.
Their kmodtool also allows for multiple kernels to be defined with
"--kernels", which builds multiple eg. kmod-openafs-*.rpm packages at
once. However, when there is no "--kernels" argument during a build,
(for example, in Plague, or Koji) then
buildsys-build-rpmfusion-kerneldevpkgs-current contains a list of
kernel versions to build against.
buildsys-build-rpmfusion-kerneldevpkgs-current contains a text file
[1] that lists kernel version numbers, and the RPM Fusion devs bump
these numbers every time Fedora releases a new kernel to
updates-testing. After bumping the numbers in the text file, they
rebuild buildsys-build-rpmfusion-kerneldevpkgs-current [2].
[1]
http://cvs.rpmfusion.org/viewvc/rpms/buildsys-build-rpmfusion/F-17/builds...
[2]
http://cvs.rpmfusion.org/viewvc/rpms/buildsys-build-rpmfusion/F-17/builds...