1
0
mirror of https://github.com/lxsang/meta-rpi-diya.git synced 2025-08-01 21:50:55 +02:00

Compare commits

...

1 Commits

Author SHA1 Message Date
8802d3b491 remove lvm in initramfs 2023-08-01 15:01:27 +02:00
3 changed files with 1 additions and 17 deletions

View File

@ -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 = ""

View File

@ -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
}

View File

@ -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.