Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Aug 2011 02:44:39 +0400
From:      Test Rat <ttsestt@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   misc/159666: [patch][build] make release: cd: /usr/src: No such file or directory
Message-ID:  <861uwsx4x4.fsf@gmail.com>
Resent-Message-ID: <201108102250.p7AMoAJi072799@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?861uwsx4x4.fsf>