From: Don Zickus <dzickus(a)redhat.com>
Make RHJOBS container friendly
RHJOBS uses 'nproc --all' which is not friendly to process like
containers that use taskset. Instead just use 'nproc'. Folks can
override this with rhpkg.mk file if they choose.
Signed-off-by: Don Zickus <dzickus(a)redhat.com>
diff --git a/redhat/Makefile b/redhat/Makefile
index blahblah..blahblah 100644
--- a/redhat/Makefile
+++ b/redhat/Makefile
@@ -90,7 +90,7 @@ ifndef RHJOBS
echo "1"; \
else \
j=$$(echo "$${j}" | tr -d "\-j"); \
- [ -z "$${j}" ] && nproc --all || echo $${j}; \
+ [ -z "$${j}" ] && nproc || echo $${j}; \
fi)
endif
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2375