diff options
-rw-r--r-- | meta/recipes-core/initrdscripts/initramfs-framework_1.0.bb | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/meta/recipes-core/initrdscripts/initramfs-framework_1.0.bb b/meta/recipes-core/initrdscripts/initramfs-framework_1.0.bb index f7b47d9d8fd..9093cca5f8b 100644 --- a/meta/recipes-core/initrdscripts/initramfs-framework_1.0.bb +++ b/meta/recipes-core/initrdscripts/initramfs-framework_1.0.bb @@ -14,7 +14,8 @@ SRC_URI = "file://init \ file://udev \ file://e2fs \ file://debug \ - file://setup-live" + file://setup-live \ + file://init-install-efi.sh" S = "${WORKDIR}" @@ -39,6 +40,9 @@ do_install() { # debug install -m 0755 ${WORKDIR}/debug ${D}/init.d/00-debug + # installation + install -m 0755 ${WORKDIR}/init-install-efi.sh ${D}/init.d/install-efi.sh + # Create device nodes expected by some kernels in initramfs # before even executing /init. install -d ${D}/dev @@ -50,7 +54,8 @@ PACKAGES = "${PN}-base \ initramfs-module-udev \ initramfs-module-e2fs \ initramfs-module-rootfs \ - initramfs-module-debug" + initramfs-module-debug \ + initramfs-module-install" FILES_${PN}-base = "/init /init.d/99-finish /init.d/80-setup-live /dev" @@ -81,3 +86,7 @@ FILES_initramfs-module-rootfs = "/init.d/90-rootfs" SUMMARY_initramfs-module-debug = "initramfs dynamic debug support" RDEPENDS_initramfs-module-debug = "${PN}-base" FILES_initramfs-module-debug = "/init.d/00-debug" + +SUMMARY_initramfs-module-install = "initramfs support for installation option" +RDEPENDS_initramfs-module-install = "${PN}-base parted e2fsprogs-mke2fs dosfstools util-linux-blkid" +FILES_initramfs-module-install = "/init.d/install-efi.sh" |