.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
ifndef SOURCES
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
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