From: Harald Seiler <hws@denx.de>
To: isar-users@googlegroups.com
Cc: Harald Seiler <hws@denx.de>, Jan Kiszka <jan.kiszka@siemens.com>,
"florian . bezdeka @ siemens . com" <florian.bezdeka@siemens.com>
Subject: [PATCH v4 3/3] Add custom isar-initramfs example
Date: Mon, 18 Jan 2021 11:07:29 +0100 [thread overview]
Message-ID: <20210118100729.138523-3-hws@denx.de> (raw)
In-Reply-To: <20210118100729.138523-1-hws@denx.de>
isar-initramfs is a custom initramfs which additionally has the
initramfs-example module installed. It is also built as part of
the CI.
Signed-off-by: Harald Seiler <hws@denx.de>
---
Notes:
Changes in v3:
- Add this target to ci_build.sh for CI inclusion.
Changes in v4:
- None
.../recipes-initramfs/images/isar-initramfs.bb | 18 ++++++++++++++++++
scripts/ci_build.sh | 1 +
2 files changed, 19 insertions(+)
create mode 100644 meta-isar/recipes-initramfs/images/isar-initramfs.bb
diff --git a/meta-isar/recipes-initramfs/images/isar-initramfs.bb b/meta-isar/recipes-initramfs/images/isar-initramfs.bb
new file mode 100644
index 000000000000..aaa0350aab20
--- /dev/null
+++ b/meta-isar/recipes-initramfs/images/isar-initramfs.bb
@@ -0,0 +1,18 @@
+# Example of a custom initramfs image recipe. The image will be deployed to
+#
+# build/tmp/deploy/images/${MACHINE}/isar-initramfs-${DISTRO}-${MACHINE}.initrd.img
+#
+# This software is a part of ISAR.
+
+inherit initramfs
+
+# Debian packages that should be installed into the system for building the
+# initramfs. E.g. the cryptsetup package which contains initramfs scripts for
+# decrypting a root filesystem.
+INITRAMFS_PREINSTALL += " \
+ "
+
+# Recipes that should be installed into the initramfs build rootfs.
+INITRAMFS_INSTALL += " \
+ initramfs-example \
+ "
diff --git a/scripts/ci_build.sh b/scripts/ci_build.sh
index f4c33a37247e..f6fc5e54f7d3 100755
--- a/scripts/ci_build.sh
+++ b/scripts/ci_build.sh
@@ -28,6 +28,7 @@ TARGETS_SET="\
mc:qemuamd64-stretch:isar-image-base \
mc:qemuamd64-buster:isar-image-base \
mc:qemuamd64-buster-tgz:isar-image-base \
+ mc:qemuamd64-buster:isar-initramfs \
mc:qemumipsel-stretch:isar-image-base \
mc:qemumipsel-buster:isar-image-base \
mc:nand-ubi-demo-buster:isar-image-ubi \
--
2.29.2
next prev parent reply other threads:[~2021-01-18 10:08 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-18 10:07 [PATCH v4 1/3] classes: Add initramfs class Harald Seiler
2021-01-18 10:07 ` [PATCH v4 2/3] Add example initramfs module recipe Harald Seiler
2021-01-18 10:07 ` Harald Seiler [this message]
2021-02-10 9:10 ` [PATCH v4 1/3] classes: Add initramfs class Anton Mikanovich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210118100729.138523-3-hws@denx.de \
--to=hws@denx.de \
--cc=florian.bezdeka@siemens.com \
--cc=isar-users@googlegroups.com \
--cc=jan.kiszka@siemens.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox