Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Nov 2009 21:38:42 GMT
From:      Ask Bjørn Hansen <ask@develooper.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/140173: Small nanobsd pkg install change
Message-ID:  <200911012138.nA1LcgKI052364@www.freebsd.org>
Resent-Message-ID: <200911012140.nA1Le2Ci095150@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200911012138.nA1LcgKI052364>