X-Git-Url: http://git.plutz.net/?p=blast;a=blobdiff_plain;f=Makefile;h=d3df8948676fddd954501536501c938c105710b6;hp=d6382ece648721355eb0270ccb115c8f805e7193;hb=5fe346a2c4f9e18587f028a7cd81f6ca30e0ae2d;hpb=67ebbcc02dd81d8c4b0dba55b1d8790ea786b261 diff --git a/Makefile b/Makefile index d6382ec..d3df894 100644 --- a/Makefile +++ b/Makefile @@ -11,7 +11,6 @@ space_:= ${nul_} ${nul_} .PHONY: _format _mount _sparse _umount _partcopy _mbr ARCH := amd64 -KEYRING := keys/debian-archive-stretch-stable.gpg BOOTSTRAP := http://cdn.debian.net/debian PACKAGES := ${PACKAGES} apt busybox-static debian-archive-keyring init systemd @@ -28,8 +27,11 @@ else include ${config} endif -ifndef release +ifdef release + KEYRING := keys/debian-archive-${release}-stable.gpg +else release := stretch + KEYRING := keys/debian-archive-stretch-stable.gpg endif define SOURCES := @@ -94,6 +96,23 @@ else ifdef squash _config: _copy _squash_modules _squash: _config +else ifdef iso + ISO := iso + SQUASH := rootfs.squash + SYSROOT := sys_root_${release}/ + CFGROOT := cfg_root/ + + PACKAGES += squashfs-tools + + _target: _isohybrid _install _config + + _bootstrap: + _install: _bootstrap + _copy: _install + _config: _copy _squash_modules + _squash: _config + _isohybrid: _squash + else ifdef raspi VOLUME := ${raspi} PBOOT := rpi_boot.img