[opensuse-buildservice] Using buildservice distribution configs with local build utility
Hello, AFAIK, build service is using build(1) utility as a backend. Build in turn uses init_buildsystem script to prepare distribution image. I wish to use this script to create various chrooted environments out of using with build service. In opensuse 11.3 build utility is supplied with set of configuration files for several suse distribution and one generic config named debian. With little changes I was able to use this config to create debian 5.0 environment. Currently I've found that there are predefined configuration files for large set of distributions, i.e. for ubuntu 10.04: https://build.opensuse.org/project/prjconf?project=Ubuntu:10.04 I've saved provided config as /usr/lib/build/ubuntu-lucid.conf and invoke following command: # BUILD_ROOT=/home/reddot/ubuntu-lucid-i386/ BUILD_ARCH=i386 BUILD_DIST=ubuntu-lucid /usr/lib/build/init_buildsystem --clean --repo /home/reddot/mnt/ where /home/reddot/mnt -- is the path where ubuntu distribution iso image has been mounted. However as a result I've got: expanding package dependencies... expansion error nothing provides aaa_base nothing provides filesystem nothing provides fillup nothing provides glibc nothing provides libacl nothing provides libattr nothing provides libbz2-1 nothing provides libgcc45 nothing provides libxcrypt nothing provides pam nothing provides permissions nothing provides zlib nothing provides liblzma0 nothing provides libpcre0 nothing provides liblua5_1 nothing provides gcc45 nothing provides gettext-runtime nothing provides libmpfr1 nothing provides libgmp3 nothing provides libgmpxx4 nothing provides libaudit1 nothing provides cpp45 nothing provides cracklib nothing provides gdbm nothing provides gettext-tools nothing provides glibc-devel nothing provides glibc-locale nothing provides groff nothing provides libbz2-devel nothing provides libdb-4_5 nothing provides libstdc++45 nothing provides libzio nothing provides netcfg nothing provides linux-glibc-devel nothing provides pam-modules nothing provides sysvinit-tools nothing provides texinfo nothing provides timezone nothing provides libgomp45 nothing provides terminfo-base nothing provides update-alternatives nothing provides pwdutils nothing provides build-mkbaselibs nothing provides brp-check-suse nothing provides post-build-checks nothing provides rpmlint-Factory nothing provides build-compare Could somebody highlight me if there any errors in my way? Regards, Roman. -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Roman Valov wrote:
[...] I've saved provided config as /usr/lib/build/ubuntu-lucid.conf and ^^^ invoke following command:
# BUILD_ROOT=/home/reddot/ubuntu-lucid-i386/ BUILD_ARCH=i386 BUILD_DIST=ubuntu-lucid /usr/lib/build/init_buildsystem --clean ^^^
You need to store the config in usr/lib/build/configs or specify an absolute path in BUILD_DIST. cu Ludwig -- (o_ Ludwig Nussel //\ V_/_ http://www.suse.de/ SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
SOLVED
I've saved provided config as /usr/lib/build/ubuntu-lucid.conf and ^^^ invoke following command:
# BUILD_ROOT=/home/reddot/ubuntu-lucid-i386/ BUILD_ARCH=i386 BUILD_DIST=ubuntu-lucid /usr/lib/build/init_buildsystem --clean ^^^
You need to store the config in usr/lib/build/configs or specify an absolute path in BUILD_DIST.
There was my typo in post, actual place where config was put is /usr/lib/build/configs. However problem was eliminated once I specified full path to config file. -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (2)
-
Ludwig Nussel
-
Roman Valov