mirror of
https://github.com/dockur/macos.git
synced 2026-03-11 08:34:24 +00:00
feat: Added custom BIOS logo (#319)
This commit is contained in:
parent
05dad712f3
commit
1f31b50ff8
2 changed files with 3 additions and 2 deletions
|
|
@ -27,8 +27,6 @@ ARG DEBCONF_NONINTERACTIVE_SEEN="true"
|
|||
RUN set -eu && \
|
||||
apt-get update && \
|
||||
apt-get --no-install-recommends -y install \
|
||||
xxd \
|
||||
fdisk \
|
||||
mtools && \
|
||||
apt-get clean && \
|
||||
echo "$VERSION_ARG" > /run/version && \
|
||||
|
|
|
|||
|
|
@ -43,6 +43,9 @@ DEST="$STORAGE/$DEST"
|
|||
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"
|
||||
if [[ "${LOGO:-}" != [Nn]* ]]; then
|
||||
/run/utk.bin "$DEST.rom" replace_ffs LogoDXE "/var/www/img/macos.ffs" save "$DEST.rom"
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ ! -s "$DEST.vars" ] || [ ! -f "$DEST.vars" ]; then
|
||||
|
|
|
|||
Loading…
Reference in a new issue