On Tue, May 06, 2014 at 07:30:58AM -0700, Manoj Srivastava wrote:
> On Tue, May 06 2014, Adam Borowski wrote:
> 
> > On Mon, May 05, 2014 at 02:07:30AM -0700, Manoj Srivastava wrote:
> >> On Sat, Mar 16 2013, Adam Borowski wrote:
> >> 
> >> > ls -al /lib/modules/3.8.2-x32
> >> > lrwxrwxrwx 1 root root     36 Sep 27 04:09 build -> 
> >> > /home/kilobyte/tmp/kernel/linux-source-3.8
> >> > lrwxrwxrwx 1 root root     37 Sep 27 04:09 source -> 
> >> > /home/kilobyte/tmp/kernel/linux-source-3.8
> 
>         If this is not your build machine, are the symlinks dangling?
>  The image package postinst is supposed to remove them.

On machines other than the build one, the "source" symlink has been removed,
the "build" one correctly goes to /usr/src/linux-headers-3.14.3-x32

>         If it is your build machine, then this is the current behaviour
>  to leave the links pointing to your build directory. This can of course
>  be overridden by adding your own postint file to the postinst.d
>  drectory. 

On the build machine, both "source" and "build" point to the directory the
kernel happened to be built in, in my case in a directory owned by an user
other than root.  This leads to failures:

* if I delete the unpacked sources, dkms fails to find installed
  linux-headers-XXX.  This is likely when using packaged linux-source which
  embeds its version number in its top directory's name.

* if I checkout some other version, dkms will build against the currently
  unpacked tree rather than installed linux-headers-XXX.  This is likely
  when building from git.


-- 
Gnome 3, Windows 8, Slashdot Beta, now Firefox Ribbon^WAustralis.  WTF is going
on with replacing usable interfaces with tabletized ones?


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to