misc/140173: Small nanobsd pkg install change
Ask Bjørn Hansen
ask at develooper.com
Sun Nov 1 21:40:02 UTC 2009
>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 at 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 at 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:
More information about the freebsd-bugs
mailing list