[ 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
a0ce5e642ff4fcfcd7da25a585bfbd83b5737235
+++ /dev/null
-../usr/lib/os-release
\ No newline at end of file
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