On Sat, 27 Jul 2019 11:36:36 +0200
Michal Suchánek
On Fri, 26 Jul 2019 13:55:34 -0500 Larry Finger
wrote: On 7/26/19 1:20 PM, Michal Suchánek wrote:
On Fri, 26 Jul 2019 11:56:47 -0500 Larry Finger
wrote: What is the magic incantation needed for the VirtualBox spec file so that the kernel modules in the virtualbox-host-kmp package will be built when the kernel changes?
I thought this was being done correctly, but situations such as noted in boo#1142995 keep popping up.
There is a magic incantation in kernel-default-base that reportedly works for Factory. For Leap release repos you need to arrange something with Maintenanace because released packages are not rebuilt otherwise. Technically it should not be required for the release repos, either.
Actually, the failure noted above was for Tumbleweed.
In Factory Virtualbox KMPs should already depend on the kernel version they were built against and become uninstallable when the kernel changes. However, it is not OBS itself checking this rebuild condition. There is a bot somewhere which checks this and rebuilds the packages from time to time. Apparently you can get broken packages released or completely broken Factory due to bad timing. Having a snapshot always checked for uninstallable packages before it is released should be doable, though.
And it is done but Virtualbox has been the single KMP that does not have the dependency that triggers the rebuild. This looks like a bug in Virtualbox itself. There are KMP macros provided by kernel that add dependency on kernel version in Factory/TW and kernel symbols on Leap. AFAIK this works for most other KMPs. Please use the macros to generate the proper dependencies or report an issue if the macros don't work for you. Thanks Michal -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org