wic: extra-partitions: new variable to be combined with sourceparams
Get series with b4
b4 am [email protected] change-id 20260107-extrafiles-ad9a25529b20Versions newest first
- v2 Latest2 patches 1 replyIn review
- v12 patches 2 repliesSuperseded
Changes in v2 from the cover letter
- change suuffix _sourceparam-%s to _name-%s
- Link to v1: https://lore.kernel.org/r/[email protected]
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | oeqa/selftest: wic: improve extra-partition plugin testsmeta/ | +32 | 0 replies | |
| 2/2 | wic: extra-partition: introduce variable matching sourceparamsmeta/ scripts/ | +29 | 1 reply |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | Pierre-Loup GOSSE |
|---|---|
| 1/2 | |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/2] wic: extra-partitions: new variable to be combined with sourceparams
The current extra_partition plugin uses predictable variable names (the configuration must predict the image partition label or uuid). This has two inconveniences:
- an extra partition that has a specific label (or uuid) is doomed with the associated variable. The partition cannot be configured unless the label (or uuid) is changed.
- two partitions with same label from distincts .wks cannot have different content.
The first commit increases the tests. It now tests several files can be included and that the file system type can be specified. It also simplifies the 'wic ls' command by removing unneeded pipes.
The second commit allows the new suffix _name-%s to be appended to IMAGE_EXTRA_PARTITION_FILES. This variable will be preferred whenever the .wks specifies a name in the --sourceparams option.
For example:
an image may define:
IMAGE_EXTRA_PARTITION_FILES_name-foo = "bar.conf"
and the .wks line have line:
part --source extra_partition --sourceparams "name=foo"
---
Changes in v2:
- change suuffix _sourceparam-%s to _name-%s
- Link to v1: https://lore.kernel.org/r/[email protected]
---
Louis Rannou (2):
oeqa/selftest: wic: improve extra-partition plugin tests
wic: extra-partition: introduce variable matching sourceparams
meta/lib/oeqa/selftest/cases/wic.py | 55 ++++++++++++++++------- scripts/lib/wic/plugins/source/extra_partition.py | 24 +++++++--- 2 files changed, 57 insertions(+), 22 deletions(-)
---
base-commit: 0ed4776533145c901611d7f4f942490e33481335
change-id: 20260107-extrafiles-ad9a25529b20
Best regards,
Signature · 1 line
Louis Rannou <[email protected]>