mirror of
https://github.com/lxsang/meta-rpi-diya.git
synced 2024-11-08 06:28:23 +01:00
remove lvm in initramfs
This commit is contained in:
parent
19d0f0e84c
commit
8802d3b491
@ -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 = ""
|
||||
|
@ -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
|
||||
}
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user