summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-06-21 13:23:20 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-06-21 13:23:20 -0400
commit5e255e21f93304df5227cdff8a1d13ed3d50f58b (patch)
treed812adc0f0d7087bbacb96a69990b1142ee34848 /Build
parentd9f82883aeaacf74011600709fd64b2018d6b1d3 (diff)
assistant --autostart: Automatically ionices the daemons it starts.
Diffstat (limited to 'Build')
-rw-r--r--Build/BundledPrograms.hs2
-rw-r--r--Build/Configure.hs1
2 files changed, 3 insertions, 0 deletions
diff --git a/Build/BundledPrograms.hs b/Build/BundledPrograms.hs
index ae4beedf7..9a50778d4 100644
--- a/Build/BundledPrograms.hs
+++ b/Build/BundledPrograms.hs
@@ -40,6 +40,8 @@ bundledPrograms = catMaybes
, SysConfig.sha512
, SysConfig.sha224
, SysConfig.sha384
+ -- ionice is not included in the bundle; we rely on the system's
+ -- own version, which may better match its kernel
]
where
ifset True s = Just s
diff --git a/Build/Configure.hs b/Build/Configure.hs
index 399af9da8..e32017ec3 100644
--- a/Build/Configure.hs
+++ b/Build/Configure.hs
@@ -31,6 +31,7 @@ tests =
, TestCase "curl" $ testCmd "curl" "curl --version >/dev/null"
, TestCase "wget" $ testCmd "wget" "wget --version >/dev/null"
, TestCase "bup" $ testCmd "bup" "bup --version >/dev/null"
+ , TestCase "ionice" $ testCmd "ionice" "ionice --version >/dev/null"
, TestCase "gpg" $ maybeSelectCmd "gpg"
[ ("gpg", "--version >/dev/null")
, ("gpg2", "--version >/dev/null") ]