X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=modify_rh_config.sh;h=e1f26d6afe372280ed8fd80662977c6be65e30b2;hb=refs%2Fheads%2Frhel6-mlab;hp=ccc7d07dcffda574a3bb4ec24a475c4b65bafd57;hpb=afb0d83312c40e95d4f705e45695bce4cc7307ba;p=linux-2.6.git diff --git a/modify_rh_config.sh b/modify_rh_config.sh index ccc7d07dc..e1f26d6af 100755 --- a/modify_rh_config.sh +++ b/modify_rh_config.sh @@ -7,9 +7,11 @@ sed -i -e "/\# CONFIG_KVM is not set/d" config-x86-generic-rhel sed -i -e "s,CONFIG_MODULE_SIG=y,CONFIG_MODULE_SIG=n,g" config-generic-rhel # Do not enable CONFIG_SYSFS_DEPRECATED options for Scientific Linux -if ! grep -q Scientific /etc/redhat-release; then +if ! grep -qiE "CentOS.*6.3|Scientific" /etc/redhat-release; then sed -i -e "s,# CONFIG_SYSFS_DEPRECATED is not set,CONFIG_SYSFS_DEPRECATED=y,g" config-generic sed -i -e "s,# CONFIG_SYSFS_DEPRECATED_V2 is not set,CONFIG_SYSFS_DEPRECATED_V2=y,g" config-generic fi +sed -i -e "s,CONFIG_BUILD_DOCSRC=y,CONFIG_BUILD_DOCSRC=n,g" config-generic + popd > /dev/null