add seabios bootsplash and use it

this adds a bootsplash image in /usr/share/qemu-server
and if this file exists, use it for seabios

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
Dominik Csapak 2016-09-08 09:25:57 +02:00 committed by Dietmar Maurer
parent 2ddc0a5c75
commit dbea44152e
4 changed files with 2 additions and 1 deletions

View File

@ -71,6 +71,7 @@ install: ${PKGSOURCES}
install -m 0644 pve-q35.cfg ${DESTDIR}/usr/share/${PACKAGE}
install -m 0644 -D qm.bash-completion ${DESTDIR}/${BASHCOMPLDIR}/qm
install -m 0644 -D qmrestore.bash-completion ${DESTDIR}/${BASHCOMPLDIR}/qmrestore
install -m 0644 -D bootsplash.jpg ${DESTDIR}/usr/share/${PACKAGE}
make -C PVE install
install -m 0755 qm ${DESTDIR}${SBINDIR}
install -m 0755 qmrestore ${DESTDIR}${SBINDIR}

View File

@ -2965,7 +2965,7 @@ sub config_to_command {
$i++;
}
push @$cmd, '-boot', "menu=on,strict=on,reboot-timeout=1000";
push @$cmd, '-boot', "menu=on,strict=on,reboot-timeout=1000,splash=/usr/share/qemu-server/bootsplash.jpg";
push @$cmd, '-no-acpi' if defined($conf->{acpi}) && $conf->{acpi} == 0;

BIN
bootsplash.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

BIN
bootsplash.xcf Normal file

Binary file not shown.