diff options
Diffstat (limited to 'resources/scripts/helpers/build')
-rwxr-xr-x | resources/scripts/helpers/build/config/corebootmodify | 10 | ||||
-rwxr-xr-x | resources/scripts/helpers/build/config/corebootreplace | 8 | ||||
-rwxr-xr-x | resources/scripts/helpers/build/config/corebootupdate | 10 |
3 files changed, 14 insertions, 14 deletions
diff --git a/resources/scripts/helpers/build/config/corebootmodify b/resources/scripts/helpers/build/config/corebootmodify index 574e7aef..b71ff3ee 100755 --- a/resources/scripts/helpers/build/config/corebootmodify +++ b/resources/scripts/helpers/build/config/corebootmodify @@ -25,7 +25,7 @@ [ "x${DEBUG+set}" = 'xset' ] && set -v set -u -e -cd "resources/libreboot/config/" +cd "resources/libreboot/config/grub/" if [ $# -lt 1 ]; then configs="$(ls)" @@ -33,19 +33,19 @@ else configs="$@" fi -cd "../../../coreboot/" +cd "../../../../coreboot/" for config in ${configs}; do printf "Modifying config for %s\n" "${config}" sleep 2 - if [ ! -d "../resources/libreboot/config/${config}/" ]; then + if [ ! -d "../resources/libreboot/config/grub/${config}/" ]; then printf "build/config/corebootmodify WARNING: config '%s' does not exist. Skipping.\n" "${config}" continue fi - mv "../resources/libreboot/config/${config}/config" ".config" + mv "../resources/libreboot/config/grub/${config}/config" ".config" make menuconfig - mv ".config" "../resources/libreboot/config/${config}/config" + mv ".config" "../resources/libreboot/config/grub/${config}/config" done cd "../" diff --git a/resources/scripts/helpers/build/config/corebootreplace b/resources/scripts/helpers/build/config/corebootreplace index 4377ff26..5df5f771 100755 --- a/resources/scripts/helpers/build/config/corebootreplace +++ b/resources/scripts/helpers/build/config/corebootreplace @@ -25,7 +25,7 @@ [ "x${DEBUG+set}" = 'xset' ] && set -v set -u -e -cd "resources/libreboot/config/" +cd "resources/libreboot/config/grub/" if [ $# -lt 1 ]; then configs="$(ls)" @@ -33,15 +33,15 @@ else configs="$@" fi -cd "../../../coreboot/" +cd "../../../../coreboot/" for config in ${configs}; do printf "Replacing or creating new config for %s\n" "${config}" sleep 2 make menuconfig - [ ! -d "../resources/libreboot/config/${config}/" ] && mkdir -p "../resources/libreboot/config/${config}/" - mv ".config" "../resources/libreboot/config/${config}/config" + [ ! -d "../resources/libreboot/config/grub/${config}/" ] && mkdir -p "../resources/libreboot/config/grub/${config}/" + mv ".config" "../resources/libreboot/config/grub/${config}/config" done cd "../" diff --git a/resources/scripts/helpers/build/config/corebootupdate b/resources/scripts/helpers/build/config/corebootupdate index 6e4ad672..0ecf0eb7 100755 --- a/resources/scripts/helpers/build/config/corebootupdate +++ b/resources/scripts/helpers/build/config/corebootupdate @@ -25,7 +25,7 @@ [ "x${DEBUG+set}" = 'xset' ] && set -v set -u -e -cd "resources/libreboot/config/" +cd "resources/libreboot/config/grub/" if [ $# -lt 1 ]; then configs="$(ls)" @@ -33,19 +33,19 @@ else configs="$@" fi -cd "../../../coreboot/" +cd "../../../../coreboot/" for config in ${configs}; do printf "Updating config for %s\n" "${config}" sleep 2 - if [ ! -d "../resources/libreboot/config/${config}/" ]; then + if [ ! -d "../resources/libreboot/config/grub/${config}/" ]; then printf "build/config/corebootupdate WARNING: config '%s' does not exist. Skipping.\n" "${config}" continue fi - mv "../resources/libreboot/config/${config}/config" ".config" + mv "../resources/libreboot/config/grub/${config}/config" ".config" make oldconfig - mv ".config" "../resources/libreboot/config/${config}/config" + mv ".config" "../resources/libreboot/config/grub/${config}/config" done cd "../" |