Skip to content

Wendy Config Partition — wendy.conf Infra#40

Draft
konstantinbe wants to merge 6 commits intokb.wendy-config-partition-pifrom
kb.wendy-config-partition-conf
Draft

Wendy Config Partition — wendy.conf Infra#40
konstantinbe wants to merge 6 commits intokb.wendy-config-partition-pifrom
kb.wendy-config-partition-conf

Conversation

@konstantinbe
Copy link
Copy Markdown
Contributor

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.
@konstantinbe konstantinbe marked this pull request as draft March 30, 2026 13:16
@konstantinbe konstantinbe changed the title Kb.wendy config partition conf Wendy Config Partition — wendy.conf Infra Mar 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant