From: Don Zickus <[email protected]>

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 <[email protected]>

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
_______________________________________________
kernel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to