aboutsummaryrefslogtreecommitdiff
path: root/release
diff options
context:
space:
mode:
authorJoerg Wunsch <joerg@FreeBSD.org>1997-03-11 13:55:46 +0000
committerJoerg Wunsch <joerg@FreeBSD.org>1997-03-11 13:55:46 +0000
commit2c8bf35a0557a3f9b6ca1cfd14a3be0cf39eb3cc (patch)
treecf867cc193eaa063704415b833d7a97514ba0be3 /release
parent841484cd4291e19802fb976f22b28d5dc6706468 (diff)
Notes
Diffstat (limited to 'release')
-rw-r--r--release/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/release/Makefile b/release/Makefile
index 72a285c0ace7..6be21afaa943 100644
--- a/release/Makefile
+++ b/release/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.279 1997/03/06 07:51:40 joerg Exp $
+# $Id$
#
# How to roll a release:
#
@@ -134,8 +134,17 @@ rerelease release:
echo "export RELEASEDIR=/R" >> ${CHROOTDIR}/mk
echo "cd /usr/src" >> ${CHROOTDIR}/mk
.if make(release)
+ # This eases bootstrapping from a more recent hosting environment:
+ echo "mkdir -p /usr/lib/compat" >> ${CHROOTDIR}/mk
+ echo "chflags noschg /usr/lib/lib*.so.*" >> ${CHROOTDIR}/mk
+ echo "mv /usr/lib/lib*.so.* /usr/lib/compat" >> ${CHROOTDIR}/mk
+ echo "ldconfig /usr/lib /usr/lib/compat" >> ${CHROOTDIR}/mk
echo "make world" >> ${CHROOTDIR}/mk
echo "(cd etc; make distribution)" >> ${CHROOTDIR}/mk
+ # Now we've got our own shared libs, remove the bootstrapping
+ # libs again.
+ echo "rm -f /usr/lib/compat/*" >> ${CHROOTDIR}/mk
+ echo "ldconfig /usr/lib" >> ${CHROOTDIR}/mk
.endif
.if make(rerelease)
echo "make all install" >> ${CHROOTDIR}/mk