diff options
| author | California Sullivan <california.l.sullivan@intel.com> | 2017-11-14 14:10:09 -0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-11-30 10:49:21 +0000 |
| commit | 91972d58c9fc40cc1d7e568d2457936257f79b45 (patch) | |
| tree | 307607fe783312663857129183d2d88cbfc55dd4 /meta | |
| parent | ccafe3f6f5733082b3947fe0d9e422b64017253b (diff) | |
| download | poky-91972d58c9fc40cc1d7e568d2457936257f79b45.tar.gz | |
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].
(From OE-Core rev: f9d7cf30b12cbc5f642a11c0511dc1dc3ccf1aa5)
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
| -rw-r--r-- | meta/conf/layer.conf | 4 | ||||
| -rw-r--r-- | meta/recipes-core/initrdscripts/initramfs-module-install_1.0.bb | 20 |
2 files changed, 24 insertions, 0 deletions
diff --git a/meta/conf/layer.conf b/meta/conf/layer.conf index 034232474f..67820588d3 100644 --- a/meta/conf/layer.conf +++ b/meta/conf/layer.conf | |||
| @@ -57,6 +57,10 @@ SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS += " \ | |||
| 57 | initramfs-module-install-efi->e2fsprogs \ | 57 | initramfs-module-install-efi->e2fsprogs \ |
| 58 | initramfs-module-install-efi->parted \ | 58 | initramfs-module-install-efi->parted \ |
| 59 | initramfs-module-install-efi->util-linux \ | 59 | initramfs-module-install-efi->util-linux \ |
| 60 | initramfs-module-install->e2fsprogs \ | ||
| 61 | initramfs-module-install->grub \ | ||
| 62 | initramfs-module-install->parted \ | ||
| 63 | initramfs-module-install->util-linux \ | ||
| 60 | liberation-fonts->fontconfig \ | 64 | liberation-fonts->fontconfig \ |
| 61 | cantarell-fonts->fontconfig \ | 65 | cantarell-fonts->fontconfig \ |
| 62 | gnome-icon-theme->librsvg \ | 66 | gnome-icon-theme->librsvg \ |
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 @@ | |||
| 1 | SUMMARY = "initramfs-framework module for installation option" | ||
| 2 | LICENSE = "MIT" | ||
| 3 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" | ||
| 4 | RDEPENDS_${PN} = "initramfs-framework-base grub parted e2fsprogs-mke2fs util-linux-blkid" | ||
| 5 | |||
| 6 | PR = "r1" | ||
| 7 | |||
| 8 | inherit allarch | ||
| 9 | |||
| 10 | FILESEXTRAPATHS_prepend := "${THISDIR}/files:" | ||
| 11 | SRC_URI = "file://init-install.sh" | ||
| 12 | |||
| 13 | S = "${WORKDIR}" | ||
| 14 | |||
| 15 | do_install() { | ||
| 16 | install -d ${D}/init.d | ||
| 17 | install -m 0755 ${WORKDIR}/init-install.sh ${D}/init.d/install.sh | ||
| 18 | } | ||
| 19 | |||
| 20 | FILES_${PN} = "/init.d/install.sh" | ||
