summaryrefslogtreecommitdiff
path: root/src/Propellor/Types/Bootloader.hs
diff options
context:
space:
mode:
authorJoey Hess2018-10-13 20:44:44 -0400
committerJoey Hess2018-10-13 20:44:44 -0400
commit85ae22f03996b2e1ff609e08fb514824878947ef (patch)
treefd21c784bed90ffda5a7fee75523dd31b8d92201 /src/Propellor/Types/Bootloader.hs
parentf0b5074f107d1da2043701894254f7e85b090331 (diff)
parented118fb909ff5d5f5d030570878bdb1c0fe0ff18 (diff)
Merge remote-tracking branch 'remotes/bremner/proposed/direct-boot'
Diffstat (limited to 'src/Propellor/Types/Bootloader.hs')
-rw-r--r--src/Propellor/Types/Bootloader.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Propellor/Types/Bootloader.hs b/src/Propellor/Types/Bootloader.hs
index 65117bd2..cdb37a31 100644
--- a/src/Propellor/Types/Bootloader.hs
+++ b/src/Propellor/Types/Bootloader.hs
@@ -10,6 +10,7 @@ data BootloaderInstalled
= GrubInstalled GrubTarget
| FlashKernelInstalled
| UbootInstalled (FilePath -> FilePath -> Property Linux)
+ | DirectBoot
deriving (Typeable)
-- | Platforms that grub can boot.
@@ -19,6 +20,7 @@ instance Show BootloaderInstalled where
show (GrubInstalled _) = "GrubInstalled"
show FlashKernelInstalled = "FlashKernelInstalled"
show (UbootInstalled _) = "UbootInstalled"
+ show DirectBoot = "DirectBoot"
instance IsInfo [BootloaderInstalled] where
propagateInfo _ = PropagateInfo False