summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-12-01 14:53:15 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-12-01 14:53:15 -0400
commit3ac91582743a295c23240b7dabe0cf605a38c4b1 (patch)
treef4d5e60947f3707bf88dbaca6be3d1ea6c7dadf1 /Build
parent6378b7460e4246ff98d690d24e33fa91995e108d (diff)
assistant: Batch jobs are now run with ionice and nocache, when those commands are available.
Diffstat (limited to 'Build')
-rw-r--r--Build/BundledPrograms.hs5
1 files changed, 3 insertions, 2 deletions
diff --git a/Build/BundledPrograms.hs b/Build/BundledPrograms.hs
index 3c53f06fb..e875c4e96 100644
--- a/Build/BundledPrograms.hs
+++ b/Build/BundledPrograms.hs
@@ -50,8 +50,9 @@ bundledPrograms = catMaybes
, Just "gunzip"
, Just "tar"
#endif
- -- nice and ionice are not included in the bundle; we rely on the
- -- system's own version, which may better match its kernel
+ -- nice, ionice, and nocache are not included in the bundle;
+ -- we rely on the system's own version, which may better match
+ -- its kernel, and avoid using them if not available.
]
where
ifset True s = Just s