Install every operator script in the image #121
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/install-all-operator-scripts"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What this PR does
Makes a freshly flashed card carry every desktop script, as an in-place-updated one already does.
The playbook's "install kestrel operator scripts" task listed two files,
pull-agent-diagnostics.shandREADME.md. The in-place updater (update-apply.py) installs every file inbuilder/extra/files/scripts/. So a flashed card has never hadpull-health.sh,pull-eink-diagnostics.sh,pull-connectivity-diagnostics.sh,pull-web-diagnostics.shorgps-check.shin/usr/local/share/kestrel/scripts/. Devices that reached a release in place had them, so nothing noticed until 1.0.11-beta.1's on-device check (#119, item 4.1) ran on a fresh flash.builder/config.yml: the task now loops over every file in the folder, with the updater's rule (.sh0755, everything else 0644).test_update_apply.py): it runs the task's shell loop against the repo'sscripts/into a temp dir and checks it installs exactly the names and modes the updater plans. It fails on the old two-file task.Checklist
make lint(ansible--syntax-check,yamllint,shellcheck --severity=error, and the real-data check). The Lint workflow runs this on the PR.make test(thekestrel_pipytest suite and the real-data check's tests). The Test workflow runs this on the PR..envfiles, real names, personal emails, device serials, and no real captured or device data: SSIDs, MAC addresses, GPS coordinates, capture files, diagnostics bundles, logs, or screenshots of a real device — placeholders only. The real-data check catches MACs, emails, keys and capture files; real SSIDs, coordinates and screenshots are on you.docs/, and the on-device operator guide (GUIDE_MDinkestrel_pi/userguide.py) where it applies.Release impact
kestrel_pipackage,plugins/*.py, systemd units, the journald drop-in, a lib script already in the engine'sLIB_SCRIPTS, or the CLI.config.txt/cmdline, kernel modules, the base image or partition size,builder/config.json,builder/config.yml, theMakefile,.forgejo/workflows/, a shipped config default (config.toml/default.conf), or a brand-new lib script.Notes for review
config.ymlhunk is an install task whose source is underbuilder/extra/filesand whose destination (/usr/local/share/kestrel/scripts/) the engine already writes, with the same files and modes. So 1.0.11-beta.2 should be cut withupdate_kind=app-layer;autowould mark it reflash becauseconfig.ymlchanged.config.ymlchanges after beta.1,update_manifest.pywill make the stable 1.0.11 app-layer from 1.0.11-beta.2 on rather than beta.1. Beta testers apply beta.2 in place first, which they would anyway. 1.0.10 devices flash either way.🤖 Generated with Claude Code