diff options
Diffstat (limited to 'src/Propellor/Property')
| -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. |
