aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Dechesne <nicolas.dechesne@linaro.org>2019-01-20 23:37:55 +0100
committerNicolas Dechesne <nicolas.dechesne@linaro.org>2019-01-20 23:37:55 +0100
commitac5534350be48102c010a8f705ecfb8b337d3ffb (patch)
treeae1f99d343b6a8915e3b4345fd869a32cd4b5e28
parent23fc10509637ab279e351a2b77bed7726ce0c5c3 (diff)
downloadmeta-qcom-initramfs-framework.tar.gz
meta-qcom-initramfs-framework.tar.bz2
meta-qcom-initramfs-framework.zip
initrafs-bootrr: use initramfs-frameworkinitramfs-framework
OE-core includes its own mechanism to generate initramfs images, through initramfs-framework which provides all basics scripts/tools needed (mount /dev, /proc, /sys, ...), using the 'exec' module from initramfs-framework, we can run programs on boot by simply dropping them into /exec.d/, this can be used for validation and CI. Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
-rw-r--r--recipes-test/images/initramfs-bootrr-image.bb8
1 files changed, 8 insertions, 0 deletions
diff --git a/recipes-test/images/initramfs-bootrr-image.bb b/recipes-test/images/initramfs-bootrr-image.bb
index d813865..21e26bf 100644
--- a/recipes-test/images/initramfs-bootrr-image.bb
+++ b/recipes-test/images/initramfs-bootrr-image.bb
@@ -1,6 +1,14 @@
DESCRIPTION = "Small ramdisk image for running bootrr"
+INITRAMFS_SCRIPTS ?= "\
+ initramfs-framework-base \
+ initramfs-module-udev \
+ initramfs-module-debug \
+ initramfs-module-exec \
+ "
+
PACKAGE_INSTALL = " \
+ ${INITRAMFS_SCRIPTS} \
${ROOTFS_BOOTSTRAP_INSTALL} \
busybox \
base-passwd \