public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
* [PATCH v4 0/2] image-bootfiles: new class
@ 2024-05-30  9:53 Marcus Folkesson
  2024-05-30  9:53 ` [PATCH v4 1/2] bootimg-partition: break out code to a common library Marcus Folkesson
                   ` (3 more replies)
  0 siblings, 4 replies; 13+ messages in thread
From: Marcus Folkesson @ 2024-05-30  9:53 UTC (permalink / raw)
  To: openembedded-core, Quentin Schulz; +Cc: Marcus Folkesson

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

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          | 38 +++++++++++++
 meta/lib/oe/bootfiles.py                      | 57 +++++++++++++++++++
 .../wic/plugins/source/bootimg-partition.py   | 39 +------------
 3 files changed, 97 insertions(+), 37 deletions(-)
 create mode 100644 meta/classes/image-bootfiles.bbclass
 create mode 100644 meta/lib/oe/bootfiles.py

-- 
2.45.1



^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2024-07-22  7:36 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-30  9:53 [PATCH v4 0/2] image-bootfiles: new class Marcus Folkesson
2024-05-30  9:53 ` [PATCH v4 1/2] bootimg-partition: break out code to a common library Marcus Folkesson
2024-05-30  9:53 ` [PATCH v4 2/2] image-bootfiles.bbclass: new class, copy boot files to root filesystem Marcus Folkesson
2024-05-31 12:09   ` Quentin Schulz
2024-06-16  4:26   ` Konrad Weihmann
2024-06-17  6:23     ` [OE-core] " Marcus Folkesson
2024-06-11 10:37 ` [OE-core] [PATCH v4 0/2] image-bootfiles: new class Ross Burton
2024-06-11 13:22   ` Marcus Folkesson
2024-06-11 14:44     ` Martin Hundebøll
2024-06-11 15:04       ` Marcus Folkesson
2024-07-16 11:28     ` Ross Burton
2024-07-22  7:36       ` Marcus Folkesson
2024-06-14 20:25 ` Marcus Folkesson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox