Split out from https://gitlab.com/postmarketOS/pmaports/-/merge_requests/5541 in order to avoid CI issues.