Igor Pecovnik a6cb68a1f5
Some checks failed
Infrastructure: Dispatch to fork / 📢 Run repository dispatch on fork (push) Has been cancelled
Infrastructure: Mirror to Codeberg / codeberg (push) Has been cancelled
Maintenance: Announce merge / announcepush (push) Has been cancelled
Maintenance: Security scan / Scorecards analysis (push) Has been cancelled
fix: switch rockchip family_tweaks from addgroup to groupadd
`addgroup` lives in `adduser`, which Debian forky no longer pulls
into a minimal rootfs by default. `family_tweaks` then dies with
`bash: line 1: addgroup: command not found` (exit 127) on every
forky-armhf rockchip build.

`groupadd` is in `passwd` (Essential, every Linux), and works
identically for our use here. The only behavioural difference —
`groupadd` returns 9 if the group already exists where `addgroup`
returns 0 — is gated by the existing `getent group … ||` guard in
rockchip.conf, and added to rockchip-rv1106.conf to keep
re-runnability.

Repro: armbian/os tinkerboard-current forky-armhf, log
https://paste.armbian.com/iyasuwenum
2026-05-03 16:37:00 +02:00
..