Add makefile target to download README text file for ISO images

pull/21/head
Robin Schneider 7 years ago
parent 61cdddaa9a
commit ec0383fdbe
No known key found for this signature in database
GPG Key ID: A81E8006DC95EFE6

1
.gitignore vendored

@ -2,6 +2,7 @@
# ignore the files that we do not have clear permission to distribute
*.iso
*.iso.orig
*.iso.orig.txt
*.img
*.img.orig
*.img.enc

@ -36,9 +36,9 @@ clean:
*.img.enc.orig *.img.orig *.bat \
*.img
# Also remove the large downloaded iso images
# Also remove large iso images and readme files, both downloaded from remote servers.
really_clean: clean
rm -f *.iso.orig
rm -f *.iso.orig *.iso.orig.txt
# manually managed list of laptops - update this if the BIOS versions change
@ -179,6 +179,12 @@ $(DEPSDIR)/slice.insert.deps: Makefile
scripts/checksum --rm_on_fail $@
touch $@
# Download any README text file released alongside to ISO images.
# Useful for looking up firmware versions and the changelog.
# NOTE: Makes an assumption about the Lenovo URL not changing.
%.iso.orig.txt:
wget -O $@ https://download.lenovo.com/pccbbs/mobiles/$(subst .iso.orig,,$@)
# Generate all the orig images so that we can diff against them later
# a the generic binary extractor

Loading…
Cancel
Save