[opensuse-buildservice] Build : Kiwi + obs -> vagrant box
Hi, Is there a method to generate vagrant box (Especially for centos) with obs ? I tried several things without success in my home (https://build.opensuse.org/package/show/home:T1loc:Images/vagrant-box-centos...) I missing dependencies for centos ... : zypper, btrfsprogs. Thank you for your help -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 12/23/2014 10:27 AM, Florian Leparoux wrote:
Hi,
Is there a method to generate vagrant box (Especially for centos) with obs ?
I tried several things without success in my home (https://build.opensuse.org/package/show/home:T1loc:Images/vagrant-box-centos...)
I missing dependencies for centos ... : zypper, btrfsprogs.
You specified zypper as the package manager to use: <packagemanager>zypper</packagemanager> I do not know if zypper is built for Centos. I think you probably want to use yum. HTH, Robert - -- Robert Schweikert MAY THE SOURCE BE WITH YOU Public Cloud Architect LINUX rjschwei@suse.com 781-464-8147 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQEcBAEBAgAGBQJUmY0jAAoJEE4FgL32d2UkpUAIAJoNoQLKE4eHDYSK9peRwd7J rKGGLuWBfNHVAfXfuw/txjymmz7UfIm8XRyJo6jqo2JTOAFYvDJ6iWcDkoD/sTuU ZMI8nSWttf0m9oBr3VrfwfAm1ddBPQ4AC4k2TVgYCccIQZ4OxXLRIJkEWxFd81nh BxaKM6hqFmHSUol+h07l/PA5Qaune0yRSk9xP2MhufRb0DVX3oedbsEGtmO/KEug nD5JcUAJJpdWCHDKmJKC2TZX6BZQQn51SoJwR5pzIsRxRq8GSQ2vZdY2a3jMXGlz X9gSmoqZMfoRVc+xQVpMagBSxOqqE/LFc/6xpOJ1FqwuZ03TJt5tJYYZm4d2ifE= =eE8T -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Hi, Thanks for your reply. If I change zypper by yum I get : unresolvable: nothing provides kiwi-packagemanager:yum Regards, Le 23/12/2014 16:41, Robert Schweikert a écrit :
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 12/23/2014 10:27 AM, Florian Leparoux wrote:
Hi,
Is there a method to generate vagrant box (Especially for centos) with obs ?
I tried several things without success in my home (https://build.opensuse.org/package/show/home:T1loc:Images/vagrant-box-centos...)
I missing dependencies for centos ... : zypper, btrfsprogs. You specified zypper as the package manager to use:
<packagemanager>zypper</packagemanager>
I do not know if zypper is built for Centos. I think you probably want to use yum.
HTH, Robert
- -- Robert Schweikert MAY THE SOURCE BE WITH YOU Public Cloud Architect LINUX rjschwei@suse.com 781-464-8147 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux)
iQEcBAEBAgAGBQJUmY0jAAoJEE4FgL32d2UkpUAIAJoNoQLKE4eHDYSK9peRwd7J rKGGLuWBfNHVAfXfuw/txjymmz7UfIm8XRyJo6jqo2JTOAFYvDJ6iWcDkoD/sTuU ZMI8nSWttf0m9oBr3VrfwfAm1ddBPQ4AC4k2TVgYCccIQZ4OxXLRIJkEWxFd81nh BxaKM6hqFmHSUol+h07l/PA5Qaune0yRSk9xP2MhufRb0DVX3oedbsEGtmO/KEug nD5JcUAJJpdWCHDKmJKC2TZX6BZQQn51SoJwR5pzIsRxRq8GSQ2vZdY2a3jMXGlz X9gSmoqZMfoRVc+xQVpMagBSxOqqE/LFc/6xpOJ1FqwuZ03TJt5tJYYZm4d2ifE= =eE8T -----END PGP SIGNATURE-----
-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 12/23/2014 10:45 AM, Florian Leparoux wrote:
Hi,
Thanks for your reply.
If I change zypper by yum I get : unresolvable: nothing provides kiwi-packagemanager:yum
This needs to be set in the project config Substritute: kiwi-packagemanager:yum yum Later, Robert - -- Robert Schweikert MAY THE SOURCE BE WITH YOU Public Cloud Architect LINUX rjschwei@suse.com 781-464-8147 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQEcBAEBAgAGBQJUmZfWAAoJEE4FgL32d2Uk3m8H/313tvJjqbfHFrBSYJlii606 I2DrWJ4Ipcs7Z6ioLmRUSziWUkbyfYM83lPkVhFMWFsxI6nEeFfaH3e6XXiRY6PO EhMEEcsV8FcKVlHmTfNaG+Kzu8iaAA24FjN3wtjBiPou32diLx50p281hktEuWf6 T9QC7XkrNngvCEXe9Zc4YO1V7uOpPimub9Co30Hn8Tp7gR96md3hhXNSCEHaiqWj dJIedlFuX/X1ILdjdq+1DcqnrpK17CQsRythvIFND+sBR7tMKzEl0NGiublrAWAL lTKN9DJPUDmq17gpgErg4HmrkxTi+VdjKFhVZeCh/nixDw7mgQM8bVuI2g696oI= =r/ii -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
The Substitute works. I will try to fix other errors. Thanks Robert, But Le 23/12/2014 17:27, Robert Schweikert a écrit :
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 12/23/2014 10:45 AM, Florian Leparoux wrote:
Hi,
Thanks for your reply.
If I change zypper by yum I get : unresolvable: nothing provides kiwi-packagemanager:yum This needs to be set in the project config
Substritute: kiwi-packagemanager:yum yum
Later, Robert
- -- Robert Schweikert MAY THE SOURCE BE WITH YOU Public Cloud Architect LINUX rjschwei@suse.com 781-464-8147 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux)
iQEcBAEBAgAGBQJUmZfWAAoJEE4FgL32d2Uk3m8H/313tvJjqbfHFrBSYJlii606 I2DrWJ4Ipcs7Z6ioLmRUSziWUkbyfYM83lPkVhFMWFsxI6nEeFfaH3e6XXiRY6PO EhMEEcsV8FcKVlHmTfNaG+Kzu8iaAA24FjN3wtjBiPou32diLx50p281hktEuWf6 T9QC7XkrNngvCEXe9Zc4YO1V7uOpPimub9Co30Hn8Tp7gR96md3hhXNSCEHaiqWj dJIedlFuX/X1ILdjdq+1DcqnrpK17CQsRythvIFND+sBR7tMKzEl0NGiublrAWAL lTKN9DJPUDmq17gpgErg4HmrkxTi+VdjKFhVZeCh/nixDw7mgQM8bVuI2g696oI= =r/ii -----END PGP SIGNATURE-----
-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Hi, It's possible to show the content of : $oses array ? Because I think that the value of os when I build for centos do not match with rhel-06.0 ( The link : https://build.opensuse.org/package/view_file/Virtualization:Appliances/kiwi/...) Regards Le 23/12/2014 17:27, Robert Schweikert a écrit :
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 12/23/2014 10:45 AM, Florian Leparoux wrote:
Hi,
Thanks for your reply.
If I change zypper by yum I get : unresolvable: nothing provides kiwi-packagemanager:yum This needs to be set in the project config
Substritute: kiwi-packagemanager:yum yum
Later, Robert
- -- Robert Schweikert MAY THE SOURCE BE WITH YOU Public Cloud Architect LINUX rjschwei@suse.com 781-464-8147 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux)
iQEcBAEBAgAGBQJUmZfWAAoJEE4FgL32d2Uk3m8H/313tvJjqbfHFrBSYJlii606 I2DrWJ4Ipcs7Z6ioLmRUSziWUkbyfYM83lPkVhFMWFsxI6nEeFfaH3e6XXiRY6PO EhMEEcsV8FcKVlHmTfNaG+Kzu8iaAA24FjN3wtjBiPou32diLx50p281hktEuWf6 T9QC7XkrNngvCEXe9Zc4YO1V7uOpPimub9Co30Hn8Tp7gR96md3hhXNSCEHaiqWj dJIedlFuX/X1ILdjdq+1DcqnrpK17CQsRythvIFND+sBR7tMKzEl0NGiublrAWAL lTKN9DJPUDmq17gpgErg4HmrkxTi+VdjKFhVZeCh/nixDw7mgQM8bVuI2g696oI= =r/ii -----END PGP SIGNATURE-----
-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Hi, I found the problem, it seems to be the kiwi.spec and precisely when obs try to parse this : %(eval "`%{__perl} -V:version`"; echo $version) or %if 0%{?centos} %define mysystems %(echo `VER=%{centos} echo "centos-0${VER:0:1}.${VER:1:2}"`) %endif If I set the version manually, I able to fix my errors. The build error : [ 14s] Warning: spec file parser line 78: can't expand %(...) [ 14s] Warning: spec file parser line 349: can't expand %(...) [ 14s] Warning: spec file parser line 423: can't expand %(...) [ 14s] Warning: spec file parser line 478: can't expand %(...) [ 14s] Warning: spec file parser line 537: can't expand %(...) Regards. Le 23/12/2014 17:27, Robert Schweikert a écrit :
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 12/23/2014 10:45 AM, Florian Leparoux wrote:
Hi,
Thanks for your reply.
If I change zypper by yum I get : unresolvable: nothing provides kiwi-packagemanager:yum This needs to be set in the project config
Substritute: kiwi-packagemanager:yum yum
Later, Robert
- -- Robert Schweikert MAY THE SOURCE BE WITH YOU Public Cloud Architect LINUX rjschwei@suse.com 781-464-8147 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux)
iQEcBAEBAgAGBQJUmZfWAAoJEE4FgL32d2Uk3m8H/313tvJjqbfHFrBSYJlii606 I2DrWJ4Ipcs7Z6ioLmRUSziWUkbyfYM83lPkVhFMWFsxI6nEeFfaH3e6XXiRY6PO EhMEEcsV8FcKVlHmTfNaG+Kzu8iaAA24FjN3wtjBiPou32diLx50p281hktEuWf6 T9QC7XkrNngvCEXe9Zc4YO1V7uOpPimub9Co30Hn8Tp7gR96md3hhXNSCEHaiqWj dJIedlFuX/X1ILdjdq+1DcqnrpK17CQsRythvIFND+sBR7tMKzEl0NGiublrAWAL lTKN9DJPUDmq17gpgErg4HmrkxTi+VdjKFhVZeCh/nixDw7mgQM8bVuI2g696oI= =r/ii -----END PGP SIGNATURE-----
-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Hi, I overstepped several problem but now I'm stuck on this one : [ 109s] Dec-30 17:21:50 <3> : yum: Error: Cannot retrieve repository metadata (repomd.xml) for repository: base. Please verify its path and try again [ 109s] Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os error was [ 109s] 14: PYCURL ERROR 6 - "Couldn't resolve host 'mirrorlist.centos.org'" I don't know how to solve this problem :-/ Thanks for your help. Regards, Florian. Le 23/12/2014 17:27, Robert Schweikert a écrit :
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 12/23/2014 10:45 AM, Florian Leparoux wrote:
Hi,
Thanks for your reply.
If I change zypper by yum I get : unresolvable: nothing provides kiwi-packagemanager:yum This needs to be set in the project config
Substritute: kiwi-packagemanager:yum yum
Later, Robert
- -- Robert Schweikert MAY THE SOURCE BE WITH YOU Public Cloud Architect LINUX rjschwei@suse.com 781-464-8147 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux)
iQEcBAEBAgAGBQJUmZfWAAoJEE4FgL32d2Uk3m8H/313tvJjqbfHFrBSYJlii606 I2DrWJ4Ipcs7Z6ioLmRUSziWUkbyfYM83lPkVhFMWFsxI6nEeFfaH3e6XXiRY6PO EhMEEcsV8FcKVlHmTfNaG+Kzu8iaAA24FjN3wtjBiPou32diLx50p281hktEuWf6 T9QC7XkrNngvCEXe9Zc4YO1V7uOpPimub9Co30Hn8Tp7gR96md3hhXNSCEHaiqWj dJIedlFuX/X1ILdjdq+1DcqnrpK17CQsRythvIFND+sBR7tMKzEl0NGiublrAWAL lTKN9DJPUDmq17gpgErg4HmrkxTi+VdjKFhVZeCh/nixDw7mgQM8bVuI2g696oI= =r/ii -----END PGP SIGNATURE-----
-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Le 31/12/2014 10:40, Florian Leparoux a écrit :
Hi,
I overstepped several problem but now I'm stuck on this one :
[ 109s] Dec-30 17:21:50 <3> : yum: Error: Cannot retrieve repository metadata (repomd.xml) for repository: base. Please verify its path and try again [ 109s] Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os error was [ 109s] 14: PYCURL ERROR 6 - "Couldn't resolve host 'mirrorlist.centos.org'"
I don't know how to solve this problem :-/
Builds are done in a VM and have no access to Internet. Guillaume -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Le 31/12/2014 14:07, Guillaume Gardet a écrit :
Le 31/12/2014 10:40, Florian Leparoux a écrit :
Hi,
I overstepped several problem but now I'm stuck on this one :
[ 109s] Dec-30 17:21:50 <3> : yum: Error: Cannot retrieve repository metadata (repomd.xml) for repository: base. Please verify its path and try again [ 109s] Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os error was [ 109s] 14: PYCURL ERROR 6 - "Couldn't resolve host 'mirrorlist.centos.org'"
I don't know how to solve this problem :-/
Builds are done in a VM and have no access to Internet. Guillaume, In Build.opensuse.org it's works, but not with my own obs. Perhaps there is a settings to change ?
Merci.
Guillaume
-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (4)
-
Florian Leparoux
-
Florian Leparoux
-
Guillaume Gardet
-
Robert Schweikert