summaryrefslogtreecommitdiffstats
path: root/resources/utilities/coreboot-libre/findblobs
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2016-01-04 22:34:22 (EST)
committer Francis Rowe <info@gluglug.org.uk>2016-01-04 23:36:20 (EST)
commit6d54891f12424dd04274d26683d88e68411a16d5 (patch)
tree744eb3bcf9ab0d75b2d29c55c4c880dfd06676b5 /resources/utilities/coreboot-libre/findblobs
parent2f3959533b2bfb9f2524066f5e4f765977ce11ae (diff)
downloadlibreboot-6d54891f12424dd04274d26683d88e68411a16d5.zip
libreboot-6d54891f12424dd04274d26683d88e68411a16d5.tar.gz
libreboot-6d54891f12424dd04274d26683d88e68411a16d5.tar.bz2
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 a2ec026..9ce7dfa 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"