summaryrefslogtreecommitdiffstats
path: root/release
diff options
context:
space:
mode:
authorjoerg <joerg@FreeBSD.org>1997-03-11 13:55:46 +0000
committerjoerg <joerg@FreeBSD.org>1997-03-11 13:55:46 +0000
commiteb6e762489b9edc7555b057405e07f8dd34c8859 (patch)
treec22b7341c16b40ea3448fc8c1d29c58bf258705d /release
parentcfb813cdf2dd92bfd0fef347dc2f940a1f6a2ae3 (diff)
downloadFreeBSD-src-eb6e762489b9edc7555b057405e07f8dd34c8859.zip
FreeBSD-src-eb6e762489b9edc7555b057405e07f8dd34c8859.tar.gz
YAMF22 (rev 1.246.2.29: bootstrapping aid)
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 72a285c..6be21af 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
OpenPOWER on IntegriCloud