X-Git-Url: https://git.plutz.net/?a=blobdiff_plain;f=Makefile;h=91e66a5e07a52005c05db6c6bfd593f777587361;hb=88d37d0badc90c2185205353edc541c89975b3b8;hp=e11557ba4d019671f3da77ef9f3107556c6855a5;hpb=d9edc4837d8f4599afd5ca55e4e328ff710c5113;p=blast diff --git a/Makefile b/Makefile index e11557b..91e66a5 100644 --- 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,14 +41,14 @@ KEYRING := keys/debian-archive-${release}-automatic.gpg # KEYRING := keys/debian-archive-${release}-security-automatic.gpg ifndef SOURCES - ifdef $(filter stretch jessie buster, ${release}) + ifneq "$(filter stretch jessie buster, ${release})" "" define SOURCES := - deb http://cdn.debian.net/debian ${release} main + deb http://deb.debian.org/debian ${release} main deb https://deb.debian.org/debian-security/ ${release}/updates main endef else define SOURCES := - deb http://cdn.debian.net/debian ${release} main + deb http://deb.debian.org/debian ${release} main deb https://deb.debian.org/debian-security/ ${release}-security main endef endif @@ -369,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