X-Git-Url: http://git.plutz.net/?p=blast;a=blobdiff_plain;f=Makefile;h=78b065af0e7d47ed322839070bcde042a99158e1;hp=8caf61890cdf54ef119be15c5c92acc3196a9556;hb=03eac1ec61deb1546f93cfd8ba48635f83a61a94;hpb=036c84e85aff0768e1606d22076492b934d161f4 diff --git a/Makefile b/Makefile index 8caf618..78b065a 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,8 @@ DEFAULT: _target nul_:= -comma_:=, -space_:=${nul_} ${nul_} +comma_:= , +space_:= ${nul_} ${nul_} .PHONY: clean .FORCE .PHONY: _config_raspi _partition_raspi @@ -122,7 +122,7 @@ endif include modules/default.mk ifdef modules -include $(addsuffix .mk, $(addprefix modules/, $(subst ${comma_},${space},${modules}))) +include $(addsuffix .mk, $(addprefix modules/, $(subst ${comma_},${space_},${modules}))) endif ifeq "${ARCH}" "amd64" @@ -178,7 +178,7 @@ ${SYSROOT}/etc/apt/trusted.gpg.d/: ${SYSROOT} cp keys/*.gpg "$@" _install: ${SYSROOT} _aptkeys _norecommends - printf %s "$${SOURCES}" >"$${SYSROOT}/etc/apt/sources.list" + printf '%s\n' "$${SOURCES}" >"$${SYSROOT}/etc/apt/sources.list" -cp /etc/resolv.conf "$${SYSROOT}/etc/" -chroot "$${SYSROOT}" sh -c 'apt-mark showmanual |xargs apt-mark auto' -chroot "$${SYSROOT}" apt-get update @@ -198,7 +198,7 @@ ${CFGROOT}/boot/cmdline.txt: ${CFGROOT} .PHONY: _common_config _config: _common_config -_common_config: ${CFGROOT} cfg_seed/ +_common_config: ${CFGROOT} ln -sf /dev/null "$${CFGROOT}/etc/systemd/network/99-default.link" printf 'LABEL=FSROOT / ext4 auto,nofail,rw 0 0\nLABEL=BOOT /boot vfat auto,nofail,ro 0 0\n' \ >"$${CFGROOT}/etc/fstab"