mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 21:09:03 +02:00
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>
This commit is contained in:
parent
ccafe3f6f5
commit
91972d58c9
|
@ -57,6 +57,10 @@ SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS += " \
|
|||
initramfs-module-install-efi->e2fsprogs \
|
||||
initramfs-module-install-efi->parted \
|
||||
initramfs-module-install-efi->util-linux \
|
||||
initramfs-module-install->e2fsprogs \
|
||||
initramfs-module-install->grub \
|
||||
initramfs-module-install->parted \
|
||||
initramfs-module-install->util-linux \
|
||||
liberation-fonts->fontconfig \
|
||||
cantarell-fonts->fontconfig \
|
||||
gnome-icon-theme->librsvg \
|
||||
|
|
|
@ -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"
|
Loading…
Reference in New Issue
Block a user