mbox series

[v3,0/2] Isar installer copy installer-target direct to rootfs

Message ID 20240325153522.2104345-1-Quirin.Gylstorff@siemens.com
Headers show
Series Isar installer copy installer-target direct to rootfs | expand

Message

Quirin Gylstorff March 25, 2024, 3:34 p.m. UTC
From: Quirin Gylstorff <quirin.gylstorff@siemens.com>

This reduce the build time of the isar-installer image as we don't apply
gzip on a already compressed image. Also the sstate size is reduced as
we don't store a package with hundredths of MB.

Changes v3:
  - add missing bmap file
  - support initramfs, install -D -m is greed and sets the permissions
    of the parent folder. Therefore the initramfs could not be
    generated.

Changes v2:
  - split patches into rootfs-add-files and the installer specific
    target

Quirin Gylstorff (2):
  add new class to add files directly to the rootfs
  isar-installer: use rootfs-add-files class instead of seperate package

 .../classes/installer-add-rootfs.bbclass      | 43 ++++++++++++++++++
 .../images/isar-image-installer.bb            |  2 +-
 .../deploy-image/deploy-image_0.1.bb          |  3 +-
 .../store-target-image_0.1.bb                 | 25 -----------
 meta/classes/rootfs-add-files.bbclass         | 45 +++++++++++++++++++
 5 files changed, 90 insertions(+), 28 deletions(-)
 create mode 100644 meta-isar/classes/installer-add-rootfs.bbclass
 delete mode 100644 meta-isar/recipes-installer/store-target-image/store-target-image_0.1.bb
 create mode 100644 meta/classes/rootfs-add-files.bbclass

Comments

Uladzimir Bely April 9, 2024, 5:22 a.m. UTC | #1
On Mon, 2024-03-25 at 16:34 +0100, 'Quirin Gylstorff' via isar-users
wrote:
> From: Quirin Gylstorff <quirin.gylstorff@siemens.com>
> 
> This reduce the build time of the isar-installer image as we don't
> apply
> gzip on a already compressed image. Also the sstate size is reduced
> as
> we don't store a package with hundredths of MB.
> 
> Changes v3:
>   - add missing bmap file
>   - support initramfs, install -D -m is greed and sets the
> permissions
>     of the parent folder. Therefore the initramfs could not be
>     generated.
> 
> Changes v2:
>   - split patches into rootfs-add-files and the installer specific
>     target
> 
> Quirin Gylstorff (2):
>   add new class to add files directly to the rootfs
>   isar-installer: use rootfs-add-files class instead of seperate
> package
> 
>  .../classes/installer-add-rootfs.bbclass      | 43
> ++++++++++++++++++
>  .../images/isar-image-installer.bb            |  2 +-
>  .../deploy-image/deploy-image_0.1.bb          |  3 +-
>  .../store-target-image_0.1.bb                 | 25 -----------
>  meta/classes/rootfs-add-files.bbclass         | 45
> +++++++++++++++++++
>  5 files changed, 90 insertions(+), 28 deletions(-)
>  create mode 100644 meta-isar/classes/installer-add-rootfs.bbclass
>  delete mode 100644 meta-isar/recipes-installer/store-target-
> image/store-target-image_0.1.bb
>  create mode 100644 meta/classes/rootfs-add-files.bbclass
> 
> -- 
> 2.43.0
>