summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-02-07 13:40:47 (EST)
committer Francis Rowe <info@gluglug.org.uk>2015-02-07 13:40:47 (EST)
commit0dbd879c0e9d73a0734fcfb4775c6584099f00d1 (patch)
tree978b9d79d6ca1ca2cbbe43cfc3366b10ffb91661
parentef82c19ad00e753d7f171706d534c833fb258a9f (diff)
downloadlibreboot-0dbd879c0e9d73a0734fcfb4775c6584099f00d1.zip
libreboot-0dbd879c0e9d73a0734fcfb4775c6584099f00d1.tar.gz
libreboot-0dbd879c0e9d73a0734fcfb4775c6584099f00d1.tar.bz2
buildrom-withgrub: use gnulove.jpg background on 16:10 laptops
-rwxr-xr-xbuildrom-withgrub7
1 files changed, 6 insertions, 1 deletions
diff --git a/buildrom-withgrub b/buildrom-withgrub
index d904241..093ff18 100755
--- a/buildrom-withgrub
+++ b/buildrom-withgrub
@@ -72,7 +72,12 @@ do
# Add the background image
if [ "$romtype" = "vesafb" ]
then
- ./util/cbfstool/cbfstool "$1"_"$romtype".rom add -f ../resources/grub/background/background.jpg -n background.jpg -t raw
+ if [ "$1" = "macbook21" ] || [ "$1" = "x200_4mb" ] || [ "$1" = "x200_8mb" ]
+ then
+ ./util/cbfstool/cbfstool "$1"_"$romtype".rom add -f ../resources/grub/background/gnulove.jpg -n background.jpg -t raw
+ else
+ ./util/cbfstool/cbfstool "$1"_"$romtype".rom add -f ../resources/grub/background/background.jpg -n background.jpg -t raw
+ fi
fi
# Add the correct GRUB configuration file for this image.