From owner-freebsd-bugs@FreeBSD.ORG Thu Feb 13 13:30:03 2014 Return-Path: Delivered-To: freebsd-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6CF547F4 for ; Thu, 13 Feb 2014 13:30:03 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 2F16B1392 for ; Thu, 13 Feb 2014 13:30:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id s1DDU3ga099302 for ; Thu, 13 Feb 2014 13:30:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s1DDU2Mr099301; Thu, 13 Feb 2014 13:30:02 GMT (envelope-from gnats) Resent-Date: Thu, 13 Feb 2014 13:30:02 GMT Resent-Message-Id: <201402131330.s1DDU2Mr099301@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Marc Peters Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 92A234C6 for ; Thu, 13 Feb 2014 13:23:17 +0000 (UTC) Received: from newred.freebsd.org (cgiserv.freebsd.org [IPv6:2001:1900:2254:206a::50:4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 7F4641334 for ; Thu, 13 Feb 2014 13:23:17 +0000 (UTC) Received: from cgiserv.freebsd.org ([127.0.1.6]) by newred.freebsd.org (8.14.7/8.14.7) with ESMTP id s1DDNGOa096526 for ; Thu, 13 Feb 2014 13:23:16 GMT (envelope-from nobody@cgiserv.freebsd.org) Received: (from nobody@localhost) by cgiserv.freebsd.org (8.14.7/8.14.7/Submit) id s1DDNGnt096514; Thu, 13 Feb 2014 13:23:16 GMT (envelope-from nobody) Message-Id: <201402131323.s1DDNGnt096514@cgiserv.freebsd.org> Date: Thu, 13 Feb 2014 13:23:16 GMT From: Marc Peters To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: misc/186723: nanobsd.sh still uses pkg_add X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Feb 2014 13:30:03 -0000 >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: