Skip to contentSkip to conversation

Patch "kbuild: Do not run modules_install and install in paralel" has been added to the 4.4-stable tree

PATCH [email protected] 1 participant 1 message Sep 26, 2016

Subsystems (2)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

kbuild: Do not run modules_install and install in paralel

to the 4.4-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
kbuild-do-not-run-modules_install-and-install-in-paralel.patch
and it can be found in the queue-4.4 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From a85a41ed69f27c4c667d8c418df14b4fb220c4ad Mon Sep 17 00:00:00 2001

From: Michal Marek <[email protected]>
Date: Thu, 10 Dec 2015 15:53:06 +0100
Subject: kbuild: Do not run modules_install and install in paralel

From: Michal Marek <[email protected]>

commit a85a41ed69f27c4c667d8c418df14b4fb220c4ad upstream.

Based on a x86-only patch by Andy Lutomirski <[email protected]>

With modular kernels, 'make install' is going to need the installed modules at some point to generate the initramfs.

---
 Makefile |    6 ++++++
 1 file changed, 6 insertions(+)
Makefile +6 -0
@@ -495,6 +495,12 @@ ifeq ($(KBUILD_EXTMOD),)
                 endif
         endif
 endif
+# install and module_install need also be processed one by one
+ifneq ($(filter install,$(MAKECMDGOALS)),)
+        ifneq ($(filter modules_install,$(MAKECMDGOALS)),)
+	        mixed-targets := 1
+        endif
+endif
 
 ifeq ($(mixed-targets),1)
 # ===========================================================================

Patches currently in stable-queue which might be from [email protected] are

queue-4.4/kbuild-do-not-run-modules_install-and-install-in-paralel.patch