summaryrefslogtreecommitdiff
path: root/src/Propellor/Property/Debootstrap.hs
AgeCommit message (Collapse)Author
2015-10-27Explicit Info/NoInfo for RevertableProperty (API change)Joey Hess
RevertableProperty used to be assumed to contain info, but this is now made explicit, with RevertableProperty HasInfo or RevertableProperty NoInfo. Transition guide: - If you define a RevertableProperty, expect some type check failures like: "Expecting one more argument to ‘RevertableProperty’". - Change it to "RevertableProperty NoInfo" - The compiler will then tell you if it needs "HasInfo" instead. - If you have code that uses the RevertableProperty constructor that fails to type check, use the more powerful <!> operator
2015-10-20Chroot: Converted to use a ChrootBootstrapper type classJoey Hess
So other ways to bootstrap chroots can easily be added in separate modules. (API change)
2015-10-10propellor spinJoey Hess
2015-09-13avoid bracketsJoey Hess
2015-09-13Follow some hlint suggestions.Mario Lang
2015-09-01removal of chroot on disk image rebuildJoey Hess
2015-05-30Mount /proc inside a chroot before provisioning it, to work around #787227Joey Hess
2015-05-27Export CommandParam, boolSystem, safeSystem and shellEscape from ↵Joey Hess
Propellor.Property.Cmd, so they are available for use in constricting your own Properties when using propellor as a library. Several imports of Utility.SafeCommand now redundant.
2015-04-29propellor spinJoey Hess
2015-01-25remove toSimplePropJoey Hess
It didn't do what I thought it did with a RevertableProperty; it always returned Nothing because even if the input properties to <!> are NoInfo, it casts them to HasInfo. Even if it had worked, it lost type safety. Better to export the Property NoInfo that is used in a RevertableProperty, so it can be used directly.
2015-01-24GADT properties seem to work (untested)Joey Hess
* Property has been converted to a GADT, and will be Property NoInfo or Property HasInfo. This was done to make sure that ensureProperty is only used on properties that do not have Info. Transition guide: - Change all "Property" to "Property NoInfo" or "Property WithInfo" (The compiler can tell you if you got it wrong!) - To construct a RevertableProperty, it is useful to use the new (<!>) operator - Constructing a list of properties can be problimatic, since Property NoInto and Property WithInfo are different types and cannot appear in the same list. To deal with this, "props" has been added, and can built up a list of properties of different types, using the same (&) and (!) operators that are used to build up a host's properties.
2014-12-09improve haddock formating of filenamesJoey Hess
2014-12-08another place to use toResultJoey Hess
2014-12-07simplify using makeChangeJoey Hess
2014-12-05fix install of debootstrap from sourceJoey Hess
2014-12-04more work on OS takeoverJoey Hess
2014-11-22propellor spinJoey Hess
2014-11-22propellor spinJoey Hess
2014-11-22pute full path to bin/propellor inside shimJoey Hess
2014-11-22reorgJoey Hess
2014-11-22propellor spinJoey Hess
2014-11-22propellor spinJoey Hess
2014-11-22propellor spinJoey Hess
2014-11-21lock down chroot permJoey Hess
2014-11-21add debootstrap parametersJoey Hess
2014-11-20incomplete systemd container supportJoey Hess
2014-11-19propellor spinJoey Hess
2014-11-19fix param orderJoey Hess
2014-11-19propellor spinJoey Hess
2014-11-19propellor spinJoey Hess
2014-11-19allow debootstrapped to be revertedJoey Hess
2014-11-19Added support for using debootstrap from propellor.Joey Hess
Most of the hard part was making it be able to install debootstrap from source, for use on non-debian-derived systems.