diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2014-01-24 02:17:56 +0100 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2015-06-07 04:27:59 +0200 |
commit | a6a742628b560f9d5097008940547391831762c0 (patch) | |
tree | 1911d5099c957bc32b9c02f09a2a8c36aef2b9cb /Makefile | |
parent | 5b655fc0a3bc5e035472326a5d8d827c62d3eb90 (diff) |
Enable generation of HDD images.
This is only useful for older BIOSes, that don't support hybrid ISO
which can otherwise be burnt onto USB key as well.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -3,18 +3,22 @@ CC += -m$(shell dpkg-architecture -qDEB_HOST_ARCH_BITS $(patsubst %,-a%, ${ARCH} DEB_ARCH = $(shell dpkg-architecture -qDEB_HOST_ARCH $(patsubst %,-a%, ${ARCH})) VERSION = 7.3.0 +IMAGE_TYPE ?= iso ISOIMG = debian-${VERSION}-${DEB_ARCH}-netinst.iso -PRESEEDED = $(patsubst %.iso,%-preseeded.iso, ${ISOIMG}) +PRESEEDED = $(patsubst %.iso,%-preseeded.${IMAGE_TYPE}, ${ISOIMG}) UDEBS = $(shell ./src/getname.sh) CHECKSUMS = MD5 SHA1 SHA256 SHA512 # Preseed -iso-preseed: +preseed: make dist/${DEB_ARCH}/${PRESEEDED} dist/${DEB_ARCH}/${PRESEEDED}: preseed.cfg $(wildcard ./include/*) dist/${DEB_ARCH}/${ISOIMG} ${UDEBS} ./preseed.sh $@ dist/${DEB_ARCH}/${ISOIMG} ${UDEBS} +sig: dist/${DEB_ARCH}/${PRESEEDED} + gpg --detach-sign $^ + # Get, verify iso-get: dist/${DEB_ARCH}/${ISOIMG} iso-checksum: $(patsubst %,iso-checksum-%, ${CHECKSUMS}) @@ -43,4 +47,4 @@ clean: @for d in src/*-udeb/; do rm -fv $${d%-udeb/}_*.build $${d%-udeb/}_*.changes $${d%-udeb/}_*.udeb; cd $$d && dh_clean && cd -; done @rm -fv $(patsubst %,dist/${DEB_ARCH}/%SUMS, ${CHECKSUMS}) $(patsubst %,dist/${DEB_ARCH}/%SUMS.sign, ${CHECKSUMS}) -.PHONY: clean cleanall iso-get iso-checksum iso-preseed udebs +.PHONY: clean cleanall iso-get iso-checksum preseed udebs |