From: Yu Watanabe Date: Thu, 4 Jun 2026 04:53:47 +0000 (+0900) Subject: TEST-13-NSPAWN: explicitly create usr/lib/systemd directory in the container image X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=a576bc9a27a7f1b1d677718d8e2f31e3a2abd5aa;p=thirdparty%2Fsystemd.git TEST-13-NSPAWN: explicitly create usr/lib/systemd directory in the container image The main systemd package is not installed in the minimal image, hence the directory may not exist. --- diff --git a/test/units/TEST-13-NSPAWN.nspawn.sh b/test/units/TEST-13-NSPAWN.nspawn.sh index a6f5b32f626..50282709285 100755 --- a/test/units/TEST-13-NSPAWN.nspawn.sh +++ b/test/units/TEST-13-NSPAWN.nspawn.sh @@ -1586,6 +1586,7 @@ testcase_boot_param_split() { # Replace the init binary with a stub that records the argv and environment nspawn passes to it, # so we can verify that kernel-cmdline-style KEY=VALUE arguments are split between PID 1's # environment and argv the same way the kernel splits them. + mkdir -p "$root/usr/lib/systemd" cat >"$root/usr/lib/systemd/systemd" <<'EOF' #!/bin/bash set -e