On Thu, 2009-04-30 at 23:58 +0800, Qian Feng wrote:
Hi dear all,
osc build always use /var/tmp/build-root and /var/tmp/osbuildpackages as root and rpm cache. This bothers me because my / partition is quite small. Is there any way to use some other directory? build has the --root option but I don't know how to use this option in "osc build".
Look in your ~/.oscrc:
# Downloaded packages are cached here. Must be writable by you. #packagecachedir = /var/tmp/osbuild-packagecache
# rootdir to setup the chroot environment # can contain %(repo)s, %(arch)s, %(project)s and %(package)s for replacement, e.g. # /srv/oscbuild/%(repo)s-%(arch)s or # /srv/oscbuild/%(repo)s-%(arch)s-%(project)s-%(package)s #build-root = /var/tmp/build-root
Uncomment them and set them to any value you wish to use.