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:
Diederik de Haas 2021-02-19 12:53:22 +01:00
parent e48b1980a1
commit 4205fd427f
1 changed files with 1 additions and 1 deletions

View File

@ -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) > $@