svn commit: r236741 - projects/portbuild/scripts
Baptiste Daroussin
bapt at FreeBSD.org
Fri Jun 8 09:51:58 UTC 2012
Author: bapt
Date: Fri Jun 8 09:51:57 2012
New Revision: 236741
URL: http://svn.freebsd.org/changeset/base/236741
Log:
Jails should allow chflags (fixes japanese/man)
Modified:
projects/portbuild/scripts/portbuild
Modified: projects/portbuild/scripts/portbuild
==============================================================================
--- projects/portbuild/scripts/portbuild Fri Jun 8 08:26:52 2012 (r236740)
+++ projects/portbuild/scripts/portbuild Fri Jun 8 09:51:57 2012 (r236741)
@@ -296,7 +296,7 @@ done
# XXX bapt: the network 127.0.0.1 allows ports like postfix do not fail querying a network
# device
jail -c persist name=${jname} ip4.addr=127.0.0.1 ip6=disable path=${chroot} \
- host.hostname=${jname} allow.sysvipc allow.socket_af allow.raw_sockets
+ host.hostname=${jname} allow.sysvipc allow.socket_af allow.raw_sockets allow.chflags
jexec -U root ${jname} /usr/sbin/service ldconfig start
@@ -339,11 +339,11 @@ if [ "${error}" = 0 ]; then
# restart the jail with network for the fetch part
jail -r ${jname}
jail -c persist name=${jname} ip4=inherit ip6=inherit path=${chroot} \
- host.hostname=${jname} allow.sysvipc allow.socket_af allow.raw_sockets
+ host.hostname=${jname} allow.sysvipc allow.socket_af allow.raw_sockets allow.chflags
jexec -U root ${jname} /buildscript ${dirname} 1 "$ED" "$PD" "$FD" "$BD" "$RD" "$PKGD" 2>&1 | tee -a ${chroot}/tmp/${pkgname}.log
jail -r ${jname}
jail -c persist name=${jname} ip4.addr=127.0.0.1 ip6=disable path=${chroot} \
- host.hostname=${jname} allow.sysvipc allow.socket_af allow.raw_sockets
+ host.hostname=${jname} allow.sysvipc allow.socket_af allow.raw_sockets allow.chflags
if [ -f ${chroot}/tmp/status ]; then
error=$(cat ${chroot}/tmp/status)
else
More information about the svn-src-projects
mailing list