mkosi: drop os-release symlink for minimal-base image

[  385s] ERROR: link target doesn't exist (neither in build root nor in installed system):
[  385s]   /usr/lib/systemd/tests/mkosi/mkosi.images/minimal-base/mkosi.extra/etc/os-release -> ../usr/lib/os-release

It shouldn't be even needed, everything should look in /usr/lib/os-release too

Follow-up for a0ce5e642f

(cherry picked from commit 5e5f792193)
This commit is contained in:
Luca Boccassi authored and Yu Watanabe committed 2025-06-24 03:49:24 +09:00
1 parent 9f549793ee
commit 3dfd2e1ffb
2 files changed
+5 -1

No files matched your search

@@ -1 +0,0 @@
../usr/lib/os-release
@@ -9,3 +9,8 @@ echo "Hello from dummy init, beautiful day, innit?"
ip link
EOF
chmod +x "$BUILDROOT/sbin/init"
# Arch relies on tmpfiles.d/etc.conf but this image isn't booted
if [ ! -e "$BUILDROOT/etc/os-release" ]; then
ln -s ../usr/lib/os-release "$BUILDROOT/etc/os-release"
fi