diff --git a/recipes-core/images/core-image-recovery.bb b/recipes-core/images/core-image-recovery.bb index cb95a4d..575e96e 100644 --- a/recipes-core/images/core-image-recovery.bb +++ b/recipes-core/images/core-image-recovery.bb @@ -2,7 +2,7 @@ DESCRIPTION = "Recovery initramfs image." -PACKAGE_INSTALL = "busybox ${VIRTUAL-RUNTIME_base-utils} udev base-passwd ${ROOTFS_BOOTSTRAP_INSTALL}" +PACKAGE_INSTALL = "initramfs-boot busybox ${VIRTUAL-RUNTIME_base-utils} udev base-passwd ${ROOTFS_BOOTSTRAP_INSTALL}" # Do not pollute the initrd image with rootfs features IMAGE_FEATURES = "" @@ -23,11 +23,4 @@ IMAGE_ROOTFS_EXTRA_SPACE = "0" COMPATIBLE_HOST = '(x86_64.*|i.86.*|arm.*|aarch64.*)-(linux.*|freebsd.*)' -python tinyinitrd () { - # Modify our init file so the user knows we drop to shell prompt on purpose - newinit = "/bin/busybox sh init" - with open(d.expand('${IMAGE_ROOTFS}/init'), 'w') as init: - init.write(newinit) -} - IMAGE_PREPROCESS_COMMAND += "tinyinitrd;" \ No newline at end of file