]> git.plutz.net Git - blast/commitdiff
prevent abort when not installing systemd
authorPaul Hänsch <paul@plutz.net>
Sat, 18 May 2024 11:54:42 +0000 (13:54 +0200)
committerPaul Hänsch <paul@plutz.net>
Sat, 18 May 2024 11:54:42 +0000 (13:54 +0200)
Makefile

index 7af8ad80fa0830c55c85d70e4c24b8540a41eec2..b0610ecce3d6e5ae691a6d7b76c11b664cac4233 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -263,7 +263,7 @@ _copy: ${SYSROOT} ${CFGROOT}
        cp -au "$${SYSROOT}/." "$${CFGROOT}/"
 
 _config: ${CFGROOT}
-       ln -sf /dev/null "$${CFGROOT}/etc/systemd/network/99-default.link"
+       -ln -sf /dev/null "$${CFGROOT}/etc/systemd/network/99-default.link"
        printf '\nsession       optional        pam_mkhomedir.so umask=0027\n' >>"$${CFGROOT}/etc/pam.d/common-session"
        printf 'LABEL=FSROOT / ${fstype} auto,nofail,rw 0 0\nLABEL=BOOT /boot vfat auto,nofail,ro 0 0\n' \
                >"$${CFGROOT}/etc/fstab"