summaryrefslogtreecommitdiff
path: root/src/Propellor/Property/Sbuild.hs
diff options
context:
space:
mode:
authorSean Whitton2016-05-21 09:15:29 +0900
committerSean Whitton2016-05-21 09:15:29 +0900
commit79acb87c2c52d6ad071ad30bd2afb82fc4a2635a (patch)
treed69dd42c187c1955f5e218f88f227d77c8fc67ce /src/Propellor/Property/Sbuild.hs
parentd4ad2ab2f10b5146d7ec26372b944e5eb79b5e54 (diff)
need piuparts installed if using my .sbuildrc
Diffstat (limited to 'src/Propellor/Property/Sbuild.hs')
-rw-r--r--src/Propellor/Property/Sbuild.hs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Propellor/Property/Sbuild.hs b/src/Propellor/Property/Sbuild.hs
index 19949974..21fdbfe2 100644
--- a/src/Propellor/Property/Sbuild.hs
+++ b/src/Propellor/Property/Sbuild.hs
@@ -8,6 +8,7 @@ Build and maintain schroots for use with sbuild.
Suggested usage in @config.hs@:
+> & Apt.installed ["piuparts"]
> & Sbuild.builtFor (System (Debian Unstable) "i386")
> & Sbuild.updatedFor (System (Debian Unstable) "i386") `period` Weekly 1
> & Sbuild.usableBy (User "spwhitton")
@@ -255,8 +256,9 @@ ccachePrepared = propertyList "sbuild group ccache configured" $ props
blockNetwork :: Property Linux
blockNetwork = Firewall.rule Firewall.OUTPUT Firewall.Filter Firewall.DROP $
Firewall.GroupOwner (Group "sbuild")
- `mappend` Firewall.NotDestination
+ <> Firewall.NotDestination
[Firewall.IPWithNumMask (IPv4 "127.0.0.1") 8]
+ `requires` installed -- sbuild group must exist
-- ==== utility functions ====