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

Merge branch 'master' into renovate/actions-checkout-6.x

parents c0eb5464 e50d56d6
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -76,7 +76,10 @@ case "${BOOT_MODE,,}" in
      if [[ "${LOGO:-}" == [Nn]* ]]; then
        cp "$OVMF/$ROM" "$DEST.tmp"
      else
        /run/utk.bin "$OVMF/$ROM" replace_ffs LogoDXE "/var/www/img/${PROCESS,,}.ffs" save "$DEST.tmp"
        if ! /run/utk.bin "$OVMF/$ROM" replace_ffs LogoDXE "/var/www/img/${PROCESS,,}.ffs" save "$DEST.tmp"; then
          warn "failed to add custom logo to BIOS!"
          cp "$OVMF/$ROM" "$DEST.tmp"
        fi
      fi
      mv "$DEST.tmp" "$DEST.rom"
      ! setOwner "$DEST.rom" && error "Failed to set the owner for \"$DEST.rom\" !"