public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH 0/7] Simplify writing initramfs hooks
@ 2024-11-11 20:50 'Jan Kiszka' via isar-users
  2024-11-11 20:50 ` [PATCH 1/7] initramfs-hook: Add infrastructure to ease writing hooks 'Jan Kiszka' via isar-users
                   ` (6 more replies)
  0 siblings, 7 replies; 12+ messages in thread
From: 'Jan Kiszka' via isar-users @ 2024-11-11 20:50 UTC (permalink / raw)
  To: isar-users; +Cc: Quirin Gylstorff

Specifically while looking at the initramfs recipes we have in
isar-cip-core, it felt like it's time to simplify their creation and
offload the developers from all the related boilerplate bits. But the
benefit can also be observed with the initramfs recipes in isar itself.

Jan

Jan Kiszka (7):
  initramfs-hook: Add infrastructure to ease writing hooks
  doc: Describe initramfs customizations
  isar-initramfs: Add initramfs-fsck-hook-ext4
  initramfs-isar-example-hook: Convert recipe over to new hook.inc
  initramfs-fsck-ext4-hook: Convert to hook.inc and improve
  initramfs-tee-ftpm-hook: Convert to hook.inc
  initramfs-tee-supplicant-hook: Convert to hook.inc

 doc/user_manual.md                            | 54 ++++++++++++++
 .../images/isar-initramfs.bb                  |  3 +-
 .../initramfs-example/files/example.hook      | 21 ------
 .../initramfs-example/files/example.script    | 23 ------
 .../initramfs-example/files/local-top         |  3 +
 ....bb => initramfs-isar-example-hook_0.1.bb} | 21 ++----
 .../files/initramfs-fsck-hook-ext4.triggers   |  0
 .../initramfs-fsck-ext4-hook_0.3.bb           | 14 ++++
 .../initramfs-hook/files/hook-header.tmpl     | 39 ++++++++++
 .../initramfs-hook/files/script-header.tmpl   | 26 +++++++
 .../recipes-initramfs/initramfs-hook/hook.inc | 74 +++++++++++++++++++
 .../files/{tee-ftpm.script => local-top}      | 18 +----
 .../files/tee-ftpm.hook                       | 28 -------
 .../initramfs-tee-ftpm-hook_0.1.bb            | 27 -------
 .../initramfs-tee-ftpm-hook_0.2.bb            | 15 ++++
 .../{tee-supplicant.script => local-top}      | 18 +----
 .../files/tee-supplicant.hook                 | 36 ---------
 .../initramfs-tee-supplicant-hook_0.1.bb      | 27 -------
 .../initramfs-tee-supplicant-hook_0.2.bb      | 16 ++++
 .../files/initramfs.fsck.ext4.hook            | 39 ----------
 .../initramfs-fsck-hook-ext4_0.2.bb           | 18 -----
 21 files changed, 252 insertions(+), 268 deletions(-)
 delete mode 100644 meta-isar/recipes-initramfs/initramfs-example/files/example.hook
 delete mode 100644 meta-isar/recipes-initramfs/initramfs-example/files/example.script
 create mode 100644 meta-isar/recipes-initramfs/initramfs-example/files/local-top
 rename meta-isar/recipes-initramfs/initramfs-example/{initramfs-example.bb => initramfs-isar-example-hook_0.1.bb} (63%)
 rename meta/{recipes-support => recipes-initramfs}/initramfs-fsck-hook/files/initramfs-fsck-hook-ext4.triggers (100%)
 create mode 100644 meta/recipes-initramfs/initramfs-fsck-hook/initramfs-fsck-ext4-hook_0.3.bb
 create mode 100644 meta/recipes-initramfs/initramfs-hook/files/hook-header.tmpl
 create mode 100644 meta/recipes-initramfs/initramfs-hook/files/script-header.tmpl
 create mode 100644 meta/recipes-initramfs/initramfs-hook/hook.inc
 rename meta/recipes-initramfs/initramfs-tee-ftpm-hook/files/{tee-ftpm.script => local-top} (75%)
 delete mode 100644 meta/recipes-initramfs/initramfs-tee-ftpm-hook/files/tee-ftpm.hook
 delete mode 100644 meta/recipes-initramfs/initramfs-tee-ftpm-hook/initramfs-tee-ftpm-hook_0.1.bb
 create mode 100644 meta/recipes-initramfs/initramfs-tee-ftpm-hook/initramfs-tee-ftpm-hook_0.2.bb
 rename meta/recipes-initramfs/initramfs-tee-supplicant-hook/files/{tee-supplicant.script => local-top} (68%)
 delete mode 100644 meta/recipes-initramfs/initramfs-tee-supplicant-hook/files/tee-supplicant.hook
 delete mode 100644 meta/recipes-initramfs/initramfs-tee-supplicant-hook/initramfs-tee-supplicant-hook_0.1.bb
 create mode 100644 meta/recipes-initramfs/initramfs-tee-supplicant-hook/initramfs-tee-supplicant-hook_0.2.bb
 delete mode 100644 meta/recipes-support/initramfs-fsck-hook/files/initramfs.fsck.ext4.hook
 delete mode 100644 meta/recipes-support/initramfs-fsck-hook/initramfs-fsck-hook-ext4_0.2.bb

-- 
2.43.0

-- 
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/cover.1731358224.git.jan.kiszka%40siemens.com.

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

end of thread, other threads:[~2024-11-13  7:48 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-11-11 20:50 [PATCH 0/7] Simplify writing initramfs hooks 'Jan Kiszka' via isar-users
2024-11-11 20:50 ` [PATCH 1/7] initramfs-hook: Add infrastructure to ease writing hooks 'Jan Kiszka' via isar-users
2024-11-12 10:00   ` 'Quirin Gylstorff' via isar-users
2024-11-12 10:14   ` 'Quirin Gylstorff' via isar-users
2024-11-13  6:43     ` 'Jan Kiszka' via isar-users
2024-11-13  7:47   ` [PATCH v2 " 'Jan Kiszka' via isar-users
2024-11-11 20:50 ` [PATCH 2/7] doc: Describe initramfs customizations 'Jan Kiszka' via isar-users
2024-11-11 20:50 ` [PATCH 3/7] isar-initramfs: Add initramfs-fsck-hook-ext4 'Jan Kiszka' via isar-users
2024-11-11 20:50 ` [PATCH 4/7] initramfs-isar-example-hook: Convert recipe over to new hook.inc 'Jan Kiszka' via isar-users
2024-11-11 20:50 ` [PATCH 5/7] initramfs-fsck-ext4-hook: Convert to hook.inc and improve 'Jan Kiszka' via isar-users
2024-11-11 20:50 ` [PATCH 6/7] initramfs-tee-ftpm-hook: Convert to hook.inc 'Jan Kiszka' via isar-users
2024-11-11 20:50 ` [PATCH 7/7] initramfs-tee-supplicant-hook: " 'Jan Kiszka' via isar-users

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