updated hash format: 1.0.0rc4
This commit is contained in:
parent
875c5c891f
commit
2d00082279
39
Makefile
39
Makefile
|
@ -29,19 +29,6 @@ all: image fetch build hash
|
|||
.PHONY: build
|
||||
build: build-os build-fw
|
||||
|
||||
.PHONY: verify
|
||||
verify:
|
||||
mkdir -p build/verify/$(VERSION)
|
||||
openssl sha256 $(RELEASE_DIR)/*.rom > build/verify/$(VERSION)/hashes.txt
|
||||
openssl sha256 $(RELEASE_DIR)/*.iso >> build/verify/$(VERSION)/hashes.txt
|
||||
diff -q build/verify/$(VERSION)/hashes.txt $(RELEASE_DIR)/hashes.txt;
|
||||
|
||||
.PHONY: sign
|
||||
sign: $(RELEASE_DIR)/*.rom $(RELEASE_DIR)/*.iso
|
||||
for file in $^; do \
|
||||
gpg --armor --detach-sig "$${file}"; \
|
||||
done
|
||||
|
||||
.PHONY: image
|
||||
image:
|
||||
$(docker) build \
|
||||
|
@ -61,6 +48,7 @@ clean:
|
|||
|
||||
.PHONY: mrproper
|
||||
mrproper:
|
||||
docker image rm -f $(IMAGE)
|
||||
rm -rf build
|
||||
|
||||
.PHONY: build-os
|
||||
|
@ -79,15 +67,36 @@ build-fw:
|
|||
$(RELEASE_DIR)/$${device}.rom ; \
|
||||
done
|
||||
|
||||
## Release Targets
|
||||
|
||||
.PHONY: audit
|
||||
audit:
|
||||
$(contain) audit
|
||||
|
||||
.PHONY: hash
|
||||
hash:
|
||||
if [ ! -f release/$(VERSION)/hashes.txt ]; then \
|
||||
openssl sha256 release/$(VERSION)/*.rom \
|
||||
openssl sha256 -r release/$(VERSION)/*.rom \
|
||||
> release/$(VERSION)/hashes.txt; \
|
||||
openssl sha256 release/$(VERSION)/*.iso \
|
||||
openssl sha256 -r release/$(VERSION)/*.iso \
|
||||
>> release/$(VERSION)/hashes.txt; \
|
||||
fi
|
||||
|
||||
.PHONY: verify
|
||||
verify:
|
||||
mkdir -p build/verify/$(VERSION)
|
||||
openssl sha256 -r $(RELEASE_DIR)/*.rom \
|
||||
> build/stats/$(VERSION)/release_hashes.txt
|
||||
openssl sha256 -r $(RELEASE_DIR)/*.iso \
|
||||
>> build/stats/$(VERSION)/release_hashes.txt
|
||||
diff -q build/stats/$(VERSION)/release_hashes.txt $(RELEASE_DIR)/hashes.txt;
|
||||
|
||||
.PHONY: sign
|
||||
sign: $(RELEASE_DIR)/*.rom $(RELEASE_DIR)/*.iso
|
||||
for file in $^; do \
|
||||
gpg --armor --detach-sig "$${file}"; \
|
||||
done
|
||||
|
||||
|
||||
## Development Targets
|
||||
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
SHA256(release/1.0.0rc4/librem13v4.rom)= 7a1a01c10aa23be3a961c295e791dbd9d7d1db59a5cf599521163ae2fd35a15f
|
||||
SHA256(release/1.0.0rc4/librem15v4.rom)= 85dbfbb107f90ee7a61107551641af92387d0b3a83feb86e3891a522d7d68e3a
|
||||
SHA256(release/1.0.0rc4/airgap_x86_64.iso)= 50aad77752846d4ea48bf0e8c772e494276a4156c7d6a113813c1c8477075c5c
|
||||
7a1a01c10aa23be3a961c295e791dbd9d7d1db59a5cf599521163ae2fd35a15f *release/1.0.0rc4/librem13v4.rom
|
||||
85dbfbb107f90ee7a61107551641af92387d0b3a83feb86e3891a522d7d68e3a *release/1.0.0rc4/librem15v4.rom
|
||||
50aad77752846d4ea48bf0e8c772e494276a4156c7d6a113813c1c8477075c5c *release/1.0.0rc4/airgap_x86_64.iso
|
||||
|
|
Loading…
Reference in New Issue