mirror of
https://github.com/systemd/systemd.git
synced 2026-11-06 21:36:59 +00: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 fora0ce5e642f(cherry picked from commit5e5f792193)
This commit is contained in:
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
|
||||
Reference in new issue
Block a user