[pve-devel] [PATCH qemu-server] add seabios bootsplash and use it
Dominik Csapak
d.csapak at proxmox.com
Thu Sep 8 11:55:14 CEST 2016
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 at proxmox.com>
---
the patch without binaries to review,
sent the patch including binaries to dietmar
(because of mailing list size limit)
Makefile | 1 +
PVE/QemuServer.pm | 2 +-
bootsplash.jpg | Bin 0 -> 17380 bytes
bootsplash.xcf | Bin 0 -> 30465 bytes
4 files changed, 2 insertions(+), 1 deletion(-)
create mode 100644 bootsplash.jpg
create mode 100644 bootsplash.xcf
diff --git a/Makefile b/Makefile
index 56392df..5fde682 100644
--- a/Makefile
+++ b/Makefile
@@ -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}
diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm
index e07f4c4..c3a53c9 100644
--- a/PVE/QemuServer.pm
+++ b/PVE/QemuServer.pm
@@ -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;
diff --git a/bootsplash.jpg b/bootsplash.jpg
new file mode 100644
index 0000000..9981ada
Binary files /dev/null and b/bootsplash.jpg differ
diff --git a/bootsplash.xcf b/bootsplash.xcf
new file mode 100644
index 0000000..2cc187e
Binary files /dev/null and b/bootsplash.xcf differ
--
2.1.4
More information about the pve-devel
mailing list