From: agaffney Date: Tue, 29 Jul 2008 12:17:10 +0000 (-0500) Subject: Remove check for >=2.6 for mounting sysfs X-Git-Tag: v3.4.10.902~58 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d1cac89e9823891ac37130e5f2d9f6939d9efe96;p=genkernel.git Remove check for >=2.6 for mounting sysfs --- diff --git a/ChangeLog b/ChangeLog index 8ba223d..a580dff 100644 --- 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 defaults/initrd.scripts: + Remove check for >=2.6 for mounting sysfs + 29 Jul 2008; Andrew Gaffney genkernel: Remove check for >=2.6 for 'make prepare' diff --git a/defaults/initrd.scripts b/defaults/initrd.scripts index f3646c8..f58e1a4 100644 --- a/defaults/initrd.scripts +++ b/defaults/initrd.scripts @@ -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() {