Date: Tue, 22 Jul 2008 11:01:56 +0200 From: Nick Hibma <nick@anywi.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: misc/125881: nanobsd fails on creating a directory that already exists (when rebuilding) Message-ID: <1216717316.681165.11870.nullmailer@van-laarhoven.org> Resent-Message-ID: <200807221900.m6MJ0HNr035449@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 125881 >Category: misc >Synopsis: nanobsd fails on creating a directory that already exists (when rebuilding) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jul 22 19:00:17 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Nick Hibma >Release: FreeBSD 7.0-STABLE i386 >Organization: AnyWi Technologies >Environment: System: FreeBSD hind.van-laarhoven.org 7.0-STABLE FreeBSD 7.0-STABLE #0: Wed Jun 25 18:08:59 CEST 2008 root@hind.van-laarhoven.org:/usr/obj/usr/src/sys/HIND i386 >Description: nanobsd fails while creating the disk image at the following stage if install world is skipped. ## configure nanobsd setup ### log: /usr/obj/nanobsd.koole.ship/_.dl >How-To-Repeat: Redefine all functions but customize (which is done in our nanobsd wrapper). >Fix: --- /usr/src/tools/tools/nanobsd/nanobsd.sh~ 2008-05-20 12:03:53.000000000 +0200 +++ /usr/src/tools/tools/nanobsd/nanobsd.sh 2008-07-22 10:57:46.000000000 +0200 @@ -244,7 +244,7 @@ # have hardcoded paths under ${prefix}/etc are not tweakable. if [ -d usr/local/etc ] ; then ( - mkdir etc/local + mkdir -p etc/local cd usr/local/etc find . -print | cpio -dumpl ../../../etc/local cd .. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1216717316.681165.11870.nullmailer>