aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArmin Kuster <akuster808@gmail.com>2018-11-29 17:21:44 -0800
committerArmin Kuster <akuster808@gmail.com>2018-12-31 09:01:46 -0800
commit80aa876b7f5b4304fbc2321795913b0c6424ac08 (patch)
tree659b454e11c8013a4b9757f533fdb10a60aa7ea3
parent6b18e4effaa070173c652799a9a849123c586b36 (diff)
downloadmeta-openembedded-contrib-80aa876b7f5b4304fbc2321795913b0c6424ac08.tar.gz
meta-openembedded-contrib-80aa876b7f5b4304fbc2321795913b0c6424ac08.tar.bz2
meta-openembedded-contrib-80aa876b7f5b4304fbc2321795913b0c6424ac08.zip
meta-initramfs: add pkg group and image
Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r--meta-initramfs/recipes-core/images/meta-initramfs-image.bb8
-rw-r--r--meta-initramfs/recipes-core/packagegroups/packagegroup-meta-initramfs.bb36
2 files changed, 44 insertions, 0 deletions
diff --git a/meta-initramfs/recipes-core/images/meta-initramfs-image.bb b/meta-initramfs/recipes-core/images/meta-initramfs-image.bb
new file mode 100644
index 0000000000..9d70d6d02d
--- /dev/null
+++ b/meta-initramfs/recipes-core/images/meta-initramfs-image.bb
@@ -0,0 +1,8 @@
+SUMMARY = "meta-initramfs build test image"
+
+IMAGE_INSTALL = "packagegroup-core-boot \
+ packagegroup-meta-initramfs"
+
+LICENSE = "MIT"
+
+inherit core-image
diff --git a/meta-initramfs/recipes-core/packagegroups/packagegroup-meta-initramfs.bb b/meta-initramfs/recipes-core/packagegroups/packagegroup-meta-initramfs.bb
new file mode 100644
index 0000000000..bfede5a749
--- /dev/null
+++ b/meta-initramfs/recipes-core/packagegroups/packagegroup-meta-initramfs.bb
@@ -0,0 +1,36 @@
+SUMMARY = "Meta-initramfs packagegroups"
+
+inherit packagegroup
+
+PROVIDES = "${PACKAGES}"
+PACKAGES = ' \
+ packagegroup-meta-initramfs \
+ packagegroup-meta-initramfs-devtools \
+ packagegroup-meta-initramfs-kernel \
+'
+
+RDEPENDS_packagegroup-meta-initramfs = "\
+ packagegroup-meta-initramfs-devtools \
+ packagegroup-meta-initramfs-kernel \
+"
+
+RDEPENDS_packagegroup-meta-initramfs-devtools = "\
+ libklibc dracut \
+ klibc-utils-cat klibc-utils-losetup klibc-utils-readlink klibc-utils-chroot \
+ klibc-utils-ls klibc-utils-reboot klibc-utils-cpio klibc-utils-minips \
+ klibc-utils-resume klibc-utils-dd klibc-utils-mkdir klibc-utils-run-init \
+ klibc-utils-dmesg klibc-utils-mkfifo klibc-utils-sh.shared klibc-utils-false \
+ klibc-utils-mknod klibc-utils-sleep klibc-utils-fstype klibc-utils-mount \
+ klibc-utils-sync klibc-utils-halt klibc-utils-mv klibc-utils-true klibc-utils-ipconfig \
+ klibc-utils-nfsmount klibc-utils-umount klibc-utils-kill klibc-utils-nuke klibc-utils-uname \
+ mtdinfo-klibc ubiattach-klibc ubiblock-klibc ubicrc32-klibc ubidetach-klibc \
+ ubiformat-klibc ubimkvol-klibc ubinfo-klibc ubinize-klibc ubirename-klibc \
+ ubirmvol-klibc ubirsvol-klibc ubiupdatevol-klibc \
+ ${@bb.utils.contains_any("TRANSLATED_TARGET_ARCH", "i586 x86-64", "grubby", "", d)} \
+ "
+
+RDEPENDS_packagegroup-meta-initramfs-kernel = "\
+ kexec-klibc vmcore-dmesg-klibc \
+ "
+
+EXCLUDE_FROM_WORLD = "1"