3 pushd SOURCES > /dev/null
5 sed -i -e "s,CONFIG_IPV6=m,CONFIG_IPV6=y,g" config-generic
6 sed -i -e "/\# CONFIG_KVM is not set/d" config-x86-generic-rhel
7 sed -i -e "s,CONFIG_MODULE_SIG=y,CONFIG_MODULE_SIG=n,g" config-generic-rhel
9 # Do not enable CONFIG_SYSFS_DEPRECATED options for Scientific Linux
10 if ! grep -q Scientific /etc/redhat-release; then
11 sed -i -e "s,# CONFIG_SYSFS_DEPRECATED is not set,CONFIG_SYSFS_DEPRECATED=y,g" config-generic
12 sed -i -e "s,# CONFIG_SYSFS_DEPRECATED_V2 is not set,CONFIG_SYSFS_DEPRECATED_V2=y,g" config-generic
15 sed -i -e "s,CONFIG_BUILD_DOCSRC=y,CONFIG_BUILD_DOCSRC=n,g" config-generic