mirror of
https://github.com/dockur/macos.git
synced 2026-03-11 08:34:24 +00:00
Merge branch 'master' into renovate/actions-checkout-6.x
This commit is contained in:
commit
37b0cea67a
1 changed files with 4 additions and 1 deletions
|
|
@ -48,7 +48,10 @@ if [ ! -s "$DEST.rom" ] || [ ! -f "$DEST.rom" ]; then
|
|||
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\" !"
|
||||
|
|
|
|||
Loading…
Reference in a new issue