summaryrefslogtreecommitdiff
path: root/test/test-efi-create-disk.sh
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2015-02-26 18:33:37 +0100
committerKay Sievers <kay@vrfy.org>2015-02-26 18:58:30 +0100
commit37fa369066c2db1ecc6c7046192503aedc2431f6 (patch)
treec883a3410dd3716c58e2de24ee5d2b8f5f73710e /test/test-efi-create-disk.sh
parent03455c2879699852b691903343e378c28992ff6a (diff)
boot: efi - support embedded splash image
Diffstat (limited to 'test/test-efi-create-disk.sh')
-rwxr-xr-xtest/test-efi-create-disk.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/test-efi-create-disk.sh b/test/test-efi-create-disk.sh
index 454b48a082..62d8439ed9 100755
--- a/test/test-efi-create-disk.sh
+++ b/test/test-efi-create-disk.sh
@@ -22,7 +22,8 @@ echo -n "foo=yes bar=no root=/dev/fakeroot debug rd.break=initqueue" > mnt/cmdli
objcopy \
--add-section .osrel=/etc/os-release --change-section-vma .osrel=0x20000 \
--add-section .cmdline=mnt/cmdline.txt --change-section-vma .cmdline=0x30000 \
- --add-section .linux=/boot/$(cat /etc/machine-id)/$(uname -r)/linux --change-section-vma .linux=0x40000 \
+ --add-section .splash=test/splash.bmp --change-section-vma .splash=0x40000 \
+ --add-section .linux=/boot/$(cat /etc/machine-id)/$(uname -r)/linux --change-section-vma .linux=0x2000000 \
--add-section .initrd=/boot/$(cat /etc/machine-id)/$(uname -r)/initrd --change-section-vma .initrd=0x3000000 \
linuxx64.efi.stub mnt/EFI/Linux/linux-test.efi