Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #51697

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

From Wookey <wookey@debian.org>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#807661: linux: With 4.4 kernel sources, libcrc32c is needed by raid so udeb build fails
Date 2015-12-11 12:40 +0100
Message-ID <qEudk-3DB-21@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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

Back to linux.debian.kernel | Previous | Next | Find similar | Unroll thread


Thread

Bug#807661: linux: With 4.4 kernel sources, libcrc32c is needed by raid so udeb build fails Wookey <wookey@debian.org> - 2015-12-11 12:40 +0100

csiph-web