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

Bug#385102: linux-patch-debian-2.6.17: broken unpatch/debian script (calls non-existent "/usr/src/kernel-patches/all/2.6.17" dir)



Package: linux-patch-debian-2.6.17
Version: 2.6.17-7
Severity: important



Hi,

I'm just an end user, and I was originally downloading
linux-source-<version> packages to compile them "the Debian way" with
make-kpkg.  I decided that it might be nice to save the time downloading
the entire kernel source, and instead just download the Debian patches.
Also, I thought it might be easy to integrate other patches I have with
the same system make-kpkg uses for the "debian" patches.

/usr/src/kernel-patches/all/unpatch is the following script:

    #!/bin/sh
    set -e
    upstream="2.6.17"
    exec "/usr/src/kernel-patches/all/$upstream/apply/debian" \
      "$upstream-0"

But there's no /usr/src/kernel-patches/all/2.6.17 directory.

This is easily fixed (at least I think it's fixed) with a symlink from
/usr/src/kernel-patches/all/2.6.17 -> /usr/src/kernel-patches/all, but
I'm not sure this is really the best way to go about it.  make-kpkg has
a lot of pieces to it, and maybe in the long run this is a bad idea. 

So I was hoping to close this bug you could make this package work out
of the box and maybe install some text file in
/usr/share/doc/linux-patch-debian-2.6.17 if there's something a simple
end user not in the know (like myself) needs to know to get everything
working.

Thanks,
Sukant


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable'), (90, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.17-hole
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages linux-patch-debian-2.6.17 depends on:
ii  bzip2                         1.0.3-3    high-quality block-sorting file co
ii  python2.4-minimal             2.4.3-8    A minimal subset of the Python lan

linux-patch-debian-2.6.17 recommends no packages.

-- no debconf information



Reply to: