Date: Fri, 3 Oct 2008 19:58:38 +0200 (CEST) From: clemens fischer <ino-news@spotteswoode.dnsalias.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: clemens fischer <ino-news@spotteswoode.dnsalias.org> Subject: misc/127828: [patch] improve nanobsd package handling a bit Message-ID: <20081003175838.64ED7AC86F@spotteswoode.dnsalias.org> Resent-Message-ID: <200810031800.m93I0AnC001271@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081003175838.64ED7AC86F>