From 5130142391785cf8336666b1bb4b8c00962e1a82 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 24 Jul 2008 22:16:20 +0000 Subject: * Refer user to make.conf(5) if PORTAGE_IONICE_COMMAND fails. * Document that PORTAGE_IONICE_COMMAND can be disabled by setting it to an empty string. svn path=/main/trunk/; revision=11183 --- man/make.conf.5 | 2 ++ pym/_emerge/__init__.py | 1 + 2 files changed, 3 insertions(+) diff --git a/man/make.conf.5 b/man/make.conf.5 index 36db9d536..875060da2 100644 --- a/man/make.conf.5 +++ b/man/make.conf.5 @@ -464,6 +464,8 @@ This variable should contain a command for portage to call in order to adjust the io priority of portage and it's subprocesses. The command string should contain a \\${PID} place-holder that will be substituted with an integer pid. For more information about ionice, see \fBionice\fR(1). +Set this variable to an empty string if you do not want portage to call +ionice. .br Defaults to "ionice -c 2 -n 7 -p \\${PID}". .TP diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py index 6c25bafd3..cf43a9efe 100644 --- a/pym/_emerge/__init__.py +++ b/pym/_emerge/__init__.py @@ -12868,6 +12868,7 @@ def ionice(settings): if rval != os.EX_OK: out = portage.output.EOutput() out.eerror("PORTAGE_IONICE_COMMAND returned %d" % (rval,)) + out.eerror("See the make.conf(5) man page for PORTAGE_IONICE_COMMAND usage instructions.") def emerge_main(): global portage # NFC why this is necessary now - genone -- cgit v1.2.3-1-g7c22