summaryrefslogtreecommitdiffstats
path: root/resources
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-02-07 10:45:46 (EST)
committer Francis Rowe <info@gluglug.org.uk>2015-02-07 10:45:46 (EST)
commit1f99c6988968cfa930a0dde5e90a24bd56578f18 (patch)
tree6cb8dafdbcaa63646880b955ef62c302f4f078dc /resources
parent981f5044d9f0c7f68b71ed5866a3fb76354fe1ce (diff)
downloadlibreboot-1f99c6988968cfa930a0dde5e90a24bd56578f18.zip
libreboot-1f99c6988968cfa930a0dde5e90a24bd56578f18.tar.gz
libreboot-1f99c6988968cfa930a0dde5e90a24bd56578f18.tar.bz2
buildrom-withgrub: Put background.jpg in CBFS, not GRUB memdisk
The background.jpg was put in CBFS originally to save space inside CBFS because the GRUB payload is LZMA compressed by coreboot. The actual measured saving in space for background.jpg being in the memdisk was about 4KiB. Putting it in CBFS means that the user can easily change their background image if they want to.
Diffstat (limited to 'resources')
-rw-r--r--resources/grub/config/extra/vesafb.cfg2
-rwxr-xr-xresources/utilities/grub-assemble/gen.sh1
2 files changed, 1 insertions, 2 deletions
diff --git a/resources/grub/config/extra/vesafb.cfg b/resources/grub/config/extra/vesafb.cfg
index bf56ced..6eaedf7 100644
--- a/resources/grub/config/extra/vesafb.cfg
+++ b/resources/grub/config/extra/vesafb.cfg
@@ -1,5 +1,5 @@
insmod jpeg
-background_image (memdisk)/background.jpg
+background_image (cbfsdisk)/background.jpg
loadfont (memdisk)/dejavusansmono.pf2
diff --git a/resources/utilities/grub-assemble/gen.sh b/resources/utilities/grub-assemble/gen.sh
index b784366..b4ae7ad 100755
--- a/resources/utilities/grub-assemble/gen.sh
+++ b/resources/utilities/grub-assemble/gen.sh
@@ -31,7 +31,6 @@ then
--modules="$grub_modules" \
--install-modules="$grub_install_modules" \
/boot/grub/grub.cfg="../../../resources/grub/config/grub_memdisk.cfg" \
- /background.jpg="../../../resources/grub/background/background.jpg" \
/dejavusansmono.pf2="../../../resources/grub/font/dejavusansmono.pf2" \
$(./grub_memdisk_keymap)
elif [ "$1" = "txtmode" ]