Hello community, here is the log from the commit of package katacontainers for openSUSE:Factory checked in at 2019-08-22 10:52:41 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/katacontainers (Old) and /work/SRC/openSUSE:Factory/.katacontainers.new.22127 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "katacontainers" Thu Aug 22 10:52:41 2019 rev:3 rq:724846 version:1.9.0~alpha0 Changes: -------- --- /work/SRC/openSUSE:Factory/katacontainers/katacontainers.changes 2019-08-09 16:52:30.129481381 +0200 +++ /work/SRC/openSUSE:Factory/.katacontainers.new.22127/katacontainers.changes 2019-08-22 10:52:45.441696786 +0200 @@ -1,0 +2,5 @@ +Thu Aug 8 14:41:31 UTC 2019 - Marco Vedovati <[email protected]> + +- Move dependency on kernel-kvmsmall to the katacontainers-image package. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ katacontainers.spec ++++++ --- /var/tmp/diff_new_pack.w9H43u/_old 2019-08-22 10:52:46.333696666 +0200 +++ /var/tmp/diff_new_pack.w9H43u/_new 2019-08-22 10:52:46.337696666 +0200 @@ -66,11 +66,9 @@ BuildRequires: go = 1.11 %endif Requires: katacontainers-image-initrd = %{version} -Requires: kernel-kvmsmall # Requires: are also required for build, to correctly detect the kernel # version to use BuildRequires: katacontainers-image-initrd = %{version} -BuildRequires: kernel-kvmsmall # Required for build to correctly detect the kernel version to use %ifarch x86_64 Requires: qemu-x86 @@ -188,11 +186,6 @@ %post %service_add_post kata-ksm-throttler.service %service_add_post kata-vc-throttler.service -# Set config to use a matching kernel and initrd version. This is done in %post, -# so that it is using whatever versions the user has installed on its system. -kversion=$(readlink "%{_datarootdir}/kata-containers/kata-containers-initrd.img" | sed -E -e "s,^.*kata-containers-initrd-(.+).img,\1,") -[ -n "${kversion}" ] || { echo "Failed to detect the initrd kernel version"; exit -1; } -ln -sf "/boot/vmlinuz-${kversion}" "%{_datarootdir}/kata-containers/vmlinuz" sed -i -E -e "s,^kernel =.*$,kernel = \"%{_datarootdir}/kata-containers/vmlinuz\"," %{defaultConfigFiles} %preun
