From: Greg Kroah-Hartman Date: Sun, 10 Jan 2021 10:59:46 +0000 (+0100) Subject: 5.10-stable patches X-Git-Tag: v4.4.251~43 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b42d09012992c6d099a10415c5138a9efb75db0c;p=thirdparty%2Fkernel%2Fstable-queue.git 5.10-stable patches added patches: kbuild-don-t-hardcode-depmod-path.patch --- diff --git a/queue-5.10/kbuild-don-t-hardcode-depmod-path.patch b/queue-5.10/kbuild-don-t-hardcode-depmod-path.patch new file mode 100644 index 00000000000..ed853c85859 --- /dev/null +++ b/queue-5.10/kbuild-don-t-hardcode-depmod-path.patch @@ -0,0 +1,31 @@ +From 436e980e2ed526832de822cbf13c317a458b78e1 Mon Sep 17 00:00:00 2001 +From: Dominique Martinet +Date: Tue, 1 Dec 2020 14:17:30 +0100 +Subject: kbuild: don't hardcode depmod path + +From: Dominique Martinet + +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 +Signed-off-by: Masahiro Yamada +Signed-off-by: Greg Kroah-Hartman + +--- + Makefile | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- a/Makefile ++++ b/Makefile +@@ -450,7 +450,7 @@ LEX = flex + YACC = bison + AWK = awk + INSTALLKERNEL := installkernel +-DEPMOD = /sbin/depmod ++DEPMOD = depmod + PERL = perl + PYTHON = python + PYTHON3 = python3 diff --git a/queue-5.10/series b/queue-5.10/series index c99f6dbdcf0..f24a483cf67 100644 --- a/queue-5.10/series +++ b/queue-5.10/series @@ -65,3 +65,4 @@ local64.h-make-asm-local64.h-mandatory.patch lib-genalloc-fix-the-overflow-when-size-is-too-big.patch depmod-handle-the-case-of-sbin-depmod-without-sbin-i.patch scsi-ufs-clear-uac-for-ffu-and-rpmb-luns.patch +kbuild-don-t-hardcode-depmod-path.patch