From 40e2f639281fbda5cdb989a2a1d6179f6187e752 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Paul=20H=C3=A4nsch?= Date: Sat, 18 May 2024 13:54:42 +0200 Subject: [PATCH] prevent abort when not installing systemd --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- 2.39.2