From: Tom Gundersen Date: Mon, 16 Dec 2013 18:03:45 +0000 (+0100) Subject: test: include a fallback bootsplash in the test image X-Git-Tag: 41~16 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6dce68d01ddc65e872ab917f55a77ac40aa8f6f0;p=platform%2Fupstream%2Fgummiboot.git test: include a fallback bootsplash in the test image --- diff --git a/test/splash.bmp b/test/splash.bmp new file mode 100644 index 0000000..5aa6cb0 Binary files /dev/null and b/test/splash.bmp differ diff --git a/test/test-create-disk.sh b/test/test-create-disk.sh index b351795..4ed25cd 100755 --- a/test/test-create-disk.sh +++ b/test/test-create-disk.sh @@ -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