misc/125881: nanobsd fails on creating a directory that already
exists (when rebuilding)
Nick Hibma
nick at anywi.com
Tue Jul 22 19:00:27 UTC 2008
>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 at 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:
More information about the freebsd-bugs
mailing list