test: include a fallback bootsplash in the test image
authorTom Gundersen <teg@jklm.no>
Mon, 16 Dec 2013 18:03:45 +0000 (19:03 +0100)
committerTom Gundersen <teg@jklm.no>
Mon, 16 Dec 2013 21:58:05 +0000 (22:58 +0100)
test/splash.bmp [new file with mode: 0644]
test/test-create-disk.sh

diff --git a/test/splash.bmp b/test/splash.bmp
new file mode 100644 (file)
index 0000000..5aa6cb0
Binary files /dev/null and b/test/splash.bmp differ
index b351795..4ed25cd 100755 (executable)
@@ -12,14 +12,15 @@ mkdir -p mnt
 mount ${LOOP}p1 mnt
 
 # install gummiboot
-mkdir -p mnt/EFI/Boot
+mkdir -p mnt/EFI/{Boot,gummiboot}
 cp gummibootx64.efi mnt/EFI/Boot/bootx64.efi
+cp splash.bmp mnt/EFI/gummiboot/
 
 [ -e /boot/shellx64.efi ] && cp /boot/shellx64.efi mnt/
 
 # install entries
 mkdir -p mnt/loader/entries
-echo -e "timeout 3\n" > mnt/loader/loader.conf
+echo -e "timeout 3\nsplash /EFI/gummiboot/splash.bmp\n" > mnt/loader/loader.conf
 echo -e "title Test\nefi /test\n" > mnt/loader/entries/test.conf
 echo -e "title Test2\nlinux /test2\noptions option=yes word number=1000 more\n" > mnt/loader/entries/test2.conf
 echo -e "title Test3\nlinux /test3\n" > mnt/loader/entries/test3.conf