From owner-freebsd-bugs@FreeBSD.ORG Fri Oct 3 18:00:11 2008 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0C0931065689 for ; Fri, 3 Oct 2008 18:00:11 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id D076D8FC17 for ; Fri, 3 Oct 2008 18:00:10 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m93I0ANv001272 for ; Fri, 3 Oct 2008 18:00:10 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m93I0AnC001271; Fri, 3 Oct 2008 18:00:10 GMT (envelope-from gnats) Resent-Date: Fri, 3 Oct 2008 18:00:10 GMT Resent-Message-Id: <200810031800.m93I0AnC001271@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, clemens fischer Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2882210656D0 for ; Fri, 3 Oct 2008 17:58:44 +0000 (UTC) (envelope-from ino-news@kabelmail.de) Received: from smtpa.mediabeam.com (smtpa1.mediabeam.com [194.25.41.13]) by mx1.freebsd.org (Postfix) with ESMTP id 881538FC23 for ; Fri, 3 Oct 2008 17:58:42 +0000 (UTC) (envelope-from ino-news@kabelmail.de) Received: from spotteswoode.dnsalias.org (91-64-168-90-dynip.superkabel.de [91.64.168.90]) (authenticated bits=0) by smtpa.mediabeam.com (8.13.1/8.13.1) with ESMTP id m93Hwc1n001309 for ; Fri, 3 Oct 2008 19:58:39 +0200 Received: by spotteswoode.dnsalias.org (Postfix, from userid 0) id 64ED7AC86F; Fri, 3 Oct 2008 19:58:38 +0200 (CEST) Message-Id: <20081003175838.64ED7AC86F@spotteswoode.dnsalias.org> Date: Fri, 3 Oct 2008 19:58:38 +0200 (CEST) From: clemens fischer To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: clemens fischer Subject: misc/127828: [patch] improve nanobsd package handling a bit X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Oct 2008 18:00:11 -0000 >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: