git://git.onelab.eu
/
linux-2.6.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5223d73
)
leave SYSFS_DEPRECATED disabled for centos6
author
Stephen Soltesz
<soltesz@opentechinstitute.org>
Mon, 11 Feb 2013 23:18:39 +0000
(18:18 -0500)
committer
Stephen Soltesz
<soltesz@opentechinstitute.org>
Mon, 11 Feb 2013 23:18:39 +0000
(18:18 -0500)
modify_rh_config.sh
patch
|
blob
|
history
diff --git
a/modify_rh_config.sh
b/modify_rh_config.sh
index
4dc5a6b
..
e1f26d6
100755
(executable)
--- a/
modify_rh_config.sh
+++ b/
modify_rh_config.sh
@@
-7,7
+7,7
@@
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 -q
iE "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