diff options
author | Theodore Ts'o <tytso@mit.edu> | 2006-05-13 09:05:01 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2006-05-13 09:05:01 -0400 |
commit | 7eef87483168f284561414a56b5378a3102639bb (patch) | |
tree | 8072a2f950ec46a1681c4058707b0878f233a799 /debian | |
parent | bc2699f018586f21825e056eb6053686c23804fe (diff) | |
download | e2fsprogs-7eef87483168f284561414a56b5378a3102639bb.tar.gz |
Fix problem with creating initrd's for 2.4 systems on Debian
Recent glibc's no longer accept LD_ASSUME_KERNEL=2.4; this must be LD_ASSUME_KERNEL=2.4.1. Also, only set LD_ASSUME_KERNEL if we
are not using a 2.4 kernel (and are presumably using something newer)
Addresses Debian Bug: #364516
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'debian')
-rw-r--r-- | debian/initrd-tools.e2fsprogs | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/debian/initrd-tools.e2fsprogs b/debian/initrd-tools.e2fsprogs index 75e1f775..72601593 100644 --- a/debian/initrd-tools.e2fsprogs +++ b/debian/initrd-tools.e2fsprogs @@ -9,8 +9,12 @@ cp /usr/lib/e2initrd_helper $INITRDDIR/bin/e2initrd_helper case "$VERSION" in 2.4.*) - LD_ASSUME_KERNEL=2.4 - export LD_ASSUME_KERNEL + case "uname -r" in + 2.4.*) : ;; + *) LD_ASSUME_KERNEL=2.4.1 + export LD_ASSUME_KERNEL + ;; + esac ;; esac |