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

[PATCH] Add btrfs dependency on crc32c to hidden dependencies list (Closes: #748805)



From: Markus Wanner <markus@bluegap.ch>

Starting with Linux 3.14, btrfs does not depend on libcrc32c.  It has
a direct, but still hidden, dependency on crc32c.

[bwh: Add commit message]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
---
 hook-functions | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/hook-functions b/hook-functions
index d500dd0..697f534 100644
--- a/hook-functions
+++ b/hook-functions
@@ -512,7 +512,9 @@ auto_add_modules()
 hidden_dep_add_modules()
 {
 	local modules=
-	for dep in "lib/libcrc32c crc32c" "fs/ubifs/ubifs deflate zlib lzo"; do
+	for dep in "lib/libcrc32c crc32c" \
+			"fs/ubifs/ubifs deflate zlib lzo" \
+			"fs/btrfs/btrfs crc32c"; do
 		set -- $dep
 		if [ -f "${DESTDIR}/lib/modules/${version}/kernel/$1.ko" ]; then
 			shift

-- 
Ben Hutchings
Beware of programmers who carry screwdrivers. - Leonard Brandwein

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: