propellor-5.4.0: property-based host configuration management in haskell

Propellor.Property.Debootstrap

Synopsis

# Documentation

A data type for debootstrap configuration. mempty is a default debootstrapped system.

Instances

 Source # MethodsshowList :: [DebootstrapConfig] -> ShowS # Source # Methodsstimes :: Integral b => b -> DebootstrapConfig -> DebootstrapConfig # Source # Methods

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.

When emulation is used, the chroot will have an additional binary installed in it. To get a completelty clean chroot (eg for producing a bootable disk image), use the removeHostEmulationBinary property.

Like built, but uses the provided Property to install debootstrap.

Ensures debootstrap is installed.

When necessary, falls back to installing debootstrap from source. Note that installation from source is done by downloading the tarball from a Debian mirror, with no cryptographic verification.