From: Paul Hänsch Date: Thu, 2 Feb 2023 00:40:28 +0000 (+0000) Subject: force release when installing, force rebuild of squash file X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=1d80821d1849e49ca2590db66c94605f2bfa2d8c;p=blast force release when installing, force rebuild of squash file --- diff --git a/Makefile b/Makefile index 91e66a5..51ef4b5 100644 --- a/Makefile +++ b/Makefile @@ -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