From owner-freebsd-bugs@FreeBSD.ORG Sun Nov 1 21:40:02 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6B4331065672 for ; Sun, 1 Nov 2009 21:40:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 2F9B88FC12 for ; Sun, 1 Nov 2009 21:40:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nA1Le29m095151 for ; Sun, 1 Nov 2009 21:40:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nA1Le2Ci095150; Sun, 1 Nov 2009 21:40:02 GMT (envelope-from gnats) Resent-Date: Sun, 1 Nov 2009 21:40:02 GMT Resent-Message-Id: <200911012140.nA1Le2Ci095150@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, Ask Bjørn Hansen Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F07AA1065670 for ; Sun, 1 Nov 2009 21:38:42 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id DFB7F8FC14 for ; Sun, 1 Nov 2009 21:38:42 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id nA1LcgVU052365 for ; Sun, 1 Nov 2009 21:38:42 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id nA1LcgKI052364; Sun, 1 Nov 2009 21:38:42 GMT (envelope-from nobody) Message-Id: <200911012138.nA1LcgKI052364@www.freebsd.org> Date: Sun, 1 Nov 2009 21:38:42 GMT From: Ask Bjørn Hansen To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: misc/140173: Small nanobsd pkg install change X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Nov 2009 21:40:02 -0000 >Number: 140173 >Category: misc >Synopsis: Small nanobsd pkg install change >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Nov 01 21:40:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Ask Bjørn Hansen >Release: 7.2 >Organization: Develooper LLC >Environment: FreeBSD d1650.bur.sol 7.2-STABLE FreeBSD 7.2-STABLE #6: Mon Sep 7 11:42:49 PDT 2009 root@d1650.bur.sol:/usr/obj/usr/src/sys/GENERIC i386 >Description: Currently the cust_pkg step will fail if there are any non-package files in the directory, for example a README file. >How-To-Repeat: >Fix: [ask@d1650 ~/grundclock]$ diff -u nanobsd/nanobsd.sh /usr/src/tools/tools/nanobsd/nanobsd.sh | less --- nanobsd/nanobsd.sh 2009-11-01 13:29:56.000000000 -0800 +++ /usr/src/tools/tools/nanobsd/nanobsd.sh 2009-07-12 02:26:03.000000000 -0700 @@ -604,7 +604,7 @@ ) # Count & report how many we have to install - todo=`ls ${NANO_WORLDDIR}/Pkg | grep \.tbz\$ | wc -l` + todo=`ls ${NANO_WORLDDIR}/Pkg | wc -l` echo "=== TODO: $todo" ls ${NANO_WORLDDIR}/Pkg echo "===" >Release-Note: >Audit-Trail: >Unformatted: