--- /usr/portage/sys-apps/kmod/kmod-12.ebuild 2012-12-05 21:13:29.000000000 +0400 +++ kmod-12.ebuild 2012-12-17 16:18:06.000000000 +0400 @@ -54,7 +54,7 @@ src_configure() { econf \ - --bindir=/bin \ + --bindir=/sbin \ --with-rootlibdir=/$(get_libdir) \ $(use_enable static-libs static) \ $(use_enable tools) \ @@ -69,15 +69,12 @@ default prune_libtool_files + # Compatibility symlinks (see #426698) if use tools; then local cmd for cmd in depmod insmod lsmod modinfo modprobe rmmod; do - dosym kmod /bin/${cmd} + dosym kmod /sbin/${cmd} done - # Compatibility symlink(s): - # These are both hardcoded in the Linux kernel source tree wrt #426698 - dosym /bin/kmod /sbin/depmod - dosym /bin/kmod /sbin/modprobe fi cat <<-EOF > "${T}"/usb-load-ehci-first.conf