Ensure we have an original file left around to diff against later

update
Hamish Coleman 8 years ago
parent 5e88282a7b
commit 8f48e1c9c8

@ -18,12 +18,19 @@ install.radare.projects:
sha1sum -c $<
touch $@
#
# Generate orig images so that we can diff against them later
# If we have an extractor for this image, use it
%.img: %.extract %.img.sha1
%.img.orig: %.extract %.img.orig.sha1
./$< $@
sha1sum -c $@.sha1
# Generate a working file that we can patch
%.img: %.img.orig
cp $< $@
# keep intermediate files
.SECONDARY:
mec-tools/Makefile:
git submodule update --init --remote

@ -0,0 +1 @@
d3c3db9352f8e3b5decc69abe08e725958f2284f x220.8DHT34WW.img.orig

@ -1 +0,0 @@
d3c3db9352f8e3b5decc69abe08e725958f2284f x220.8DHT34WW.img

@ -12,7 +12,7 @@ if [ -z "$OUTPUT" ]; then
exit 1
fi
OUT1="${OUTPUT}.encrypted.orig"
OUT1="${OUTPUT}.encrypted"
dd if=g2uj23us.iso bs=$[0x01076600] skip=1 | dd bs=196608 count=1 of="$OUT1"

@ -0,0 +1 @@
d70f5434ef316a66a6195651d9e231e84a2464a1 x230.G2HT35WW.img.orig

@ -1 +0,0 @@
d70f5434ef316a66a6195651d9e231e84a2464a1 x230.G2HT35WW.img
Loading…
Cancel
Save