Package: kernel-package
Version: 12.036+nmu1
Severity: normal

Both kernel_image and kernel_header targets are made with

make-kpkg --rootcmd=fakeroot --append-to-version=.03 kernel_image kernel_headers

However, the resulting
linux-headers-3.0.0-rc1.03+_3.0.0-rc1.03+-10.00.Custom_amd64.deb package
does not contain symlinks which are presetnt in stock Debian headers
packages:

/lib/modules/3.0.0-rc1.03+/source -> /usr/src/linux-headers-3.0.0-rc1.03+/
/lib/modules/3.0.0-rc1.03+/build  -> /usr/src/linux-headers-3.0.0-rc1.03+/

Instead, the linux-image-3.0.0-rc1.03+_3.0.0-rc1.03+-10.00.Custom_amd64.deb 
package contains 
/lib/modules/3.0.0-rc1.03+/source -> <host build dir>
/lib/modules/3.0.0-rc1.03+/build -> <host build dir>

As a reuslt if both the image and headers packages are deployed to a
different machine, or the original build dir is moved or modified,
building modules against the compiled kernel fails. The workaround is to
manually redirect the symlinks to the headers directory.



-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-rc1.02+ (SMP w/4 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages kernel-package depends on:
ii  binutils              2.21.51.20110523-1 The GNU assembler, linker and bina
ii  build-essential       11.5               Informational list of build-essent
ii  debianutils           4.0.1              Miscellaneous utilities specific t
ii  file                  5.04-5+b1          Determines file type using "magic"
ii  gettext               0.18.1.1-3         GNU Internationalization utilities
ii  make                  3.81-8.1           An utility for Directing compilati
ii  module-init-tools     3.16-1             tools for managing Linux kernel mo
ii  po-debconf            1.0.16+nmu1        tool for managing templates file t
ii  util-linux            2.17.2-9.1         Miscellaneous system utilities

Versions of packages kernel-package recommends:
ii  cpio                          2.11-7     GNU cpio -- a program to manage ar

Versions of packages kernel-package suggests:
pn  btrfs-tools                   <none>     (no description available)
ii  bzip2                         1.0.5-6    high-quality block-sorting file co
pn  docbook-utils                 <none>     (no description available)
ii  e2fsprogs                     1.41.12-4  ext2/ext3/ext4 file system utiliti
pn  grub | grub2                  <none>     (no description available)
ii  initramfs-tools [linux-initra 0.99       tools for generating an initramfs
pn  jfsutils                      <none>     (no description available)
pn  libncurses-dev                <none>     (no description available)
pn  linux-source | kernel-source  <none>     (no description available)
pn  mcelog                        <none>     (no description available)
pn  oprofile                      <none>     (no description available)
pn  pcmciautils                   <none>     (no description available)
pn  ppp                           <none>     (no description available)
ii  procps                        1:3.2.8-10 /proc file system utilities
pn  quota                         <none>     (no description available)
pn  reiserfsprogs                 <none>     (no description available)
pn  squashfs-tools                <none>     (no description available)
ii  udev                          170-1      /dev/ and hotplug management daemo
pn  xfsprogs                      <none>     (no description available)
pn  xmlto                         <none>     (no description available)

-- no debconf information



-- 
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