diff options
| author | Joey Hess <joeyh@joeyh.name> | 2015-10-23 12:27:45 -0400 |
|---|---|---|
| committer | Joey Hess <joeyh@joeyh.name> | 2015-10-23 12:27:45 -0400 |
| commit | 6dc70ff8d01871d2e37a3c5dfea8912737cb63c2 (patch) | |
| tree | 48a91b8ca68cbcc63316e6e493e8a032889d1396 /src | |
| parent | 40f92a43b4506cbd69e8589228e17ace044be4ca (diff) | |
propellor spin
Diffstat (limited to 'src')
| -rw-r--r-- | src/Propellor/Property/DiskImage.hs | 2 |
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. |
