diff options
Diffstat (limited to 'script')
-rwxr-xr-x | script/roms | 9 | ||||
-rwxr-xr-x | script/trees | 3 |
2 files changed, 2 insertions, 10 deletions
diff --git a/script/roms b/script/roms index 0e4b4b72..e2caacef 100755 --- a/script/roms +++ b/script/roms @@ -11,7 +11,6 @@ set -u -e . "include/lib.sh" seavgabiosrom="elf/seabios/default/libgfxinit/vgabios.bin" -grub_background="background1280x800.png" cfgsdir="config/coreboot" picosrc="src/pico-serprog" picosdk="src/pico-sdk" @@ -107,7 +106,6 @@ list_serprog_boards() configure_target() { eval "$(setvars "n" $pv) $(setvars "" $v)" - grub_background="background1280x800.png" board="$1" targetdir="$cfgsdir/$board" @@ -261,13 +259,6 @@ build_grub_roms() # we only need insert grub.elf once, for each coreboot config: cbfs "$tmprom" "$grubelf" "$grub_cbfs" - # we only need insert background.png once, for each coreboot config: - if [ "$displaymode" = "vesafb" ] || \ - [ "$displaymode" = "corebootfb" ]; then - cbfs "$tmprom" "$grubdata/background/$grub_background" \ - background.png raw - fi - tmpcfg="$(mktemp -t coreboot_rom.XXXXXXXXXX)" printf "set grub_scan_disk=\"%s\"\n" "$grub_scan_disk" > "$tmpcfg" || \ $err "set grub_scan_disk, $grub_scan_disk, $tmpcfg" diff --git a/script/trees b/script/trees index a773f03c..8084dd54 100755 --- a/script/trees +++ b/script/trees @@ -286,7 +286,8 @@ mkpayload_grub() --fonts= --themes= --locales= --modules="$grub_modules" \ --install-modules="$grub_install_modules" \ "/boot/grub/grub_default.cfg=${cdir}/.config" \ - "/boot/grub/grub.cfg=$grubdata/memdisk.cfg" || \ + "/boot/grub/grub.cfg=$grubdata/memdisk.cfg" \ + "/background.png=$grubdata/background/background1280x800.png" || \ $err "$tree: cannot build grub.elf" } |