Unverified Commit 1f31b50f authored by Kroese's avatar Kroese Committed by GitHub
Browse files

feat: Added custom BIOS logo (#319)

parent 05dad712
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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 && \
+3 −0
Original line number Diff line number Diff line
@@ -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