]> git.plutz.net Git - blast/commitdiff
added buster release key, select release key for debootstrap, stubs for isohybrid...
authorPaul Hänsch <paul@plutz.net>
Thu, 12 Sep 2019 06:55:37 +0000 (08:55 +0200)
committerPaul Hänsch <paul@plutz.net>
Thu, 12 Sep 2019 06:55:37 +0000 (08:55 +0200)
Makefile
keys/debian-archive-buster-stable.gpg [new file with mode: 0644]

index d6382ece648721355eb0270ccb115c8f805e7193..d3df8948676fddd954501536501c938c105710b6 100644 (file)
--- 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
diff --git a/keys/debian-archive-buster-stable.gpg b/keys/debian-archive-buster-stable.gpg
new file mode 100644 (file)
index 0000000..7dbe646
Binary files /dev/null and b/keys/debian-archive-buster-stable.gpg differ