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.
This commit is contained in:
David E. O'Brien 2003-03-17 18:49:46 +00:00
parent 5d952c1b59
commit 5262ab2453
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=112348

View File

@ -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: