summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/initrdscripts/initramfs-module-install_1.0.bb
diff options
context:
space:
mode:
authorCalifornia Sullivan <california.l.sullivan@intel.com>2017-11-14 14:10:09 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-11-29 23:41:35 +0000
commitf9d7cf30b12cbc5f642a11c0511dc1dc3ccf1aa5 (patch)
tree300b47c6466ad9dd978f9833b65f163d0195e5ea /meta/recipes-core/initrdscripts/initramfs-module-install_1.0.bb
parent366ddd22245a72df4c8e561761c6df8a6654bba6 (diff)
downloadopenembedded-core-contrib-f9d7cf30b12cbc5f642a11c0511dc1dc3ccf1aa5.tar.gz
openembedded-core-contrib-f9d7cf30b12cbc5f642a11c0511dc1dc3ccf1aa5.tar.bz2
openembedded-core-contrib-f9d7cf30b12cbc5f642a11c0511dc1dc3ccf1aa5.zip
initramfs-framework: add install module
The non-EFI counterpart for installation was previously missing for initramfs-framework. This simply puts the normal install script in the correct location for initramfs-framework to make use of it. Partial fix for [YOCTO #12346]. 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_1.0.bb')
-rw-r--r--meta/recipes-core/initrdscripts/initramfs-module-install_1.0.bb20
1 files changed, 20 insertions, 0 deletions
diff --git a/meta/recipes-core/initrdscripts/initramfs-module-install_1.0.bb b/meta/recipes-core/initrdscripts/initramfs-module-install_1.0.bb
new file mode 100644
index 0000000000..ce7f165bfe
--- /dev/null
+++ b/meta/recipes-core/initrdscripts/initramfs-module-install_1.0.bb
@@ -0,0 +1,20 @@
+SUMMARY = "initramfs-framework module for installation option"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
+RDEPENDS_${PN} = "initramfs-framework-base grub parted e2fsprogs-mke2fs util-linux-blkid"
+
+PR = "r1"
+
+inherit allarch
+
+FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
+SRC_URI = "file://init-install.sh"
+
+S = "${WORKDIR}"
+
+do_install() {
+ install -d ${D}/init.d
+ install -m 0755 ${WORKDIR}/init-install.sh ${D}/init.d/install.sh
+}
+
+FILES_${PN} = "/init.d/install.sh"