diff options
| author | Joey Hess <joeyh@joeyh.name> | 2015-10-22 14:10:52 -0400 |
|---|---|---|
| committer | Joey Hess <joeyh@joeyh.name> | 2015-10-22 14:10:52 -0400 |
| commit | cc8fbeda82774f6c9a223a87187408496fcd0d2b (patch) | |
| tree | cac18ab6afcae783cfb765caea9a063d426b2bdd /src/Propellor/Property/DiskImage.hs | |
| parent | e73f67c381d41c65f33fb94dccdcbb7b120ad9a8 (diff) | |
avoid grub install failure in chroot
Diffstat (limited to 'src/Propellor/Property/DiskImage.hs')
| -rw-r--r-- | src/Propellor/Property/DiskImage.hs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/Propellor/Property/DiskImage.hs b/src/Propellor/Property/DiskImage.hs index 8d503e28..3c2b2200 100644 --- a/src/Propellor/Property/DiskImage.hs +++ b/src/Propellor/Property/DiskImage.hs @@ -292,7 +292,12 @@ type Finalization = (Property NoInfo, Property NoInfo) -- | Makes grub be the boot loader of the disk image. -- TODO not implemented grubBooted :: Grub.BIOS -> Finalization -grubBooted bios = (Grub.installed bios, undefined) +grubBooted bios = (inchroot, inimg) + where + -- Need to set up device.map manually before running update-grub. + inchroot = Grub.installed' bios + + inimg = undefined noFinalization :: Finalization noFinalization = (doNothing, doNothing) |
