summaryrefslogtreecommitdiff
path: root/src/Propellor/Property/DiskImage.hs
diff options
context:
space:
mode:
authorJoey Hess2015-10-23 11:59:13 -0400
committerJoey Hess2015-10-23 11:59:13 -0400
commit02faa876dbf3000fb091be6a4a3ab5b6a26ed028 (patch)
tree83804cb8945016840cb2dfe585d68b4c4e2828ce /src/Propellor/Property/DiskImage.hs
parentb66f8eecfc0a507c1fee38070885b94f84b49f7a (diff)
propellor spin
Diffstat (limited to 'src/Propellor/Property/DiskImage.hs')
-rw-r--r--src/Propellor/Property/DiskImage.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Propellor/Property/DiskImage.hs b/src/Propellor/Property/DiskImage.hs
index 607c7b61..b6cfbc1a 100644
--- a/src/Propellor/Property/DiskImage.hs
+++ b/src/Propellor/Property/DiskImage.hs
@@ -352,6 +352,7 @@ grubBooted bios = (Grub.installed' bios, boots)
[ bindMount "/dev" (inmnt "/dev")
, mounted "proc" "proc" (inmnt "/proc")
, mounted "sysfs" "sys" (inmnt "/sys")
+ -- update the initramfs so it gets the uuid of the root partition
, inchroot "update-initramfs" ["-u"]
-- work around for http://bugs.debian.org/802717
, check haveosprober $ inchroot "chmod" ["-x", osprober]