----- Marcus Schäfer <ms@suse.de> 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
in openSUSE 12.2 images, "vgs" is not found but kiwi does not fail: https://build.opensuse.org/package/rawlog?arch=armv7l&package=JeOS-beagle&project=home%3AGuillaume_G%3Abranches%3AopenSUSE%3A12.2%3AARM&repository=images Was kiwi changed with "vgs not found" between 5.04.21 and 5.04.23? Guillaume
Regards, Marcus -- Public Key available gpg --keyserver gpg-keyserver.de --recv-keys 0xCCE3C6A2 ------------------------------------------------------- Marcus Schäfer (Res. & Dev.) SUSE LINUX Products GmbH Tel: 0911-740 53 0 Maxfeldstrasse 5 FAX: 0911-740 53 479 D-90409 Nürnberg GF: Jeff Hawn,Jennifer Guild, Felix Imendörffer HRB: 21284 (AG Nürnberg) Germany http://www.suse.de -------------------------------------------------------
-- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org