Skip to content

stone: bump to 2.4.0 - #345

Closed
mobileoverlord wants to merge 1 commit into
scarthgapfrom
jschneck/stone-2.4.0-scarthgap
Closed

mobileoverlord wants to merge 1 commit into
scarthgapfrom
jschneck/stone-2.4.0-scarthgap

Conversation

@mobileoverlord

Copy link
Copy Markdown
Contributor

What

Bumps stone from 2.3.0 to 2.4.0 (SRCREV = the 2.4.0 tag commit, 9856a61), renaming the recipe to match. Companion to the same bump on wrynose.

2.4.0 brings:

  • provision emits AVOCADO_PARTITION_<NAME>_FLAGS for every partition — 0x0100000000000000 when the manifest says expand: "true", 0 otherwise — so the fwup templates can write it as the partition's GPT attribute flags. With the bit on the partition, the initramfs can grow it to the disk before /var is opened, which an image written to a file and flashed later cannot do at flash time.
  • expand: "true" must now be the last partition and must be named, in every form rather than only when size is omitted.

Risk

The validation change is the only thing that can break a build here, and it breaks nothing: all stone manifests in this layer set already put expand on the last, named partition. Cargo.lock carries no dependency change between the old pin and 2.4.0, so stone-crates.inc needs no regeneration and is untouched.

Draft because

Wants a per-machine parse/build check before merge. The consumer side is already hardware-verified on an i.MX 8M Plus board: the var partition carries Attribute flags: 0100000000000000, udev exposes ID_PART_ENTRY_FLAGS=0x100000000000000, and the initramfs grow unit reads it and correctly no-ops when the partition already fills the disk.

From 2.3.0. 2.4.0 emits AVOCADO_PARTITION_<NAME>_FLAGS for every partition -
0x0100000000000000 when the manifest says expand: "true" - so the fwup
templates can write it as the partition's GPT attribute flags and the
initramfs can grow the partition to its disk before /var is opened. It also
requires expand: "true" to be the last partition and to be named, in every
form rather than only when size is omitted.

Every stone manifest in this layer set already satisfies that rule, so the
tightened validation rejects nothing here. Cargo.lock carries no dependency
change between the pinned revisions, so stone-crates.inc is unchanged.
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