summaryrefslogtreecommitdiff
path: root/src/Propellor/Property/Debootstrap.hs
AgeCommit message (Collapse)Author
2017-10-19Use isUnpopulated when creating a chroot or restoring a backupignore-lost-n-foundNicolas Schodet
2017-02-04make pattern-matching exhaustiveZihao Wang
Signed-off-by: Zihao Wang <dev@wzhd.org>
2016-12-24GHC's fileSystemEncoding is used for all String IO, to avoid ↵Joey Hess
encoding-related crashes in eg, Propellor.Property.File.
2016-11-20Debootstap: Fix too tight permissions lock down of debootstrapped chroots, ↵Joey Hess
which prevented non-root users from doing anything in the chroot.
2016-10-03Debootstap.installed: Fix inverted logic that made this never install ↵Joey Hess
debootstrap. Thanks, mithrandi. This commit was sponsored by Jake Vosloo on Patreon.
2016-09-24Simplify Debootstrap.sourceInstall since #770217 was fixed.Joey Hess
2016-09-05typoSean Whitton
2016-06-13add DebianKernel datatypeFélix Sipma
(cherry picked from commit 3590a1241580ddcdd153e2619a3c02ce18a8db8c but without the changes to src/Propellor/Precompiled.hs)
2016-06-13convert Architecture to a sumtypeFélix Sipma
TODO: remove ANDROID (used in GitAnnexBuilder) TODO: add other architectures TODO: rename ARMHF TODO: rename ARMEL (cherry picked from commit 6f36f6cade4e1d8b15c714565e223562c6573099)
2016-05-16export extractSuite from Debootstrap.hsSean Whitton
2016-03-28propellor spinJoey Hess
2016-03-25ported moreJoey Hess
Ssh is WIP and failing to compile quite badly
2016-03-25continued portingJoey Hess
2016-03-07avoid default fallthrough for SystemJoey Hess
This is so, when a user adds a new OS, ghc tells them everywhere they need to look to add it. Also, avoid throwing error from pure function..
2016-03-07FreeBSD Support including:Evan Cofsky
- Propellor bootstrapping - Basic pkg - Basic ZFS datasets and properties - Simple Poudriere configuration (regular and ZFS) - Poudriere jail creation FIXME: - Cron.hs: runPropellor needs the System, but hasn't yet gotten it. Reorganizing: - Remove FreeBSD.Process - Move ZFS up to Property - Add Info for Pkg.update/Pkg.upgrade - Move FreeBSD.md to doc so it'll show up automatically. - Merge the FreeBSD config with the other sample config. - Use Info to check Pkg updated/upgraded and Poudriere configured. - Warnings clean-up, move ZFS types to Propellor.Types. - Maintainer and license statements.
2016-02-25FooBuntu -> BuntishJoey Hess
Seems that Canonical have trademarked numerous words ending in "buntu", and would like to trademark anything ending in that to the extent their lawyers can make that happen.
2016-02-19trademark nonsenseJoey Hess
Removed references to *buntu from code and documentation because of an unfortunate trademark use policy. http://joeyh.name/blog/entry/trademark_nonsense/ That included changing a data constructor to "FooBuntu", an API change.
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.