Watch
1
0
Fork
You've already forked souveraine
0

ci: build sessiond for x86_64 too

It was skipped with a comment calling it deliberate; it never was — the
laptop hit lock-screen errors once and it stayed phone-only by inertia.
Building is not enabling: the binary ships, the user unit stays
aarch64-only in PKGBUILD.prebuilt, so this cannot wedge a machine by
arriving on it. Verified it compiles.

Not urgent — the laptop is not SouveraineOS yet — but the comment was
wrong and a wrong reason is worse than no reason.
This commit is contained in:
Fimeg 2026-08-02 17:49:47 -04:00
commit d2a0547d30

View file

@ -180,14 +180,29 @@ jobs:
cp "$B" "$b-x86_64"
done
# sessiond is deliberately NOT built for x86_64: the laptop hit
# lock-screen errors with it, and it is the phone's session authority.
# Ship it on aarch64 only until the laptop side is sorted.
# sessiond for x86_64 as well. It was skipped here with a comment
# calling it deliberate; it never was (Casey, 2026-08-02) — the
# laptop hit lock-screen errors with it once and it stayed
# phone-only by inertia. That inertia is now load-bearing in the
# wrong direction: viewtop targets the laptop screen too
# (VIEWTOP-AND-DENIAL.md), and panel power, the LockedHint report and
# button reporting all assume the daemon is there — so no session
# authority on x86 means no viewtop on the laptop.
#
# Building is not enabling. The binary ships; the user unit is
# aarch64-only in PKGBUILD.prebuilt and stays that way until the
# laptop path is actually tested, so this cannot wedge a laptop by
# arriving on it.
cargo build --release --features sessiond --bin souveraine-sessiond
B="$CARGO_TARGET_DIR/release/souveraine-sessiond"
file "$B" | grep -q 'x86-64' || { echo "sessiond is not x86_64" >&2; exit 1; }
cp "$B" souveraine-sessiond-x86_64
sha256sum souveraine-aarch64 souveraine-x86_64 \
souveraine-sessiond-aarch64 souveraine-sensord-aarch64 \
souveraine-secrets-aarch64 souveraine-secrets-x86_64 \
souveraine-machined-aarch64 souveraine-machined-x86_64 \
souveraine-sessiond-x86_64 \
> souveraine-binaries.sha256
- name: Build UPower fork (per-arch install trees)