diff options
author | Francis Rowe <info@gluglug.org.uk> | 2016-03-07 07:33:51 +0000 |
---|---|---|
committer | Francis Rowe <info@gluglug.org.uk> | 2016-03-07 07:33:51 +0000 |
commit | 7318057ee0d0990c450bdf35d786ae9edb2dac13 (patch) | |
tree | bfbe83cc7bc34ea8758cfba483b41c2690a1d458 /resources | |
parent | 1c01211ae6dbde629904476803d046564e2a907c (diff) | |
download | librebootfr-7318057ee0d0990c450bdf35d786ae9edb2dac13.tar.gz librebootfr-7318057ee0d0990c450bdf35d786ae9edb2dac13.zip |
coreboot-libre: fix wrong path
Diffstat (limited to 'resources')
-rwxr-xr-x | resources/utilities/coreboot-libre/deblob | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/resources/utilities/coreboot-libre/deblob b/resources/utilities/coreboot-libre/deblob index cd9b463f..5e263ff8 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 |