#4 Teach CI test code to get by without kernel.rpm
Closed 9 months ago by vkadlcik. Opened 9 months ago by vkadlcik.
Unknown source master  into  master

@@ -46,8 +46,12 @@

  PACKAGES="${PACKAGES:-$PACKAGE}"

  

  # Kernel package - usualy "kernel", but some trees may use different package

- # name (e.g. kernel-PAE).

+ # name (e.g. kernel-PAE). In some lean installs (like those in Fedora CI),

+ # kernel.rpm  isn't necessarily present - but kernel-core.rpm is.

  KERNEL="${KERNEL:-kernel}"

+ if ! rpm -q "$KERNEL" &>/dev/null; then

+     KERNEL="${KERNEL}-core"

+ fi

  

  REQUIRES="${REQUIRES:-$KERNEL $GCC_PACKAGE glibc}"

  RPM_BUILD_ID="${RPM_BUILD_ID:-.LimeKitten}"

Let's fix CI. The CI test boxes are leaner than my expectation was, this commit should handle that. Sorry for not getting it right away...
Thanks

Pull-Request has been closed by vkadlcik

9 months ago