diff --git a/recipes-core/images/core-image-recovery.bb b/recipes-core/images/core-image-recovery.bb index 0e494c4..39bb4ea 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 = "recovery-boot lvm2 busybox ${VIRTUAL-RUNTIME_base-utils} udev base-passwd ${ROOTFS_BOOTSTRAP_INSTALL}" +PACKAGE_INSTALL = "recovery-boot busybox ${VIRTUAL-RUNTIME_base-utils} udev base-passwd ${ROOTFS_BOOTSTRAP_INSTALL}" # Do not pollute the initrd image with rootfs features IMAGE_FEATURES = "" diff --git a/recipes-diya/initramfs/files/lvm b/recipes-diya/initramfs/files/lvm deleted file mode 100644 index 7deeccb..0000000 --- a/recipes-diya/initramfs/files/lvm +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh - -lvm_enabled() { - if ! lvscan |grep -i -w "inactive" &>/dev/null;then - return 1 - fi - return 0 -} - -lvm_run() { - lvm pvscan --cache --activate ay - udevadm trigger --action=add -} diff --git a/recipes-diya/initramfs/recovery-boot_0.1.bb b/recipes-diya/initramfs/recovery-boot_0.1.bb index a6d3965..0e50efa 100644 --- a/recipes-diya/initramfs/recovery-boot_0.1.bb +++ b/recipes-diya/initramfs/recovery-boot_0.1.bb @@ -38,9 +38,6 @@ do_install() { # debug install -m 0755 ${WORKDIR}/debug ${D}/init.d/00-debug - # lvm - install -m 0755 ${WORKDIR}/lvm ${D}/init.d/09-lvm - # Create device nodes expected by some kernels in initramfs # before even executing /init.