Build a Phosh image next to the Plasma Mobile one
FP6IMG_UI selects the postmarketOS UI (plasma-mobile, the default, or phosh). The package set is the same except that the Phosh image adds imsd's opt-in imsd-ofono subpackage, the GNOME Calls backend; everything else in it is UI-agnostic. The archive is named after the UI (fp6-img-phosh.tar.xz), build-info.txt records it, and the workflow runs the Phosh build as a second step of the same job with FP6IMG_KEEP_DIST=1 so both archives land in one release. Both knobs are carried across the su into the build user. The Phosh variant needs imsd 0.3.8 in the registry: that release ships the preset that enables imsd-ofonod and keeps GNOME Calls alive across imsd restarts.
This commit is contained in:
parent
ff2f6df650
commit
507dac02b5
3 changed files with 45 additions and 17 deletions
|
|
@ -1,8 +1,9 @@
|
|||
name: image
|
||||
|
||||
# Builds a flashable postmarketOS image for the Fairphone 6 (kernel from
|
||||
# milos-linux combined-stable + imsd) and publishes it as the rolling
|
||||
# 'latest' release.
|
||||
# Builds the flashable postmarketOS images for the Fairphone 6 (kernel from
|
||||
# milos-linux combined-stable + imsd) — Plasma Mobile (fp6-img.tar.xz) and
|
||||
# Phosh (fp6-img-phosh.tar.xz) — and publishes both as the rolling 'latest'
|
||||
# release.
|
||||
#
|
||||
# Runs on the dedicated privileged runner label "pmos" (loop devices for
|
||||
# pmbootstrap install, qemu-user binfmt on the host for the aarch64 chroots).
|
||||
|
|
@ -34,9 +35,16 @@ jobs:
|
|||
with:
|
||||
persist-credentials: true
|
||||
|
||||
- name: Build image
|
||||
- name: Build image (Plasma Mobile)
|
||||
run: ./build.sh
|
||||
|
||||
# Second UI from the same package builds (the kernel and the aports
|
||||
# above are already current in pmbootstrap's work dir, so this is the
|
||||
# install + export only): fp6-img-phosh.tar.xz next to fp6-img.tar.xz
|
||||
# in the same release.
|
||||
- name: Build image (Phosh)
|
||||
run: FP6IMG_UI=phosh FP6IMG_KEEP_DIST=1 ./build.sh
|
||||
|
||||
- name: Upload artifacts
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
|
|
|
|||
Loading…
Reference in a new issue