>Number:         159666
>Category:       misc
>Synopsis:       [patch][build] make release: cd: /usr/src: No such file or 
>directory
>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:   Wed Aug 10 22:50:10 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Test Rat
>Release:        FreeBSD 9.0-BETA1 amd64
>Organization:
>Environment:
WORLDDIR = /a/freebsd/release/..
>Description:
>How-To-Repeat:
1. move /usr/src somewhere else
2. `make release' or `make base.txz'
>Fix:
--- a.diff begins here ---
Index: release/Makefile
===================================================================
--- release/Makefile    (revision 224760)
+++ release/Makefile    (working copy)
@@ -66,7 +66,7 @@ base.txz:
        -mkdir ${DISTDIR}
        cd ${WORLDDIR} && ${IMAKE} distributeworld DISTDIR=${DISTDIR}
 # Set up mergemaster root database
-       sh ${.CURDIR}/scripts/mm-mtree.sh -F \
+       sh ${.CURDIR}/scripts/mm-mtree.sh -m ${WORLDDIR} -F \
            "TARGET_ARCH=${TARGET_ARCH} TARGET=${TARGET}" -D "${DISTDIR}/base"
 # Package all components
        cd ${WORLDDIR} && ${IMAKE} packageworld DISTDIR=${DISTDIR}
--- a.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to