summaryrefslogtreecommitdiff
path: root/src/Propellor/Property/Partition.hs
AgeCommit message (Collapse)Author
2017-09-05move parseFs to Property.PartitionJoey Hess
2017-03-24Property.Partition: Update kpartx output parser, as its output format ↵Joey Hess
changed around version 0.6. Both output formats are supported now. Do we trust kpartx to not change again, given how little documented its output format is and that it's changed w/o warning? Little other things like vmdebootstrap depend on its output in the same way.. This commit was sponsored by Ignacio on Patreon.
2017-03-24Property.Partition: Improve loop device detection code used with kpartx when ↵Joey Hess
building disk images. /dev/mapper/loop* symlinks are now detected as block devices.
2016-03-27improve haddocks and move code around to make them more clearJoey Hess
2016-03-26ported propagateContainerJoey Hess
Renamed several utility functions along the way.
2016-03-26more portingJoey Hess
2015-12-05UncheckedProperty for cmdProperty et alJoey Hess
* Properties that run an arbitrary command, such as cmdProperty and scriptProperty are converted to use UncheckedProperty, since they cannot tell on their own if the command truely made a change or not. (API Change) Transition guide: - When GHC complains about an UncheckedProperty, add: `assume` MadeChange - Since these properties used to always return MadeChange, that change is always safe to make. - Or, if you know that the command should modifiy a file, use: `changesFile` filename * A few properties have had their Result improved, for example Apt.buldDep and Apt.autoRemove now check if a change was made or not.
2015-10-23propellor spinJoey Hess
2015-10-22belt-and-suspenders check of kpartx outputJoey Hess
2015-10-22propellor spinJoey Hess
2015-10-10propellor spinJoey Hess
2015-09-02mkfs quietlyJoey Hess
2015-09-02force partition formatting to happen for non-block devs and when already ↵Joey Hess
formatted
2015-08-25idempotency fix for kpartxJoey Hess
noticed kpartx could get confused if a disk image it had mapped was deleted and a fresh one mapped
2015-08-25formatting for partitions set up by partedJoey Hess
Including support for formatting partitions of a disk image file.