summaryrefslogtreecommitdiff
path: root/nonsystemd/mkinitcpio/0002-mkinitcpio-fix-builtin.patch
diff options
context:
space:
mode:
authorDavid P <megver83@parabola.nu>2020-03-03 22:46:48 -0300
committerDavid P <megver83@parabola.nu>2020-03-03 22:46:48 -0300
commit8b34f5ca49bb3cd1ec06408c7cfbc92d4a928e7e (patch)
tree816a9301787e969d0e9a71571ec0eab872ddaffd /nonsystemd/mkinitcpio/0002-mkinitcpio-fix-builtin.patch
parent92906e1d9f33e55ab2bb75390e787281650cb6eb (diff)
downloadabslibre-8b34f5ca49bb3cd1ec06408c7cfbc92d4a928e7e.tar.gz
abslibre-8b34f5ca49bb3cd1ec06408c7cfbc92d4a928e7e.tar.bz2
abslibre-8b34f5ca49bb3cd1ec06408c7cfbc92d4a928e7e.zip
updpkg: nonsystemd/mkinitcpio 27-3.nonsystemd1
Signed-off-by: David P <megver83@parabola.nu>
Diffstat (limited to 'nonsystemd/mkinitcpio/0002-mkinitcpio-fix-builtin.patch')
-rw-r--r--nonsystemd/mkinitcpio/0002-mkinitcpio-fix-builtin.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/nonsystemd/mkinitcpio/0002-mkinitcpio-fix-builtin.patch b/nonsystemd/mkinitcpio/0002-mkinitcpio-fix-builtin.patch
new file mode 100644
index 000000000..3ee8d1f4f
--- /dev/null
+++ b/nonsystemd/mkinitcpio/0002-mkinitcpio-fix-builtin.patch
@@ -0,0 +1,29 @@
+From 30dbfc2770cb49cb3babfb750205b126d7d88791 Mon Sep 17 00:00:00 2001
+From: Morten Linderud <morten@linderud.pw>
+Date: Thu, 20 Feb 2020 09:44:29 +0100
+Subject: [PATCH] [functions] Ignore modinfo built-in modules
+
+modinfo have started reporting filenames as "(builtin)" on built-in
+modules. Ignore these and continue with other modules.
+
+Fixes: https://bugs.archlinux.org/task/65564
+Introduced in: https://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git/commit/?id=e7e2cb61fa9f1db3429d91ef6accff549500d268
+
+Signed-off-by: Morten Linderud <morten@linderud.pw>
+---
+ functions | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/functions b/functions
+index f407c82..1c72b56 100644
+--- a/functions
++++ b/functions
+@@ -371,7 +371,7 @@ add_module() {
+ target=${1%.ko*} target=${target//-/_}
+
+ # skip expensive stuff if this module has already been added
+- (( _addedmodules["$target"] == 1 )) && return
++ (( _addedmodules["$target"] > 0 )) && return
+
+ while IFS=':= ' read -r -d '' field value; do
+ case "$field" in