mirror of
https://github.com/qemus/qemu-docker.git
synced 2025-12-24 13:38:05 +08:00
feat: Added custom BIOS logo (#852)
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
# syntax=docker/dockerfile:1
|
||||
|
||||
FROM qemux/fiano AS src
|
||||
FROM debian:trixie-slim
|
||||
|
||||
ARG VERSION_ARG="0.0"
|
||||
@@ -53,6 +54,7 @@ RUN set -eu && \
|
||||
|
||||
COPY --chmod=755 ./src /run/
|
||||
COPY --chmod=755 ./web /var/www/
|
||||
COPY --chmod=755 --from=src /utk.bin /run
|
||||
COPY --chmod=664 ./web/conf/defaults.json /usr/share/novnc
|
||||
COPY --chmod=664 ./web/conf/mandatory.json /usr/share/novnc
|
||||
COPY --chmod=744 ./web/conf/nginx.conf /etc/nginx/default.conf
|
||||
|
||||
@@ -70,6 +70,7 @@ case "${BOOT_MODE,,}" in
|
||||
if [ ! -s "$DEST.rom" ] || [ ! -f "$DEST.rom" ]; then
|
||||
[ ! -s "$OVMF/$ROM" ] || [ ! -f "$OVMF/$ROM" ] && error "UEFI boot file ($OVMF/$ROM) not found!" && exit 44
|
||||
cp "$OVMF/$ROM" "$DEST.rom"
|
||||
/run/utk.bin "$DEST.rom" replace_ffs LogoDXE "/var/www/img/${PROCESS,,}.ffs" save "$DEST.rom"
|
||||
fi
|
||||
|
||||
if [ ! -s "$DEST.vars" ] || [ ! -f "$DEST.vars" ]; then
|
||||
|
||||
BIN
web/img/macos.ffs
Normal file
BIN
web/img/macos.ffs
Normal file
Binary file not shown.
BIN
web/img/qemu.ffs
Normal file
BIN
web/img/qemu.ffs
Normal file
Binary file not shown.
BIN
web/img/windows.ffs
Normal file
BIN
web/img/windows.ffs
Normal file
Binary file not shown.
Reference in New Issue
Block a user