summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSean Whitton2016-09-05 11:37:17 -0700
committerSean Whitton2016-09-05 11:54:31 -0700
commit25547675038708e6925849c8caf7ad208d35a4ee (patch)
tree3faddbd2b14b5a865540dda951c7438e05ed2e99 /src
parent695f3f1aa70468671dc09894324d92f23d5283ae (diff)
update Sbuild.piupartsConf docstring
Diffstat (limited to 'src')
-rw-r--r--src/Propellor/Property/Sbuild.hs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Propellor/Property/Sbuild.hs b/src/Propellor/Property/Sbuild.hs
index c05f47e7..102f5387 100644
--- a/src/Propellor/Property/Sbuild.hs
+++ b/src/Propellor/Property/Sbuild.hs
@@ -174,10 +174,10 @@ built s@(SbuildSchroot suite arch) mirror =
& aliasesLine
-- enable ccache and eatmydata for speed
& ConfFile.containsIniSetting (schrootConf s)
- [ show s ++ "-sbuild"
+ ( show s ++ "-sbuild"
, "command-prefix"
, "/var/cache/ccache-sbuild/sbuild-setup,eatmydata"
- ]
+ )
-- if we're building a sid chroot, add useful aliases
-- In order to avoid more than one schroot getting the same aliases, we
@@ -294,12 +294,12 @@ piupartsConfFor sys = property' ("piuparts schroot conf for " ++ show sys) $
-- piuparts in their @~/.sbuildrc@, which is inconvenient.
--
-- To make use of this new schroot config, you can put something like this in
--- your ~/.sbuildrc:
+-- your ~/.sbuildrc (sbuild 0.71.0 or newer):
--
-- > $run_piuparts = 1;
-- > $piuparts_opts = [
-- > '--schroot',
--- > 'unstable-i386-piuparts',
+-- > '%r-%a-piuparts',
-- > '--fail-if-inadequate',
-- > '--fail-on-broken-symlinks',
-- > ];