[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#257649: discover1: update-initrd script doesn't support kernel 2.6



Package: discover1
Version: 1.6.1
Severity: normal
Tags: patch

In the update-initrd script there's this section:
KERNEL_VERSION=$(uname -r)
if expr "$KERNEL_VERSION" : "2\.2" > /dev/null 2>&1
then
    BLOCKS=4096
    INODES=2048
elif expr "$KERNEL_VERSION" : "2\.4" > /dev/null 2>&1
then
    BLOCKS=8192
    INODES=4096
else
    message "$0: Warning: Not updating initrd; don't know what to do with" \
            "kernel version $KERNEL_VERSION."
    exit 0
fi

Please add an if section for kernel 2.6. If I knew the parameters, I would have writen it myself. sorry.

-- Package-specific info:

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.6-2-686-smp
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8

-- debconf information excluded



Reply to: