summaryrefslogtreecommitdiff
path: root/src/Propellor/Property/DiskImage.hs
diff options
context:
space:
mode:
authorJoey Hess2015-10-23 12:27:45 -0400
committerJoey Hess2015-10-23 12:27:45 -0400
commit6dc70ff8d01871d2e37a3c5dfea8912737cb63c2 (patch)
tree48a91b8ca68cbcc63316e6e493e8a032889d1396 /src/Propellor/Property/DiskImage.hs
parent40f92a43b4506cbd69e8589228e17ace044be4ca (diff)
propellor spin
Diffstat (limited to 'src/Propellor/Property/DiskImage.hs')
-rw-r--r--src/Propellor/Property/DiskImage.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Propellor/Property/DiskImage.hs b/src/Propellor/Property/DiskImage.hs
index eea33706..97880cf4 100644
--- a/src/Propellor/Property/DiskImage.hs
+++ b/src/Propellor/Property/DiskImage.hs
@@ -159,6 +159,8 @@ partitionsPopulated chrootdir mnts devs = property desc $ mconcat $ zipWith go m
-- Include the child mount point, but exclude its contents.
[ Include (Pattern m)
, Exclude (filesUnder m)
+ -- Preserve any lost+found directory that mkfs made
+ , Exclude (Pattern "lost+found")
]) childmnts
-- | Ensures that a disk image file of the specified size exists.