From 264b8c1f48e903ae7593b04f96cb3095635c75fa Mon Sep 17 00:00:00 2001 From: Armin Kuster Date: Sat, 12 Jan 2019 13:31:31 -0800 Subject: meta-initramfs: add pkg group and image Signed-off-by: Armin Kuster Signed-off-by: Khem Raj --- .../recipes-core/images/meta-initramfs-image.bb | 8 +++++ .../packagegroups/packagegroup-meta-initramfs.bb | 36 ++++++++++++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 meta-initramfs/recipes-core/images/meta-initramfs-image.bb create mode 100644 meta-initramfs/recipes-core/packagegroups/packagegroup-meta-initramfs.bb (limited to 'meta-initramfs/recipes-core') 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 000000000..9d70d6d02 --- /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 000000000..bfede5a74 --- /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" -- cgit v1.2.3-54-g00ecf