pld-builder.new: PLD_Builder/rpm_builder.py - /var/lib/rpm/Packages must be...
glen
glen at pld-linux.org
Thu Jan 21 16:56:09 CET 2010
Author: glen Date: Thu Jan 21 15:56:09 2010 GMT
Module: pld-builder.new Tag: HEAD
---- Log message:
- /var/lib/rpm/Packages must be readable for deps checking
---- Files affected:
pld-builder.new/PLD_Builder:
rpm_builder.py (1.111 -> 1.112)
---- Diffs:
================================================================
Index: pld-builder.new/PLD_Builder/rpm_builder.py
diff -u pld-builder.new/PLD_Builder/rpm_builder.py:1.111 pld-builder.new/PLD_Builder/rpm_builder.py:1.112
--- pld-builder.new/PLD_Builder/rpm_builder.py:1.111 Thu Jan 21 16:43:31 2010
+++ pld-builder.new/PLD_Builder/rpm_builder.py Thu Jan 21 16:56:04 2010
@@ -128,6 +128,7 @@
chroot.run("test ! -c /dev/random && rm -f /dev/random && mknod -m 644 /dev/random c 1 8", 'root')
chroot.run("test ! -c /dev/urandom && rm -f /dev/urandom && mknod -m 644 /dev/urandom c 1 9", 'root')
chroot.run("test ! -c /dev/zero && rm -f /dev/zero && mknod -m 666 /dev/zero c 1 5", 'root')
+ chroot.run("chmod a+r /var/lib/rpm/Packages", 'root')
# try to limit network access for builder account
chroot.run("/bin/setfacl -m u:builder:--- /etc/resolv.conf", 'root')
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/pld-builder.new/PLD_Builder/rpm_builder.py?r1=1.111&r2=1.112&f=u
More information about the pld-cvs-commit
mailing list