Add rpi-preseed support - #1659
Merged
Merged
Conversation
Serialise wizard customisation to rpi-preseed.toml for OS images whose manifest declares init_format "rpi-preseed", alongside the existing systemd / cloud-init paths. - customization_generator: add generateRpiPreseedToml() emitting [system]/[user]/[ssh]/[wlan]/[locale]/[connect]/[interfaces]; carry a non-UTF-8 SSID as wlan.ssid_hex so arbitrary 802.11 octets survive - imagewriter: route the rpi-preseed init_format and stage the TOML; add imageSupportsInterfaceCustomisation() so the Interfaces step shows for rpi-preseed as well as cloudinit-rpi; append the Wi-Fi regdomain to cmdline.txt - downloadthread/fastbootflashthread: write rpi-preseed.toml to the boot partition and preserve it across the secure-boot repack - oslistmodel + os-list-schema.json: register the rpi-preseed init_format - docs: document the format in os_customisation_formats.md Fix isValidUtf8(): QStringDecoder::operator() returns a lazy proxy, so the result must be materialised or hasError() never trips and arbitrary octets were wrongly reported as valid UTF-8 (mis-routing exotic SSIDs on the systemd/cloud-init paths too). Use Flag::Stateless and consume the result; apply the same fix to the mirrored test helpers.
The manifest-authoring reference enumerated the accepted init_format values but was missing "rpi-preseed", which the schema, oslistmodel and customisation generator already support.
tdewey-rpi
force-pushed
the
dev/tdewey/rpi-preseed
branch
from
July 8, 2026 14:50
c08cb4a to
a4abdb8
Compare
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.
To supersede cloud-init.