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>
This commit is contained in:
parent
e48b1980a1
commit
4205fd427f
2
Makefile
2
Makefile
|
@ -99,7 +99,7 @@ raspi_4_bullseye.yaml: raspi_base_bullseye.yaml
|
||||||
sed "s/__SERIAL_CONSOLE__/ttyS1,115200/" |\
|
sed "s/__SERIAL_CONSOLE__/ttyS1,115200/" |\
|
||||||
sed "s/__HOST__/rpi_4/" > $@
|
sed "s/__HOST__/rpi_4/" > $@
|
||||||
|
|
||||||
%.sha256: %.img.xz
|
%.sha256: %.img
|
||||||
echo $@
|
echo $@
|
||||||
sha256sum $(@:sha256=img) > $@
|
sha256sum $(@:sha256=img) > $@
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue