From nobody@FreeBSD.org  Sun Nov  1 21:38:42 2009
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id F07AA1065670
	for <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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 Bjrn Hansen <ask@develooper.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Small nanobsd pkg install change
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         140173
>Category:       misc
>Synopsis:       [nanobsd] [patch] Small nanobsd pkg install change
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Nov 01 21:40:01 UTC 2009
>Closed-Date:    Fri May 13 13:30:37 MDT 2011
>Last-Modified:  Fri May 13 13:30:37 MDT 2011
>Originator:     Ask Bjrn 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:
State-Changed-From-To: open->closed 
State-Changed-By: imp 
State-Changed-When: Fri May 13 13:30:09 MDT 2011 
State-Changed-Why:  
Thanks for the patch.  Somebody committed it already, so this just needs to be closed. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=140173 
>Unformatted:
