aboutsummaryrefslogtreecommitdiff
path: root/resources/utilities/coreboot-libre/findblobs
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2016-01-05 03:34:22 +0000
committerFrancis Rowe <info@gluglug.org.uk>2016-01-05 04:36:20 +0000
commit6d54891f12424dd04274d26683d88e68411a16d5 (patch)
tree744eb3bcf9ab0d75b2d29c55c4c880dfd06676b5 /resources/utilities/coreboot-libre/findblobs
parent2f3959533b2bfb9f2524066f5e4f765977ce11ae (diff)
downloadlibrebootfr-6d54891f12424dd04274d26683d88e68411a16d5.tar.gz
librebootfr-6d54891f12424dd04274d26683d88e68411a16d5.zip
Gigabyte GA-G41M-ES2L (desktop board) added to libreboot
Diffstat (limited to 'resources/utilities/coreboot-libre/findblobs')
-rwxr-xr-xresources/utilities/coreboot-libre/findblobs27
1 files changed, 6 insertions, 21 deletions
diff --git a/resources/utilities/coreboot-libre/findblobs b/resources/utilities/coreboot-libre/findblobs
index a2ec026e..9ce7dfa4 100755
--- a/resources/utilities/coreboot-libre/findblobs
+++ b/resources/utilities/coreboot-libre/findblobs
@@ -21,9 +21,6 @@
[ "x${DEBUG+set}" = 'xset' ] && set -v
set -e -u
-printf "coreboot-libre findblobs: TODO: re-write this for the new scheme (multiple coreboot/vboot revisions per board)\n"
-exit 1
-
# This is used when updating the version of
# coreboot that libreboot uses, to know what
# new blobs have landed in coreboot
@@ -33,29 +30,17 @@ exit 1
# this will have to do.
printf "Searching for blobs in coreboot\n"
-cp "deblob-check" "../../../coreboot"
-cd "../../../coreboot/"
+cp "deblob-check" "../../../coreboot/coreboot/"
+cd "../../../coreboot/coreboot/"
chmod +x "deblob-check"
-find -type f | xargs ./deblob-check > "blobs"
+find -type f | xargs ./deblob-check > "tocheck"
rm -f "deblob-check"
-rm -f "tocheck"
-touch "tocheck"
-
-for file in $(cat blobs)
-do
- if ! grep -Fxq "${file}" "../resources/utilities/coreboot-libre/nonblobs"
- then
- printf "%s\n" "${file}" >> tocheck
- fi
-done
-rm -f "blobs"
-
-rm -f "../resources/utilities/coreboot-libre/tocheck"
-mv "tocheck" "../resources/utilities/coreboot-libre/"
+rm -f "../../resources/utilities/coreboot-libre/tocheck"
+mv "tocheck" "../../resources/utilities/coreboot-libre/"
-cd "../resources/utilities/coreboot-libre/"
+cd "../../resources/utilities/coreboot-libre/"
printf "Done! open resources/utilities/coreboot-libre/tocheck in an editor\n"
printf "This will contain the names of the files that you must decide whether they are blobs or not\n\n"