libreboot

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit 7318057ee0d0990c450bdf35d786ae9edb2dac13
parent 1c01211ae6dbde629904476803d046564e2a907c
Author: Francis Rowe <info@gluglug.org.uk>
Date:   Mon,  7 Mar 2016 07:33:51 +0000

coreboot-libre: fix wrong path

Diffstat:
resources/utilities/coreboot-libre/deblob | 13+++++--------
1 file changed, 5 insertions(+), 8 deletions(-)

diff --git 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