[packages/geninitrd] - rel 8; ext4 drags in libcrc32c stuff
arekm
arekm at pld-linux.org
Fri May 4 15:51:48 CEST 2018
commit 59e121d43d46d0e679a5cf21d6e42b8128943fe6
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Fri May 4 15:51:41 2018 +0200
- rel 8; ext4 drags in libcrc32c stuff
geninitrd-git.patch | 20 ++++++++++++++++++++
geninitrd.spec | 2 +-
2 files changed, 21 insertions(+), 1 deletion(-)
---
diff --git a/geninitrd.spec b/geninitrd.spec
index 8e17a67..5305cd3 100644
--- a/geninitrd.spec
+++ b/geninitrd.spec
@@ -7,7 +7,7 @@ Summary: Creates an initial ramdisk image for preloading modules
Summary(pl.UTF-8): Narzędzie do tworzenia inicjalnego ramdysku używanego przy starcie systemu
Name: geninitrd
Version: 12757
-Release: 7
+Release: 8
License: GPL
Group: Applications/System
Source0: %{name}-%{version}.tar.gz
diff --git a/geninitrd-git.patch b/geninitrd-git.patch
index 0ee27c0..a6ac79d 100644
--- a/geninitrd-git.patch
+++ b/geninitrd-git.patch
@@ -75,3 +75,23 @@ index 771245e..62e47ee 100755
}
# unmount all mountpoints mounted by geninitrd
+commit b5a01dda8ca06f88b1210f806f3ac6da7c0019f0
+Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
+Date: Fri May 4 15:50:18 2018 +0200
+
+ ext4 can use crc32 but has it in softdep only
+
+diff --git a/geninitrd b/geninitrd
+index 0a18298..c75c22b 100755
+--- a/geninitrd
++++ b/geninitrd
+@@ -435,6 +435,9 @@ find_depmod() {
+ warn "mounting multidevice btrfs volume requires rootfsflags=device=/dev/...,device=/dev/... kernel option"
+ find_depmod "-libcrc32c"
+ ;;
++ ext4)
++ find_depmod "-libcrc32c"
++ ;;
+ crc-t10dif)
+ find_depmod "-crct10dif-pclmul"
+ find_depmod "-crct10dif"
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/geninitrd.git/commitdiff/59e121d43d46d0e679a5cf21d6e42b8128943fe6
More information about the pld-cvs-commit
mailing list