X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=src%2Fgenerator.ml;h=5cd704f461aa58e58415ea23f49156e76faaa9ef;hp=cc34676c4ffd9b1bfb9cc00595407cfa6c42cd62;hb=8fca8549edb1581448fa45d08d90bad399c5dbfa;hpb=dccd9b8f525cfae49b89c38066d752e6c054c7f6 diff --git a/src/generator.ml b/src/generator.ml index cc34676..5cd704f 100755 --- a/src/generator.ml +++ b/src/generator.ml @@ -2320,11 +2320,14 @@ any partition tables, filesystem superblocks and so on. See also: C, C."); ("grub_install", (RErr, [Pathname "root"; Device "device"]), 86, [], - (* Test disabled because grub-install incompatible with virtio-blk driver. - * See also: https://bugzilla.redhat.com/show_bug.cgi?id=479760 + (* See: + * https://bugzilla.redhat.com/show_bug.cgi?id=484986 + * https://bugzilla.redhat.com/show_bug.cgi?id=479760 *) - [InitBasicFS, Disabled, TestOutputTrue ( - [["grub_install"; "/"; "/dev/sda1"]; + [InitBasicFS, Always, TestOutputTrue ( + [["mkdir_p"; "/boot/grub"]; + ["write"; "/boot/grub/device.map"; "(hd0) /dev/vda"]; + ["grub_install"; "/"; "/dev/vda"]; ["is_dir"; "/boot"]])], "install GRUB", "\