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

Bug#807661: linux: With 4.4 kernel sources, libcrc32c is needed by raid so udeb build fails



Source: linux
Version: 4.3-1~exp2
Severity: normal

I had to make the debian packaging work with a 4.4 tree and it needed this minor fix.

Here is a patch as you'll no doubt be doing the same thing shortly

Without this the build fails with:
debian/md-modules-4.4.0-trunk-arm64-di lib/modules/4.4.0-trunk-arm64/kernel/lib/libcrc32c.ko
debian/crc-modules-4.4.0-trunk-arm64-di lib/modules/4.4.0-trunk-arm64/kernel/lib/libcrc32c.ko
some modules are in more than one package

It seems that raid6 has added a dependency on libcrc32c
Only tested on arm64, but I presume this is a generic change. I could be wrong...

Author: Wookey <wookey@wookware.org>
Date:   Thu Dec 10 17:44:12 2015 +0000

    Fix for 4.4 kernels udebs

diff --git a/debian/installer/package-list b/debian/installer/package-list
index e79890b..adaee53 100644
--- a/debian/installer/package-list
+++ b/debian/installer/package-list
@@ -180,7 +180,7 @@ Description: NFS filesystem support
  This package contains the NFS filesystem module for the kernel.
 
 Package: md-modules
-Depends: kernel-image
+Depends: kernel-image, crc-modules
 Priority: extra
 Description: RAID and LVM support
  This package contains RAID and LVM modules for the kernel.



-- System Information:
Debian Release: 7.9
  APT prefers oldstable-updates
  APT policy: (500, 'oldstable-updates'), (500, 'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
commit b6e5b7ebed9f043b05e629bbdbab1cf1f007f581
Author: Wookey <wookey@wookware.org>
Date:   Thu Dec 10 17:44:12 2015 +0000

    Fix for 4.4 kernels udebs

diff --git a/debian/installer/package-list b/debian/installer/package-list
index e79890b..adaee53 100644
--- a/debian/installer/package-list
+++ b/debian/installer/package-list
@@ -180,7 +180,7 @@ Description: NFS filesystem support
  This package contains the NFS filesystem module for the kernel.
 
 Package: md-modules
-Depends: kernel-image
+Depends: kernel-image, crc-modules
 Priority: extra
 Description: RAID and LVM support
  This package contains RAID and LVM modules for the kernel.

Reply to: