Date: Tue, 8 Mar 2016 19:08:55 +0000 (UTC) From: Dmitry Chagin <dchagin@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r296542 - head/etc/rc.d Message-ID: <201603081908.u28J8tH8085557@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: dchagin Date: Tue Mar 8 19:08:55 2016 New Revision: 296542 URL: https://svnweb.freebsd.org/changeset/base/296542 Log: Load linux64 module for amd64 if Linux abi enabled. Reviewed by: emaste@ MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D5567 Modified: head/etc/rc.d/abi Modified: head/etc/rc.d/abi ============================================================================== --- head/etc/rc.d/abi Tue Mar 8 18:53:00 2016 (r296541) +++ head/etc/rc.d/abi Tue Mar 8 19:08:55 2016 (r296542) @@ -27,6 +27,11 @@ linux_start() echo -n ' linux' load_kld -e 'linux(aout|elf)' linux + case `sysctl -n hw.machine_arch` in + amd64) + load_kld -e 'linux64elf' linux64 + ;; + esac if [ -x /compat/linux/sbin/ldconfigDisabled ]; then _tmpdir=`mktemp -d -t linux-ldconfig` /compat/linux/sbin/ldconfig -C ${_tmpdir}/ld.so.cache
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201603081908.u28J8tH8085557>