summaryrefslogtreecommitdiffstats
path: root/release
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2003-03-17 18:49:46 +0000
committerobrien <obrien@FreeBSD.org>2003-03-17 18:49:46 +0000
commitef60146aeb5110d712d91ea00a2e945ea1ca89c8 (patch)
treef84c53427cb9f859512140622a8ffc1f74f2fa01 /release
parentc0f79e52d65c1f88eafe0bcf21039387b1b29497 (diff)
downloadFreeBSD-src-ef60146aeb5110d712d91ea00a2e945ea1ca89c8.zip
FreeBSD-src-ef60146aeb5110d712d91ea00a2e945ea1ca89c8.tar.gz
In rev 1.603 I should have changed it to mdconfig rather than remove it.
I don't recall now, but for some reason I didn't think it was needed. Also place the mdconfig right before the chroot call, to make it stand out this needs to be done in the standard environment, as we've tried doing it in the chroot environment before.
Diffstat (limited to 'release')
-rw-r--r--release/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/release/Makefile b/release/Makefile
index 3c40f98..659644e 100644
--- a/release/Makefile
+++ b/release/Makefile
@@ -472,6 +472,8 @@ release rerelease:
echo "make \$${_RELTARGET}" >> ${CHROOTDIR}/mk
echo "echo \">>> make ${.TARGET} for ${TARGET} finished on \`LC_ALL=C TZ=GMT date\`\"" >> ${CHROOTDIR}/mk
chmod 755 ${CHROOTDIR}/mk
+ # Ensure md.ko is loaded if md(4) is not statically compiled into the kernel
+ -mdconfig 2>/dev/null
env -i /usr/sbin/chroot ${CHROOTDIR} /mk
clean:
OpenPOWER on IntegriCloud