From 46821c70a11422c0154d1dfa2746ed7db9bc3c75 Mon Sep 17 00:00:00 2001 From: Francis Rowe Date: Sun, 28 Jun 2015 13:57:03 -0400 Subject: coreboot-libre: move GRUB configs to grub/ --- (limited to 'resources/scripts') diff --git a/resources/scripts/helpers/build/roms/helper b/resources/scripts/helpers/build/roms/helper index b032d3a..236b8da 100755 --- a/resources/scripts/helpers/build/roms/helper +++ b/resources/scripts/helpers/build/roms/helper @@ -51,11 +51,11 @@ if [ "${1}" = "qemu_i440fx_piix4" ] || [ "${1}" = "qemu_q35_ich9" ] then # assume that the default config enable framebuffer mode, duplicate and patch for text-mode # necessary, otherwise it will ask you to enter the Y/X resolution of the framebuffer at build time - cp "../resources/libreboot/config/${1}/config" "config_vesafb" + cp "../resources/libreboot/config/grub/${1}/config" "config_vesafb" sed 's/CONFIG_FRAMEBUFFER_KEEP_VESA_MODE=y/# CONFIG_FRAMEBUFFER_KEEP_VESA_MODE is not set/' < "config_vesafb" > "config_txtmode" else # assume that the default config enables text-mode, duplicate and patch for framebuffer mode - cp "../resources/libreboot/config/${1}/config" "config_txtmode" + cp "../resources/libreboot/config/grub/${1}/config" "config_txtmode" sed 's/# CONFIG_FRAMEBUFFER_KEEP_VESA_MODE is not set/CONFIG_FRAMEBUFFER_KEEP_VESA_MODE=y/' < "config_txtmode" > "config_vesafb" fi diff --git a/resources/scripts/helpers/build/roms/withgrub b/resources/scripts/helpers/build/roms/withgrub index c3b33c5..dbd89e1 100755 --- a/resources/scripts/helpers/build/roms/withgrub +++ b/resources/scripts/helpers/build/roms/withgrub @@ -38,7 +38,7 @@ if [ $# -gt 0 ]; then boards="$@" else # build all ROM images - boards="$(ls resources/libreboot/config/)" + boards="$(ls resources/libreboot/config/grub/)" fi @@ -70,7 +70,7 @@ cd ../ # Build ROM images for supported boards for board in ${boards} do - if [ -f "resources/libreboot/config/${board}/config" ]; then + if [ -f "resources/libreboot/config/grub/${board}/config" ]; then ./build roms helper ${board} fi done -- cgit v0.9.1