svn commit: r334237 - in head: etc/defaults release/tools
Edward Tomasz Napierala
trasz at FreeBSD.org
Sat May 26 11:13:18 UTC 2018
Author: trasz
Date: Sat May 26 11:13:17 2018
New Revision: 334237
URL: https://svnweb.freebsd.org/changeset/base/334237
Log:
Revert r333493, which was a temporary fix for 11.2-RELEASE, and instead
switch the default kldxref_enable to YES.
The reason is that it's required for every image that's being cross-built,
as kldxref(8) cannot handle files for non-native architectures. For the
one that is not - amd64 - having it on by default doesn't change anything;
the script is noop if the linker.hints already exists.
MFC after: 2 weeks
Sponsored by: DARPA, AFRL
Modified:
head/etc/defaults/rc.conf
head/release/tools/arm.subr
Modified: head/etc/defaults/rc.conf
==============================================================================
--- head/etc/defaults/rc.conf Sat May 26 05:15:07 2018 (r334236)
+++ head/etc/defaults/rc.conf Sat May 26 11:13:17 2018 (r334237)
@@ -43,7 +43,7 @@ devd_enable="YES" # Run devd, to trigger programs on
devd_flags="" # Additional flags for devd(8).
devmatch_enable="YES" # Demand load kernel modules based on device ids.
#kld_list="" # Kernel modules to load after local disks are mounted
-kldxref_enable="NO" # Build linker.hints files with kldxref(8).
+kldxref_enable="YES" # Build linker.hints files with kldxref(8).
kldxref_clobber="NO" # Overwrite old linker.hints at boot.
kldxref_module_path="" # Override kern.module_path. A ';'-delimited list.
powerd_enable="NO" # Run powerd to lower our power usage.
Modified: head/release/tools/arm.subr
==============================================================================
--- head/release/tools/arm.subr Sat May 26 05:15:07 2018 (r334236)
+++ head/release/tools/arm.subr Sat May 26 11:13:17 2018 (r334237)
@@ -122,7 +122,6 @@ arm_install_base() {
echo 'sendmail_outbound_enable="NO"' >> ${CHROOTDIR}/${DESTDIR}/etc/rc.conf
echo 'sendmail_msp_queue_enable="NO"' >> ${CHROOTDIR}/${DESTDIR}/etc/rc.conf
echo 'growfs_enable="YES"' >> ${CHROOTDIR}/${DESTDIR}/etc/rc.conf
- echo 'kldxref_enable="YES"' >> ${CHROOTDIR}/${DESTDIR}/etc/rc.conf
sync
umount_loop ${CHROOTDIR}/${DESTDIR}
More information about the svn-src-head
mailing list