Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
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.
DefaultConfig | |
MinBase | |
BuilddD | |
DebootstrapParam String | |
UseEmulation | |
DebootstrapProxy Url | |
DebootstrapMirror Url | |
DebootstrapConfig :+ DebootstrapConfig |
Instances
Monoid DebootstrapConfig Source # | |
Defined in Propellor.Property.Debootstrap | |
Semigroup DebootstrapConfig Source # | |
Defined in Propellor.Property.Debootstrap (<>) :: DebootstrapConfig -> DebootstrapConfig -> DebootstrapConfig # sconcat :: NonEmpty DebootstrapConfig -> DebootstrapConfig # stimes :: Integral b => b -> DebootstrapConfig -> DebootstrapConfig # | |
Show DebootstrapConfig Source # | |
Defined in Propellor.Property.Debootstrap showsPrec :: Int -> DebootstrapConfig -> ShowS # show :: DebootstrapConfig -> String # showList :: [DebootstrapConfig] -> ShowS # |
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.