summaryrefslogtreecommitdiff
path: root/src/Propellor
diff options
context:
space:
mode:
authorSean Whitton2016-05-16 11:15:51 -0700
committerSean Whitton2016-05-16 11:15:51 -0700
commitbf6aac5462f22647bdc49a641cd86feeb4fe2f25 (patch)
treee8a87b46a3ca46c3dfadf68d138b8375c9b077d6 /src/Propellor
parent57b6b2c8b57fbc5cd6fc3ebb174c7a343870ea1e (diff)
comments & fix example
Diffstat (limited to 'src/Propellor')
-rw-r--r--src/Propellor/Property/Sbuild.hs12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/Propellor/Property/Sbuild.hs b/src/Propellor/Property/Sbuild.hs
index 7739a3bf..80687c7c 100644
--- a/src/Propellor/Property/Sbuild.hs
+++ b/src/Propellor/Property/Sbuild.hs
@@ -5,8 +5,8 @@ Build and maintain schroots for use with sbuild.
Suggested usage in @config.hs@:
-> & Sbuild.built (Debian Unstable) "i386"
-> & Sbuild.updated (Debian Unstable) "i386" `period` Weekly
+> & Sbuild.built ((Debian Unstable) "i386")
+> & Sbuild.updated ((Debian Unstable) "i386") `period` Weekly
> & Sbuild.usableBy (User "spwhitton")
> & Sbuild.shareAptCache
> & Schroot.overlaysInTmpfs
@@ -29,10 +29,14 @@ In @~/.sbuildrc@:
We use @sbuild-createchroot(1)@ to create a chroot to the specification of
@sbuild-setup(7)@. This differs from the approach taken by picca's Sbuild.hs,
-which uses 'Propellor.Property.Debootstrap' to construct the chroot. This is to
-ensure that the clean package build environment is standardised.
+which uses 'Propellor.Property.Debootstrap' to construct the chroot. This is
+because we don't want to run propellor inside the chroot in order to keep the
+sbuild environment as standardised as possible.
-}
+-- If you wanted to do it with Propellor.Property.Debootstrap, note that
+-- sbuild-createchroot has a relevant option: --setup-only
+
module Propellor.Property.Sbuild where
import Propellor.Base