--- networkmanager-0.8.1-r3.ebuild 2010-08-17 22:39:36.000000000 +0800 +++ networkmanager-0.8.1-r4.ebuild 2010-08-21 10:09:09.000000000 +0800 @@ -4,7 +4,7 @@ EAPI="2" -inherit gnome.org eutils autotools +inherit linux-info gnome.org eutils autotools # NetworkManager likes itself with capital letters MY_PN=${PN/networkmanager/NetworkManager} @@ -128,6 +128,15 @@ } pkg_postinst() { + if linux_config_exists; then + if linux_chkconfig_present SYSFS_DEPRECATED; then + ewarn "If CONFIG_SYSFS_DEPRECATED is set in your kernel .config, " + ewarn "NetworkManager won't work properly." + ewarn "See http://bugs.gentoo.org/333639 for more info." + ewarn "Please unset CONFIG_SYSFS_DEPRECATED in your kernel .config" + ewarn "" + fi + fi elog "You will need to reload DBus if this is your first time installing" elog "NetworkManager, or if you're upgrading from 0.7 or older." elog ""