Mailinglist Archive: opensuse-buildservice (248 mails)

< Previous Next >
Re: [opensuse-buildservice] How to set build-root and rpm cache to other directory than /var/tmp?
  • From: "Srinidhi B" <srinidhi@xxxxxxxxxx>
  • Date: Thu, 30 Apr 2009 10:14:49 -0600
  • Message-id: <49F97A19020000550006D71C@xxxxxxxxxxxxxxxxxxxxxxx>

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.


To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
List Navigation
Follow Ups