[CentOS-devel] rpm-4.3.3-18: rpm --root failure(s)

Wed Sep 6 17:14:41 UTC 2006
seth vidal <skvidal at linux.duke.edu>

On Wed, 2006-09-06 at 12:08 -0500, Rex Dieter wrote:
> See also:
> http://bugzilla.redhat.com/151255#c3
> 
> Just upgraded a box to centos-4.4, and no I can no longer use 'rpm --root'
> (with mock).
> 
> Ideas?  Suggestions?  Confirm?
> 
> (For now, I'll have to rollback to rpm-4.3.3-13 on my mock buildhosts)
> 

in /etc/rpm/
I put a file named macros.mock

which has this:

%_rpmlock_path /place/to/put/the/transaction/lockfile

then it worked.

-sv