1
0
mirror of https://github.com/lxsang/meta-rpi-diya.git synced 2026-04-09 11:32:31 +02:00

remove lvm in initramfs

This commit is contained in:
DanyLE
2023-08-01 15:01:27 +02:00
parent 19d0f0e84c
commit 8802d3b491
3 changed files with 1 additions and 17 deletions

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
}