HomeFreeBSD

powerpc: fix release image building for Apple partitions

Description

powerpc: fix release image building for Apple partitions

awk changed somewhere between 14 and 15 and it stopped accepting
a hexadecimal number as its input - it will always return 0.
This results in a very badly written apple boot block.

So just remove it; do the math in shell.

PR: kern/292341
Differential Revision: https://reviews.freebsd.org/D54639
Reviewed by: imp
MFC after: 1 week

(cherry picked from commit 7afa03963c448a14b1735a10eaf84941b0b74862)

Details

Provenance
adrianAuthored on Jan 11 2026, 3:59 AM
Reviewer
imp
Differential Revision
D54639: powerpc: fix release image building for Apple partitions
Parents
rG666599639cf6: powerpc: put the isync inside the TD_LOCK() checking loop
Branches
Unknown
Tags
Unknown