Skip to content

image-bootfiles: new class

Marcus Folkesson openembedded-core 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest2 patches 4 repliesIn review
  2. v52 patches 3 repliesSuperseded
  3. v42 patches 10 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v32 patches4 repliesSuperseded
v22 patches4 repliesSuperseded

Changes in v6 from the cover letter

- See changelog in patches

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2bootimg-partition: break out code to a common library.meta/lib/oe/bootfiles.py scripts/lib/wic/plugins/source/bootimg-partition.py+59 -370 replies
2/2image-bootfiles.bbclass: new class, copy boot files to root filesystemmeta/classes/image-bootfiles.bbclass+41 -00 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchQuentin SchulzKonrad Weihmann
1/2R-b R-b
2/2R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v6 thread

Cover letter [PATCH v6 0/2] image-bootfiles: new class

The image-bootfiles class is used to put all files listed in IMAGE_BOOT_FILES into the root filesystem.

IMAGE_BOOT_FILES is used by the bootimg-partition wic plugin to put the files into a boot partition.
Be able to list files as "boot files" in e.g. your .conf or image files instead of install those in every recipe is a good thing.

It is not always desired to have a separate boot partition for boot files. Sometimes it could be good to have them as a part of the root filesystem.

For example, if a double copy strategy is used for update the system, then you probably want to update both the boot files and root filesystem at the same time as there may be dependencies.

v2:
- Removed the documentation from the patch series (will be submitted later)
- Break out the parts in bootimg-partition that is used by image-bootfiles to a common library
- Make the destination directory in root filesystem configurable
v3:
- See changelog in patches

v4:
- See changelog in patches

v5:
- See changelog in patches

v6:
- See changelog in patches

Marcus Folkesson (2):
bootimg-partition: break out code to a common library. image-bootfiles.bbclass: new class, copy boot files to root filesystem

 meta/classes/image-bootfiles.bbclass          | 41 +++++++++++++
 meta/lib/oe/bootfiles.py                      | 57 +++++++++++++++++++
 .../wic/plugins/source/bootimg-partition.py   | 39 +------------
 3 files changed, 100 insertions(+), 37 deletions(-)
 create mode 100644 meta/classes/image-bootfiles.bbclass
 create mode 100644 meta/lib/oe/bootfiles.py
Signature · 1 line
2.45.1