Date: Thu, 15 Jan 2004 19:59:35 +0900 From: Makoto Matsushita <matusita@jp.FreeBSD.org> To: ru@FreeBSD.org Cc: nyan@FreeBSD.org Subject: Re: cvs commit: src/release Makefile Message-ID: <20040115195935S.matusita@jp.FreeBSD.org> In-Reply-To: <20040115083715.GA79312@FreeBSD.org.ua> References: <20040114185923.GC73318@FreeBSD.org.ua> <20040115111124W.matusita@jp.FreeBSD.org> <20040115083715.GA79312@FreeBSD.org.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
ru> It's possible to have a RELENG_4 box (with RELENG_4 /usr/src and
ru> /usr/obj matching the running version), and build a release
ru> snapshot of HEAD.
Hmm, I've just got what you meant, sorry. How about this patch?:
Index: Makefile
===================================================================
RCS file: /home/ncvs/src/release/Makefile,v
retrieving revision 1.829
diff -u -r1.829 Makefile
--- Makefile 15 Jan 2004 10:17:43 -0000 1.829
+++ Makefile 15 Jan 2004 10:57:54 -0000
@@ -459,7 +459,11 @@
# NB: these may fail if the host is running w/o devfs
echo "umount /dev >/dev/null 2>&1 || true" >> ${_MK}
echo "mount -t devfs devfs /dev >/dev/null 2>&1 || true" >> ${_MK}
- echo "/etc/rc.d/ldconfig start" >> ${_MK}
+ echo "if [ -f /etc/rc.d/ldconfig ]; then" >> ${_MK}
+ echo " /etc/rc.d/ldconfig start" >> ${_MK}
+ echo "else" >> ${_MK}
+ echo " ldconfig /lib /usr/lib /usr/local/lib" >> ${_MK}
+ echo "fi" >> ${_MK}
echo "if [ ! -f /tmp/.world_done ]; then" >> ${_MK}
echo " cd /usr/src" >> ${_MK}
echo " ${CROSSMAKE} ${WORLD_FLAGS} -DNOCLEAN buildworld && \\" >> ${_MK}
Or simply backout the delta that introduced to use a rcng script?
-- -
Makoto `MAR' Matsushita
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040115195935S.matusita>
