Date: Thu, 13 Feb 2014 13:23:16 GMT From: Marc Peters <marc@mpeters.org> To: freebsd-gnats-submit@FreeBSD.org Subject: misc/186723: nanobsd.sh still uses pkg_add Message-ID: <201402131323.s1DDNGnt096514@cgiserv.freebsd.org> Resent-Message-ID: <201402131330.s1DDU2Mr099301@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 186723 >Category: misc >Synopsis: nanobsd.sh still uses pkg_add >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Feb 13 13:30:02 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Marc Peters >Release: FreeBSD 10.0-RELEASE amd64 >Organization: >Environment: FreeBSD host.name 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 22:34:59 UTC 2014 root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 >Description: The nanobsd script still relies on the old pkg tools, which are nonexistent in 10.0. /usr/src/tools/tools/nanobsd/nsdnobsd.sh: 709 # Record how many we have now 710 have=`ls ${NANO_WORLDDIR}/var/db/pkg | wc -l` 711 712 # Attempt to install more packages 713 # ...but no more than 200 at a time due to pkg_add's internal 714 # limitations. 715 chroot ${NANO_WORLDDIR} sh -c \ 716 'ls Pkg/*tbz | xargs -n 200 pkg_add -F' || true 717 718 # See what that got us 719 now=`ls ${NANO_WORLDDIR}/var/db/pkg | wc -l` 720 echo "=== NOW $now" 721 ls ${NANO_WORLDDIR}/var/db/pkg >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402131323.s1DDNGnt096514>