X-Git-Url: https://git.plutz.net/?a=blobdiff_plain;f=Makefile;h=51ef4b580f7c9c1eaa22d8002c675e6a3a4046ac;hb=5b40b48b1ce9280e3df230a186fb050784506c73;hp=fe331bb74ac9709d235057d0b27fe5baa1448ec9;hpb=495464ce5bd7118fe73902b6ca9be1de0a3783e0;p=blast diff --git a/Makefile b/Makefile index fe331bb..51ef4b5 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 @@ -43,12 +43,12 @@ KEYRING := keys/debian-archive-${release}-automatic.gpg 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 @@ -255,7 +255,7 @@ _install: ${SYSROOT} _aptkeys _norecommends -chroot "$${SYSROOT}" apt-get update chroot "$${SYSROOT}" ln -sf /bin/true /usr/local/sbin/invoke-rc.d chroot "$${SYSROOT}" ln -sf /bin/true /usr/sbin/udevadm - chroot "$${SYSROOT}" apt-get --yes install ${PACKAGES} + chroot "$${SYSROOT}" apt-get --yes -t "${release}" install ${PACKAGES} mkdir -p -m 755 "$${SYSROOT}/var/lib/deborphan/" chroot "$${SYSROOT}" sh -c 'printf "%s\\n" ${PACKAGES} >/var/lib/deborphan/keep' -chroot "$${SYSROOT}" sh -c 'apt-get --yes purge $$(deborphan -an |sed "s;^.* ;;g")' @@ -276,7 +276,7 @@ _config: ${CFGROOT} >"$${CFGROOT}/etc/fstab" chroot "$${CFGROOT}" update-initramfs -u -${SQUASH}: ${CFGROOT} +${SQUASH}: ${CFGROOT} .FORCE -rm "$${SQUASH}" mksquashfs "$${CFGROOT}" "$${SQUASH}" -comp xz