Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Propellor.Property.Debootstrap
Synopsis
- type Url = String
- data DebootstrapConfig
- built :: FilePath -> System -> DebootstrapConfig -> Property Linux
- built' :: Property Linux -> FilePath -> System -> DebootstrapConfig -> Property Linux
- extractSuite :: System -> Maybe String
- installed :: RevertableProperty Linux Linux
- sourceInstall :: Property Linux
Documentation
data DebootstrapConfig Source #
A data type for debootstrap configuration. mempty is a default debootstrapped system.
Constructors
DefaultConfig | |
MinBase | |
BuilddD | |
DebootstrapParam String | |
UseEmulation | |
DebootstrapProxy Url | |
DebootstrapMirror Url | |
UseOldGpgKeyring | Debootstrap using the keyring of old and removed gpg keys. This is needed to debootstrap ancient stable releases of Debian. |
DebootstrapConfig :+ DebootstrapConfig |
Instances
Monoid DebootstrapConfig Source # | |
Defined in Propellor.Property.Debootstrap Methods mempty :: DebootstrapConfig Source # mappend :: DebootstrapConfig -> DebootstrapConfig -> DebootstrapConfig Source # mconcat :: [DebootstrapConfig] -> DebootstrapConfig Source # | |
Semigroup DebootstrapConfig Source # | |
Defined in Propellor.Property.Debootstrap Methods (<>) :: DebootstrapConfig -> DebootstrapConfig -> DebootstrapConfig Source # sconcat :: NonEmpty DebootstrapConfig -> DebootstrapConfig Source # stimes :: Integral b => b -> DebootstrapConfig -> DebootstrapConfig Source # | |
Show DebootstrapConfig Source # | |
Defined in Propellor.Property.Debootstrap |
built :: FilePath -> System -> DebootstrapConfig -> Property Linux Source #
Builds a chroot in the given directory using debootstrap.
The System can be any OS and architecture that debootstrap and the kernel support.
When the System is architecture that the kernel does not support,
it can still be bootstrapped using emulation. This is determined
by checking supportsArch
, or can be configured with UseEmulation
.
built' :: Property Linux -> FilePath -> System -> DebootstrapConfig -> Property Linux Source #
Like built
, but uses the provided Property to install debootstrap.