summaryrefslogtreecommitdiffstats
path: root/resources/utilities
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2016-03-07 02:33:51 (EST)
committer Francis Rowe <info@gluglug.org.uk>2016-03-07 02:33:51 (EST)
commit7318057ee0d0990c450bdf35d786ae9edb2dac13 (patch)
treebfbe83cc7bc34ea8758cfba483b41c2690a1d458 /resources/utilities
parent1c01211ae6dbde629904476803d046564e2a907c (diff)
downloadlibreboot-7318057ee0d0990c450bdf35d786ae9edb2dac13.zip
libreboot-7318057ee0d0990c450bdf35d786ae9edb2dac13.tar.gz
libreboot-7318057ee0d0990c450bdf35d786ae9edb2dac13.tar.bz2
coreboot-libre: fix wrong path
Diffstat (limited to 'resources/utilities')
-rwxr-xr-xresources/utilities/coreboot-libre/deblob13
1 files changed, 5 insertions, 8 deletions
diff --git a/resources/utilities/coreboot-libre/deblob b/resources/utilities/coreboot-libre/deblob
index cd9b463..5e263ff 100755
--- a/resources/utilities/coreboot-libre/deblob
+++ b/resources/utilities/coreboot-libre/deblob
@@ -30,7 +30,7 @@ if [ ! -d "coreboot/" ]; then
printf "coreboot-libre deblob: no coreboot directory exists, so there is nothing to deblob\n"
fi
-for payloads in "coreboot/"*; do
+for payloads in resources/libreboot/config/*; do
if [ ! -d "${payloads}/" ]; then
continue
@@ -38,19 +38,16 @@ for payloads in "coreboot/"*; do
payload="${payloads##*/}"
- for boards in "coreboot/${payload}/"*; do
+ for boards in "${payload}/"*; do
if [ ! -d "${boards}/" ]; then
continue
fi
board="${boards##*/}"
- boardpath="coreboot/${payload}/${board}"
- if [ "${payload}" = "crossgcc" ]; then
- cbrevision="${board}"
- else
- cbrevision="$(cat "resources/libreboot/config/${payload}/${board}/cbrevision")"
- fi
+ cbrevision="$(cat "resources/libreboot/config/${payload}/${board}/cbrevision")"
+ vbrevision="$(cat "resources/libreboot/config/${payload}/${board}/vbootrevision")"
+ boardpath="coreboot/${cbrevision}/${cbrevision}"
# deblob coreboot
for blob in $(cat "resources/utilities/coreboot-libre/blobs/coreboot/${cbrevision}/blobs.list"); do