Le 08/11/2012 08:50, Marcus Schäfer a écrit :
Hi,
ARM images fail to build because it does not find "vgs" whereas lvm2 package is installed. Hmm, if lvm2 is install on the kiwi building host it should not complain Yes, it should. On a local build, I reproduced the problem and lvm2 is installed (seen in the log) but when I go to the build-root folder, no executables from this package are in sbin/ folder but they are in usr/src/packages/KIWIROOT-oem/sbin/. 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? Guillaume
Thanks
Regards, Marcus
-- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org