misc/127828: [patch] improve nanobsd package handling a bit
clemens fischer
ino-news at spotteswoode.dnsalias.org
Fri Oct 3 18:00:11 UTC 2008
>Number: 127828
>Category: misc
>Synopsis: [patch] improve nanobsd package handling a bit
>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: Fri Oct 03 18:00:10 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: clemens fischer
>Release: FreeBSD 8.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD spotteswoode.dnsalias.org 8.0-CURRENT FreeBSD
8.0-CURRENT #3 r183438M: Sun Sep 28 20:40:36 CEST 2008
root at spotteswoode.dnsalias.org:/usr/obj/usr/src-main/sys/spott_fbsd8_i386
>Description:
nanobsd.sh can easily include packages previously built. I belong to
the crowd who keep all sorts of readmes and howtos in work directories
to document how i once did something. So i had a "Readme" in
${NANO_PACKAGE_DIR}. Its existence provoked the error message "FAILED:
Nothing happened on this pass" in the package building phase.
>How-To-Repeat:
put any non-packe file into ${NANO_PACKAGE_DIR} and run nanobsd.sh,
watch it fail, weep.
>Fix:
please consider the following patch:
%%
--- nanobsd.sh.0 2008-10-03 19:43:07.000000000 +0200
+++ nanobsd.sh 2008-10-03 19:44:53.000000000 +0200
@@ -590,11 +590,11 @@
cust_pkg () (
# Copy packages into chroot
mkdir -p ${NANO_WORLDDIR}/Pkg
- cp ${NANO_PACKAGE_DIR}/* ${NANO_WORLDDIR}/Pkg
+ cp ${NANO_PACKAGE_DIR}/*.t?z ${NANO_WORLDDIR}/Pkg
# Count & report how many we have to install
todo=`ls ${NANO_WORLDDIR}/Pkg | wc -l`
echo "=== TODO: $todo"
ls ${NANO_WORLDDIR}/Pkg
%%
regards, clemens
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list