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

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

diff --git a/queue-4.14/kbuild-don-t-hardcode-depmod-path.patch b/queue-4.14/kbuild-don-t-hardcode-depmod-path.patch
new file mode 100644 (file)
index 0000000..3919a31
--- /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
+@@ -382,7 +382,7 @@ OBJDUMP            = $(CROSS_COMPILE)objdump
+ AWK           = awk
+ GENKSYMS      = scripts/genksyms/genksyms
+ INSTALLKERNEL  := installkernel
+-DEPMOD                = /sbin/depmod
++DEPMOD                = depmod
+ PERL          = perl
+ PYTHON                = python
+ CHECK         = sparse
index a2301fb0285c2f4d3247c4db40ba0156446d76cd..13059cc945a8638a1dc4f8611afb7c94535f998d 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-pci-ensure-ufs-device-is-in-powerdown-mode-.patch
 scsi-ide-do-not-set-the-rqf_preempt-flag-for-sense-r.patch