Remove check for >=2.6 for mounting sysfs
authoragaffney <agaffney@kagome.(none)>
Tue, 29 Jul 2008 12:17:10 +0000 (07:17 -0500)
committeragaffney <agaffney@kagome.(none)>
Tue, 29 Jul 2008 12:17:10 +0000 (07:17 -0500)
ChangeLog
defaults/initrd.scripts

index 8ba223d689a52e832728b74ddf79e8e3f4f4b318..a580dff0ab42cef80c695a194db7f0b05a128985 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,9 @@
 # Copyright 1999-2008 Gentoo Foundation; 2008 Chris Gianelloni
 # Distributed under the GPL v2
 
+  29 Jul 2008; Andrew Gaffney <agaffney@gentoo.org> defaults/initrd.scripts:
+  Remove check for >=2.6 for mounting sysfs
+
   29 Jul 2008; Andrew Gaffney <agaffney@gentoo.org> genkernel:
   Remove check for >=2.6 for 'make prepare'
 
index f3646c8282f635674562ef3300f8b053802bbd84..f58e1a453ea736ffa64469934e04c13ab12608d5 100644 (file)
@@ -202,12 +202,9 @@ cache_cd_contents() {
 }
 
 mount_sysfs() {
-       if [ "${KV_2_6_OR_GREATER}" ]
-       then
-               mount -t sysfs /sys /sys >/dev/null 2>&1
-               ret=$?
-               [ "$ret" -eq '0' ] || bad_msg "Failed to mount /sys!"
-       fi
+       mount -t sysfs /sys /sys >/dev/null 2>&1
+       ret=$?
+       [ "$ret" -eq '0' ] || bad_msg "Failed to mount /sys!"
 }
 
 findnfsmount() {