mkosi: several cleanups (#38924)

This commit is contained in:
Daan De Meyer
2025-09-17 21:52:16 +02:00
committed by GitHub
3 changed files with 3 additions and 1 deletions

View File

@@ -111,7 +111,6 @@ Packages=
llvm
lsof
lvm2
man
mdadm
mtools
nano

View File

@@ -59,6 +59,7 @@ Packages=
libapparmor1
libcap-progs
libtss2-tcti-device0
man
multipath-tools
ncat
open-iscsi

View File

@@ -3,6 +3,8 @@ 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.
mkdir -p "$BUILDROOT/sbin"
rm -f "$BUILDROOT/sbin/init"
cat >"$BUILDROOT/sbin/init" <<EOF
#!/bin/bash
echo "Hello from dummy init, beautiful day, innit?"