summaryrefslogtreecommitdiff
path: root/src/kernel-install
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2023-04-14 18:45:24 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2023-05-05 18:42:37 +0200
commit3f80c1393e489b829201152a056b5195a08eb734 (patch)
treedc6d22311401cfb94b1a0bc6c229bc01241c5747 /src/kernel-install
parentf9a6cb0e138ddeeebe767b2632a35fa933e53c5f (diff)
downloadsystemd-3f80c1393e489b829201152a056b5195a08eb734.tar.gz
test/60-ukify: override stub location in tests
Without this, build would fail if the stub is not available in /usr/lib/.
Diffstat (limited to 'src/kernel-install')
-rwxr-xr-xsrc/kernel-install/test-kernel-install.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/kernel-install/test-kernel-install.sh b/src/kernel-install/test-kernel-install.sh
index c9d73ff8e3..4be8771359 100755
--- a/src/kernel-install/test-kernel-install.sh
+++ b/src/kernel-install/test-kernel-install.sh
@@ -11,6 +11,7 @@ loaderentry_install="${2:?}"
uki_copy_install="${3:?}"
ukify="${4:-}"
ukify_install="${5:-}"
+boot_stub="${6:-}"
if [[ -d "${PROJECT_BUILD_ROOT:-}" ]]; then
bootctl="${PROJECT_BUILD_ROOT}/bootctl"
else
@@ -45,6 +46,7 @@ export BOOT_ROOT="$D/boot"
export BOOT_MNT="$D/boot"
export MACHINE_ID='3e0484f3634a418b8e6a39e8828b03e3'
export KERNEL_INSTALL_UKIFY="$ukify"
+export KERNEL_INSTALL_BOOT_STUB="$boot_stub"
# Test type#1 installation
"$kernel_install" -v add 1.1.1 "$D/sources/linux" "$D/sources/initrd"