summaryrefslogtreecommitdiffstats
path: root/daemon/upload.c
diff options
context:
space:
mode:
authorMatthew Booth <mbooth@redhat.com>2009-08-13 11:48:27 +0100
committerMatthew Booth <mbooth@redhat.com>2009-08-13 12:17:58 +0100
commitda90c9d8761caced81b9cf7d6e41180afa53ecb9 (patch)
tree05da1a3741a5a40c74c923bc3e418acdaba025cf /daemon/upload.c
parentd082a76d679b019784bc0b131028ee74e381f4a2 (diff)
downloadlibguestfs-da90c9d8761caced81b9cf7d6e41180afa53ecb9.tar.gz
libguestfs-da90c9d8761caced81b9cf7d6e41180afa53ecb9.tar.xz
libguestfs-da90c9d8761caced81b9cf7d6e41180afa53ecb9.zip
Don't assume grub is on a separate boot filesystem
Paths in grub.conf are relative to the filesystem containing it. grub parsing currently assumes that it is on /boot, and will fail if it isn't, for example because a guest only has a single partition. This patch makes grub parsing work harder to work out what grub paths are relative to. Firstly, it looks for a previous detected 'linux-grub' filesystem. If this isn't found, it tries to work out which filesystem contains /boot/grub/menu.lst and uses that.
Diffstat (limited to 'daemon/upload.c')
0 files changed, 0 insertions, 0 deletions