Makefile: new target: checksumps

Creates a sha256 checksum file in the $(IMAGES) directory.
This commit is contained in:
Albert Hopkins 2015-03-16 02:08:25 +00:00
parent 4a7010a5ee
commit cff474da63
1 changed files with 5 additions and 0 deletions

View File

@ -336,6 +336,11 @@ appliance-list:
@scripts/echo 'Available appliances:' @scripts/echo 'Available appliances:'
@/bin/ls -1 appliances @/bin/ls -1 appliances
checksums:
cd $(IMAGES) ; sha256sum * |grep -vE '\.lst$$|\.tmp$$|\*.text$$' > sha256sums.txt.tmp
mv $(IMAGES)/sha256sums.txt.tmp $(IMAGES)/sha256sums.txt
help: help:
@scripts/echo 'Help targets (this is not a comprehensive list)' @scripts/echo 'Help targets (this is not a comprehensive list)'
@echo @echo