Re: [CentOS] Anyone seeing mock breakage after updating to 4.4?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



David Hrbáč wrote:
> Johnny Hughes napsal(a):
>> The fix is to define _rpmlock_path inside the chroot as the user who is
>> installing the software (per the above link).
> 
> No, I guess, this is not the issue. Setting %_rpmlock_path didn't help.
> As I have written, upgrading to rpm-4.3.3-18 within CentOS 4.3 doesn't
> block 'mocking'.

What works for me (Karanbir Singh found this) is adding 

os.path.join(self.rootdir, 'var/lock/rpm'),

around line 530 of /usr/bin/mock - works for me with 0.4.x, but
supposedly also works with 0.6.x.

You find the lines by searching for "# make chroot dir".

Regards,

Ralph
-- 
Ralph Angenendt......ra@xxxxxxxxxxxx | .."Text processing has made it possible
Bayerischer Rundfunk...80300 München | ....to right-justify any idea, even one
Programmbereich.Bayern 3, Jugend und | .which cannot be justified on any other
Multimedia.........Tl:089.5900.16023 | ..........grounds." -- J. Finnegan, USC

Attachment: pgpb5nplcSZ2L.pgp
Description: PGP signature

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux