Merge nucleic/zesty-dewy-ferret-tlmk into dev
This commit is contained in:
@@ -1,13 +1,14 @@
|
||||
# Stage the prebuilt Rust AT-SPI semantic agent + its systemd USER unit, with a static
|
||||
# global-enable symlink so it starts in every graphical session (no `systemctl --global
|
||||
# enable` needed inside the mmdebstrap chroot). Prefer the CI-built dist/bin binary; fall
|
||||
# back to the committed guest build (arm64) — the same artifact the pre-narOS base build bakes.
|
||||
# enable` needed inside the mmdebstrap chroot).
|
||||
#
|
||||
# dist/bin is the ONLY source. There used to be an arm64-only fallback to a committed
|
||||
# guest/nucleic-a11y-agent/build/ binary, which papered over the fact that CI built this
|
||||
# crate natively on arm64 and never for amd64 — so the amd64 deb silently skipped staging
|
||||
# and never reached the repo. naros.yml now cross-builds both arches (musl via zigbuild).
|
||||
stage() {
|
||||
local dest="$1" arch="$2"
|
||||
local bin="$OS_DIR/dist/bin/nucleic-a11y-agent-$arch"
|
||||
if [ ! -x "$bin" ] && [ "$arch" = arm64 ]; then
|
||||
bin="$OS_DIR/../guest/nucleic-a11y-agent/build/nucleic-a11y-agent"
|
||||
fi
|
||||
local unit="$OS_DIR/../guest/nucleic-a11y-agent/systemd/nucleic-a11y-agent.service"
|
||||
if [ ! -x "$bin" ]; then
|
||||
echo "prebuilt binary missing: dist/bin/nucleic-a11y-agent-$arch" > "$dest/.skip-reason"
|
||||
|
||||
Reference in New Issue
Block a user