mirror of
https://github.com/systemd/systemd.git
synced 2024-11-30 13:53:39 +08:00
695ebbaf7f
Required for TEST-13-NSPAWN.
12 lines
294 B
Bash
Executable File
12 lines
294 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
# We don't use mkosi.extra because /usr/sbin could be a symlink and cp doesn't handle that properly until
|
|
# coreutils 9.5 or newer.
|
|
cat >"$BUILDROOT/sbin/init" <<EOF
|
|
#!/bin/bash
|
|
echo "Hello from dummy init, beautiful day, innit?"
|
|
ip link
|
|
EOF
|
|
chmod +x "$BUILDROOT/sbin/init"
|