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

Bug#281739: kernel-image-2.6.9-1-686: dangling source symlink in /lib/modules/`uname -r`



Hi Manoj,

do you have a comment on this? I am wondering if it might be best
resolved by a postinstall script as part of the kernel-image build
process. I notice that fix_source_link() in
/usr/share/kernel-package/image.postinst includes code to cope with such
dangling links so it is probably harmless, but it would be nice not to
include it in the package as it seems entirely useless.

-- 
Horms

----- Forwarded message from Horms <horms@debian.org> -----

Date: Mon, 22 Nov 2004 11:51:23 +0900
From: Horms <horms@debian.org>
To: Charles Lepple <clepple+debian@ghz.cc>, 281739@bugs.debian.org
Subject: Re: Bug#281739: kernel-image-2.6.9-1-686: dangling source symlink in      /lib/modules/`uname -r`
X-Cluestick: seven

On Wed, Nov 17, 2004 at 10:18:18AM -0500, Charles Lepple wrote:
> Package: kernel-image-2.6.9-1-686
> Version: 2.6.9-2
> Severity: minor
> 
> *** Please type your report below this line ***
> In both 2.6.9-1-686 and 2.6.8-1-686, there is a dangling symlink which
> seems to point to a temporary source directory from the build process:
> 
> $ ls -l /lib/modules/*/source           # whitespace added for clarity
> 
> lrwxrwxrwx  1 root root 88 2004-11-15 16:27
> /lib/modules/2.6.8-1-686/source ->
> /home/dilinger/src/kernel/kernel-image/2.6.8-5/kernel-image-2.6.8-i386-2.6.8/install-686
> 
> lrwxrwxrwx  1 root root 95 2004-11-17 09:46
> /lib/modules/2.6.9-1-686/source ->
> /tmp/debian-kernel-test/kernel-image-2.6.9-i386-2.6.9/kernel-image-2.6.9-i386-2.6.9/install-686
> 
> It doesn't pose a problem for me, but it might trip up others who need
> to build out-of-tree kernel modules. The source symlink should probably
> belong to the corresponding kernel-source package.

Thanks,

looks like something is astray there. 
I am guessing the link is an artifact from the make-kpgk build
should be omitted from the package.

-- 
Horms

----- End forwarded message -----



Reply to: