]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
4.19-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 10 Jan 2021 10:59:44 +0000 (11:59 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 10 Jan 2021 10:59:44 +0000 (11:59 +0100)
added patches:
kbuild-don-t-hardcode-depmod-path.patch

queue-4.19/kbuild-don-t-hardcode-depmod-path.patch [new file with mode: 0644]
queue-4.19/series

diff --git a/queue-4.19/kbuild-don-t-hardcode-depmod-path.patch b/queue-4.19/kbuild-don-t-hardcode-depmod-path.patch
new file mode 100644 (file)
index 0000000..f106c95
--- /dev/null
@@ -0,0 +1,31 @@
+From 436e980e2ed526832de822cbf13c317a458b78e1 Mon Sep 17 00:00:00 2001
+From: Dominique Martinet <asmadeus@codewreck.org>
+Date: Tue, 1 Dec 2020 14:17:30 +0100
+Subject: kbuild: don't hardcode depmod path
+
+From: Dominique Martinet <asmadeus@codewreck.org>
+
+commit 436e980e2ed526832de822cbf13c317a458b78e1 upstream.
+
+depmod is not guaranteed to be in /sbin, just let make look for
+it in the path like all the other invoked programs
+
+Signed-off-by: Dominique Martinet <asmadeus@codewreck.org>
+Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
+---
+ Makefile |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/Makefile
++++ b/Makefile
+@@ -400,7 +400,7 @@ YACC               = bison
+ AWK           = awk
+ GENKSYMS      = scripts/genksyms/genksyms
+ INSTALLKERNEL  := installkernel
+-DEPMOD                = /sbin/depmod
++DEPMOD                = depmod
+ PERL          = perl
+ PYTHON                = python
+ PYTHON2               = python2
index 106cf91ae53cdc300bec7a48f898f07e1e773a81..897ea3587f4f245eb4cbdb9e30abfbc8ee00ced7 100644 (file)
@@ -1,3 +1,4 @@
+kbuild-don-t-hardcode-depmod-path.patch
 workqueue-kick-a-worker-based-on-the-actual-activati.patch
 scsi-ufs-fix-wrong-print-message-in-dev_err.patch
 scsi-ufs-pci-ensure-ufs-device-is-in-powerdown-mode-.patch