![](https://seccdn.libravatar.org/avatar/eeee970188aaff5989ec40df8a5a46d9.jpg?s=120&d=mm&r=g)
Le 08/11/2012 09:23, Marcus Schäfer a écrit :
Hi,
Sorry I don't get it ? kiwi uses the vgs command when building the image thus it needs to be installed on the system where you have installed kiwi. Therefore the check __hasValidLVMName() in KIWIRuntimeChecker.pm exists and complains if it can't find vgs
Is it this problem we are talking about or am I totally misunderstanding the concern here ? Yes, that is it. Sorry if I was unclear.
When I am talking about "local build", I mean an OBS local build (e.g. osc build images armv5el JeOS.armv5.kiwi). And when I look at the image build log, I see lvm2 is downloaded and installed, but when I go to the buildroot (/var/tmp/build-root/) and I am looking for vgs (find -name vgs), it is found (only) in "usr/src/packages/KIWIROOT-oem/sbin/vgs" and image fails with vgs not found: ******************************************************************************** [ 1513s] Nov-07 09:20:00 <1> : EXEC [bash -c "PATH=$PATH:/sbin which mkfs.ext3" 2>&1] [ 1513s] Nov-07 09:20:00 <1> : EXEC [bash -c "PATH=$PATH:/sbin which zypper" 2>&1] [ 1513s] Nov-07 09:20:00 <1> : EXEC [bash -c "PATH=$PATH:/sbin which vgs" 2>&1] [ 1513s] Nov-07 09:20:00 <1> : warning: vgs not found [ 1513s] Nov-07 09:20:00 <3> : LVM definition in configuration being processed, but necessary tools not found on system. [ 1513s] Nov-07 09:20:00 <3> : KIWI exited with error(s) ********************************************************************************
Should "vgs" be installed elsewhere? ah ok now I understand. the buildservice should install lvm2 as part of the buildsystem. I think that can be achieved if you change your prjconf
osc meta -e prjconf
and add something like
requires lvm2
I'm not 100% shure but Adrian knows it definitly :) CC'ed him
Adrian?
Regards, Marcus
-- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org