From 715588e72330786837b42ae8b97f586f517442c1 Mon Sep 17 00:00:00 2001 From: DanyLE Date: Wed, 2 Aug 2023 15:59:05 +0200 Subject: [PATCH] add base initscripts to initramfs image --- recipes-core/images/core-image-recovery.bb | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/recipes-core/images/core-image-recovery.bb b/recipes-core/images/core-image-recovery.bb index 03aabfc..faeecf6 100644 --- a/recipes-core/images/core-image-recovery.bb +++ b/recipes-core/images/core-image-recovery.bb @@ -2,7 +2,19 @@ DESCRIPTION = "Recovery initramfs image." -PACKAGE_INSTALL = "recovery-boot dosfstools e2fsprogs util-linux-fsck kernel-modules busybox sysvinit sysvinit-inittab ${VIRTUAL-RUNTIME_base-utils} udev base-passwd ${ROOTFS_BOOTSTRAP_INSTALL}" +PACKAGE_INSTALL = "recovery-boot \ + dosfstools \ + e2fsprogs \ + util-linux-fsck \ + kernel-modules \ + busybox \ + sysvinit \ + sysvinit-inittab \ + ${VIRTUAL-RUNTIME_base-utils} \ + udev \ + initscripts \ + base-passwd \ + ${ROOTFS_BOOTSTRAP_INSTALL}" # Do not pollute the initrd image with rootfs features IMAGE_FEATURES = "" @@ -29,4 +41,6 @@ IMAGE_PREPROCESS_COMMAND += "image_patch;" image_patch () { # delete unused image rm -rf ${IMAGE_ROOTFS}/boot/* + # patch inittab runlevel 6 + } \ No newline at end of file