mirror of
https://github.com/morgan9e/systemd
synced 2026-04-15 08:56:15 +09:00
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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user