]> git.plutz.net Git - blast/blobdiff - Makefile
suppress kernel messages spamming console
[blast] / Makefile
index eb822cd416bc1121e54494fed08a98bbb5e20fab..91e66a5e07a52005c05db6c6bfd593f777587361 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -14,7 +14,7 @@ space_:= ${nul_} ${nul_}
 .PHONY: _squash_modules _squash _isosquash _iso_image
 
 ARCH := amd64
-BOOTSTRAP := http://cdn.debian.net/debian
+BOOTSTRAP := http://deb.debian.org/debian
 PACKAGES := ${PACKAGES} apt busybox-static debian-archive-keyring init systemd
 
 # Partition Table (2M) + Boot Partition (126M)+ Root Partition + Slack Space (1M) = 2048M
@@ -41,10 +41,17 @@ KEYRING := keys/debian-archive-${release}-automatic.gpg
 # KEYRING := keys/debian-archive-${release}-security-automatic.gpg
 
 ifndef SOURCES
-define SOURCES := 
-deb    http://cdn.debian.net/debian ${release} main
-deb     http://security.debian.org/ ${release}/updates main
-endef
+  ifneq "$(filter stretch jessie buster, ${release})" ""
+    define SOURCES := 
+    deb        http://deb.debian.org/debian    ${release}      main
+    deb        https://deb.debian.org/debian-security/ ${release}/updates      main
+    endef
+  else
+    define SOURCES := 
+    deb        http://deb.debian.org/debian    ${release}      main
+    deb        https://deb.debian.org/debian-security/ ${release}-security     main
+    endef
+  endif
 endif
 
 ifdef disk
@@ -362,7 +369,7 @@ _grub_efi64: ${CFGROOT}
        grub-mkimage -p / -O x86_64-efi fat part_gpt normal linux all_video >"$${CFGROOT}/boot/EFI/BOOT/BOOTX64.EFI"
 
 ${CFGROOT}/boot/cmdline.txt: ${CFGROOT}
-       printf 'root=/dev/mmcblk0p2 rootfstype=${fstype} fsck.repair=yes rootwait' >"$@"
+       printf 'root=/dev/mmcblk0p2 rootfstype=${fstype} fsck.repair=yes rootwait net.ifnames=0' >"$@"
 
 _bootloader_raspi: ${CFGROOT} ${CFGROOT}/boot/cmdline.txt