diff --git a/test/test-functions b/test/test-functions index 80fdcd26b9..ce7e03d745 100644 --- a/test/test-functions +++ b/test/test-functions @@ -1378,10 +1378,14 @@ install_rpm() { install_suse_systemd() { local pkgs + dinfo "Install basic filesystem structure" + install_rpm filesystem + dinfo "Install SUSE systemd" pkgs=( systemd + systemd-boot systemd-container systemd-coredump systemd-experimental diff --git a/test/units/testsuite-74.bootctl.sh b/test/units/testsuite-74.bootctl.sh index 61373b506e..4be7bfd0b8 100755 --- a/test/units/testsuite-74.bootctl.sh +++ b/test/units/testsuite-74.bootctl.sh @@ -13,6 +13,11 @@ if ! command -v bootctl >/dev/null; then exit 0 fi +if [[ ! -d /usr/lib/systemd/boot/efi ]]; then + echo "sd-boot is not installed, skipping." + exit 0 +fi + # shellcheck source=test/units/util.sh . "$(dirname "$0")"/util.sh