Files
oxmc 3f91f7f8be recovery: fix mcopy overwrite collision and twrp.flags symlink destination
mkbootimg.mk: the recovery-patched config.txt (vc4-kms-v3d disabled, see
the comment above $(INSTALLED_RECOVERYIMAGE_TARGET)) was silently failing
to overwrite the shared staging copy already placed by the earlier mcopy
-s call -- mtools hits its interactive overwrite prompt on a non-
interactive ninja build without -o. Added -o to that one mcopy call.

BoardConfig.mk: BOARD_RECOVERY_IMAGE_PREPARE copied twrp.flags/
twrp.usb.flags into $(TARGET_RECOVERY_ROOT_OUT)/etc, which is a symlink
to /system/etc, not a real directory on the host build machine -- mkdir -p
on it fails. Destination fixed to system/etc (the real directory); source
files moved to match under recovery/root/system/etc/.

Both verified via real builds: extracted config.txt from the built
recovery.img and confirmed #dtoverlay=vc4-kms-v3d (commented), and
confirmed system/etc resolves to a genuine directory via file(1).
2026-10-06 03:12:50 -07:00

1 line
92 B
Plaintext

/usb auto /dev/block/sdb1 /dev/block/sdb flags=display="USB";storage;wipeingui;removable