In my comment #11 i did some mistake in "3)" I copied the wrong command for changing the use_lvmetad parameter temporarily. I missed the "-i" for sed.
To not confuse someone here is the corrected part:
# Replace use_lvmetad=1 with use_lvmetad=0 sed -i -E 's/(^\s*use_lvmetad\s*=\s*)(1)(\s*.*$)/\10\3/' ${DESTDIR}/etc/lvm/lvm.conf
In my comment #11 i did some mistake in "3)"
I copied the wrong command for changing the use_lvmetad parameter temporarily. I missed the "-i" for sed.
To not confuse someone here is the corrected part:
# Replace use_lvmetad=1 with use_lvmetad=0 use_lvmetad\ s*=\s*) (1)(\s* .*$)/\10\ 3/' ${DESTDIR} /etc/lvm/ lvm.conf
sed -i -E 's/(^\s*