summaryrefslogtreecommitdiffstats
path: root/src/kernel-install
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2023-11-07 15:58:32 +0100
committerLennart Poettering <lennart@poettering.net>2023-11-07 16:08:06 +0100
commit8353229e10f916fd2f54a88eef0ef6e16955d0ac (patch)
treef306cacf22592cc4f3f259ab56a43ba9583260e0 /src/kernel-install
parentupdate TODO (diff)
downloadsystemd-8353229e10f916fd2f54a88eef0ef6e16955d0ac.tar.xz
systemd-8353229e10f916fd2f54a88eef0ef6e16955d0ac.zip
update CI
Diffstat (limited to 'src/kernel-install')
-rwxr-xr-xsrc/kernel-install/test-kernel-install.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel-install/test-kernel-install.sh b/src/kernel-install/test-kernel-install.sh
index 931fae5372..db412ec524 100755
--- a/src/kernel-install/test-kernel-install.sh
+++ b/src/kernel-install/test-kernel-install.sh
@@ -71,7 +71,7 @@ grep -qE 'image' "$BOOT_ROOT/the-token/1.1.1/linux"
grep -qE 'initrd' "$BOOT_ROOT/the-token/1.1.1/initrd"
grep -qE 'DTBDTB' "$BOOT_ROOT/the-token/1.1.1/whatever.dtb"
-"$kernel_install" inspect
+test -f /usr/lib/modules/"$(uname -r)"/vmlinuz && "$kernel_install" inspect
"$kernel_install" inspect "$D/sources/linux"
"$kernel_install" -v remove 1.1.1