Author: bdrewery
Date: Tue Mar 18 01:14:49 2014
New Revision: 263287
URL: http://svnweb.freebsd.org/changeset/base/263287
Log:
'pkg(8) add' has no internal restriction on number of packages.
Submitted by: tj
MFC after: 1 week
Modified:
head/tools/tools/nanobsd/nanobsd.sh
Modified: head/tools/tools/nanobsd/nanobsd.sh
==============================================================================
--- head/tools/tools/nanobsd/nanobsd.sh Tue Mar 18 01:00:14 2014
(r263286)
+++ head/tools/tools/nanobsd/nanobsd.sh Tue Mar 18 01:14:49 2014
(r263287)
@@ -809,10 +809,9 @@ cust_pkgng () (
'env ASSUME_ALWAYS_YES=YES /usr/sbin/pkg info |
/usr/bin/wc -l'`
# Attempt to install more packages
- # ...but no more than 200 at a time due to (XXX still the
case?) pkg_add's internal
# limitations.
chroot ${NANO_WORLDDIR} sh -c \
- 'ls Pkg/*txz | xargs -n 200 env ASSUME_ALWAYS_YES=YES
/usr/sbin/pkg add ' || true
+ 'ls Pkg/*txz | xargs env ASSUME_ALWAYS_YES=YES
/usr/sbin/pkg add ' || true
# See what that got us
now=`chroot ${NANO_WORLDDIR} sh -c \
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"