summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDiederik de Haas <didi.debian@cknow.org>2021-02-19 12:53:22 +0100
committerDiederik de Haas <didi.debian@cknow.org>2021-02-19 12:58:33 +0100
commit4205fd427f3f9dc4348eaeaa14e32a623f1f29a8 (patch)
treeeffad068d68679d64c34582d0f41784e1aaa5574 /Makefile
parente48b1980a169591c697378373b0f6b6c106bb235 (diff)
Change base of sha256 target to .img as checksum is based on that.
It now xz compresses the image and then still calculates the sha256 hash on the non-compressed file. The xz.sha256 target (already) compresses it and calculates the hash on the xz file. Signed-off-by: Diederik de Haas <didi.debian@cknow.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index c28058c..93d1c29 100644
--- a/Makefile
+++ b/Makefile
@@ -99,7 +99,7 @@ raspi_4_bullseye.yaml: raspi_base_bullseye.yaml
sed "s/__SERIAL_CONSOLE__/ttyS1,115200/" |\
sed "s/__HOST__/rpi_4/" > $@
-%.sha256: %.img.xz
+%.sha256: %.img
echo $@
sha256sum $(@:sha256=img) > $@