cvs commit: src/release Makefile
Makoto Matsushita
matusita at jp.FreeBSD.org
Thu Jan 15 03:01:36 PST 2004
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
More information about the cvs-all
mailing list