Change the way we create checksums
This commit is contained in:
parent
91b5e962ec
commit
2f9b52e3c5
10
Makefile
10
Makefile
|
@ -11,7 +11,7 @@ QCOW_IMAGE = $(IMAGES)/$(APPLIANCE).qcow
|
||||||
VMDK_IMAGE = $(IMAGES)/$(APPLIANCE).vmdk
|
VMDK_IMAGE = $(IMAGES)/$(APPLIANCE).vmdk
|
||||||
XVA_IMAGE = $(IMAGES)/$(APPLIANCE).xva
|
XVA_IMAGE = $(IMAGES)/$(APPLIANCE).xva
|
||||||
LST_FILE = $(IMAGES)/$(APPLIANCE)-packages.lst
|
LST_FILE = $(IMAGES)/$(APPLIANCE)-packages.lst
|
||||||
CHECKSUMS = $(IMAGES)/$(APPLIANCE)-sha256sums.txt
|
CHECKSUMS = $(IMAGES)/SHA256SUMS
|
||||||
STAGE3 = $(CHROOT)/tmp/stage3
|
STAGE3 = $(CHROOT)/tmp/stage3
|
||||||
COMPILE_OPTIONS = $(CHROOT)/tmp/compile_options
|
COMPILE_OPTIONS = $(CHROOT)/tmp/compile_options
|
||||||
SOFTWARE = $(CHROOT)/tmp/software
|
SOFTWARE = $(CHROOT)/tmp/software
|
||||||
|
@ -346,12 +346,8 @@ appliance-list:
|
||||||
|
|
||||||
|
|
||||||
checksums:
|
checksums:
|
||||||
$(RM) $(CHECKSUMS).tmp
|
$(RM) $(CHECKSUMS)
|
||||||
-cd $(IMAGES) && sha256sum `basename $(STAGE4_TARBALL)` \
|
cd $(IMAGES) && sha256sum --binary * > $(CHECKSUMS).tmp
|
||||||
`basename $(RAW_IMAGE)` \
|
|
||||||
`basename $(QCOW_IMAGE)` \
|
|
||||||
`basename $(VMDK_IMAGE)` \
|
|
||||||
`basename $(XVA_IMAGE)` > $(CHECKSUMS).tmp
|
|
||||||
mv $(CHECKSUMS).tmp $(CHECKSUMS)
|
mv $(CHECKSUMS).tmp $(CHECKSUMS)
|
||||||
|
|
||||||
help:
|
help:
|
||||||
|
|
Loading…
Reference in New Issue