mirror of
https://github.com/lxsang/meta-rpi-diya.git
synced 2025-08-01 21:50:55 +02:00
remove lvm in initramfs
This commit is contained in:
@ -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.
|
||||
|
Reference in New Issue
Block a user