From: Paul Hänsch Date: Sat, 18 May 2024 11:54:42 +0000 (+0200) Subject: prevent abort when not installing systemd X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=40e2f639281fbda5cdb989a2a1d6179f6187e752;p=blast prevent abort when not installing systemd --- diff --git a/Makefile b/Makefile index 7af8ad8..b0610ec 100644 --- 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"