summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/initrdscripts/initramfs-module-install-efi_1.0.bb
diff options
context:
space:
mode:
authorCalifornia Sullivan <california.l.sullivan@intel.com>2017-09-01 17:04:58 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-09-11 17:30:09 +0100
commite4cc1a22dd4fc9b3b12808c86213eb613f1ecb51 (patch)
treeec4d9791a41c111571637e706dfe752e2a8d09e0 /meta/recipes-core/initrdscripts/initramfs-module-install-efi_1.0.bb
parent43b1475afcbfe5aaa741e40d6a81f52763010822 (diff)
downloadopenembedded-core-contrib-e4cc1a22dd4fc9b3b12808c86213eb613f1ecb51.tar.gz
openembedded-core-contrib-e4cc1a22dd4fc9b3b12808c86213eb613f1ecb51.tar.bz2
openembedded-core-contrib-e4cc1a22dd4fc9b3b12808c86213eb613f1ecb51.zip
initramfs-framework: split setup-live and install-efi into separate recipes
Having these the initramfs-framework recipe forced initramfs-framework users to build several tools they didn't need, and made it more difficult to declare the recipe as allarch. Fixes [YOCTO #12024]. Signed-off-by: California Sullivan <california.l.sullivan@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-core/initrdscripts/initramfs-module-install-efi_1.0.bb')
-rw-r--r--meta/recipes-core/initrdscripts/initramfs-module-install-efi_1.0.bb18
1 files changed, 18 insertions, 0 deletions
diff --git a/meta/recipes-core/initrdscripts/initramfs-module-install-efi_1.0.bb b/meta/recipes-core/initrdscripts/initramfs-module-install-efi_1.0.bb
new file mode 100644
index 0000000000..8143f315fd
--- /dev/null
+++ b/meta/recipes-core/initrdscripts/initramfs-module-install-efi_1.0.bb
@@ -0,0 +1,18 @@
+SUMMARY = "initramfs-framework module for installation option"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
+RDEPENDS_${PN} = "initramfs-framework-base parted e2fsprogs-mke2fs dosfstools util-linux-blkid"
+
+PR = "r1"
+
+FILESEXTRAPATHS_prepend := "${THISDIR}/initramfs-framework:"
+SRC_URI = "file://install-efi.sh"
+
+S = "${WORKDIR}"
+
+do_install() {
+ install -d ${D}/init.d
+ install -m 0755 ${WORKDIR}/install-efi.sh ${D}/init.d/install-efi.sh
+}
+
+FILES_${PN} = "/init.d/install-efi.sh"