get rid of this bothersome lvm unit from initrd

This commit is contained in:
Bruce Leidl 2018-03-27 22:27:20 -04:00
parent 7f2d240480
commit 908440a1d0

View File

@ -104,3 +104,9 @@ inherit core-image
IMAGE_ROOTFS_SIZE = "8192" IMAGE_ROOTFS_SIZE = "8192"
IMAGE_ROOTFS_EXTRA_SPACE = "0" IMAGE_ROOTFS_EXTRA_SPACE = "0"
ROOTFS_POSTPROCESS_COMMAND += "remove_blk_availability; "
remove_blk_availability() {
rm ${IMAGE_ROOTFS}${systemd_system_unitdir}/blk-availability.service
}