Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Dengler <martin@martindengler.com>2009-08-10 14:41:14 (GMT)
committer Martin Dengler <martin@martindengler.com>2009-08-10 14:41:14 (GMT)
commit41622cf0fd2c5cc543c8118249e28215219cf46b (patch)
tree06b34e7614942ebfdca90af4d8b05650d32e3e87
parent57b9450c1be80cd0c6b42117995cb7c9e70a4e4e (diff)
calculate md5 and sha1 sums for all interesting artifacts
-rwxr-xr-xMakefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 11c0cb2..31cd4ae 100755
--- a/Makefile
+++ b/Makefile
@@ -2,6 +2,8 @@
touch $@
%.iso:
livecd-creator --skip-compression --cache=../cache --fslabel $* -c ../soas-xo.ks
+ md5sum $@ > $@.md5sum
+ sha1sum $@ > $@.sha1sum
%.tree: %.iso
../livecd-iso-to-bootable-tree.sh $^ $@
du -sk $@ | cut -f 1 > $@.size.txt
@@ -9,14 +11,20 @@
chroot $@ rpm -qa --queryformat="%10{SIZE}\t%{NAME}\n" | sort -k1,1n > $@.packages-sizes.txt
%.tree.tar.lzma: %.tree
tar -c -C $^ . | lzma -1 > $@
+ md5sum $@ > $@.md5sum
+ sha1sum $@ > $@.sha1sum
%.removable.img: %.tree
../bootable-tree-to-removable-img.sh $^ $@
du -sk $@ | cut -f 1 > $@.size.txt
%.removable.img.tar.lzma: %.removable.img
tar -c $^ | lzma -1 > $@
+ md5sum $@ > $@.md5sum
+ sha1sum $@ > $@.sha1sum
%.img: %.tree
../bootable-tree-to-xo.sh $^ $@
du -sk $@ | cut -f 1 > $@.size.txt
+ md5sum $@ > $@.md5sum
+ sha1sum $@ > $@.sha1sum
%.plc: %.img
../image-digestor.sh $^