Wendy Config Partition — wendy.conf Infra#40
Draft
konstantinbe wants to merge 6 commits intokb.wendy-config-partition-pifrom
Draft
Wendy Config Partition — wendy.conf Infra#40konstantinbe wants to merge 6 commits intokb.wendy-config-partition-pifrom
wendy.conf Infra#40konstantinbe wants to merge 6 commits intokb.wendy-config-partition-pifrom
Conversation
Contributor
konstantinbe
commented
Mar 30, 2026
- Issue: Implement wendy.conf infrastructure (WDY-779)
- Integration PR: Wendy Config Partition — Integration #35
Foundation helpers sourced by the main script. wc_run_handlers is a no-op stub in Part 2; Part 3 (WiFi) extends it here as a pure addition without touching wendy-config.sh.
Implements the full first-boot lifecycle: locate WENDYCONFIG by FAT volume label, mount read-only, copy wendy.conf to tmpfs, remount read-write, zero-overwrite then delete the original, run handlers, write stamp. Label-based lookup avoids baking a build-time PARTUUID into the rootfs.
Runs as a oneshot at sysinit.target, after local-fs.target and systemd-udev-settle so block devices are stable, and before basic.target so provisioning is invisible to user-facing services. ConditionPathExists fast-path skips the service entirely on every boot after the first without spawning a process.
Packages the service unit, main script, and lib into the wendy-config package. Placed in recipes-core/ rather than a machine extension because the logic is platform-agnostic across RPi5 and Jetson. RDEPENDS on util-linux-findfs and util-linux-mount; confirmed against the upstream util-linux_2.39.3.bb packaging split (util_linux_binpackages creates per-binary subpackages matching these names exactly).
Ensures the service and scripts are installed in all WendyOS images regardless of machine target.
wendy.conf Infra
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.