2009-06-08 Vladimir Serbinenko <phcoder@gmail.com>
Bugfix: install on partitionless device * util/hostdisk.c (grub_util_biosdisk_get_grub_dev): check if os_dev is a whole disk
This commit is contained in:
parent
dd1a6caefa
commit
4c9ec6b3fc
2 changed files with 11 additions and 0 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
2009-06-08 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
Bugfix: install on partitionless device
|
||||||
|
|
||||||
|
* util/hostdisk.c (grub_util_biosdisk_get_grub_dev): check if os_dev
|
||||||
|
is a whole disk
|
||||||
|
|
||||||
2009-06-08 Felix Zielcke <fzielcke@z-51.de>
|
2009-06-08 Felix Zielcke <fzielcke@z-51.de>
|
||||||
|
|
||||||
* Makefile.in (uninstall): Remove all $include_DATA files.
|
* Makefile.in (uninstall): Remove all $include_DATA files.
|
||||||
|
|
|
@ -884,6 +884,10 @@ grub_util_biosdisk_get_grub_dev (const char *os_dev)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (grub_strcmp (os_dev, convert_system_partition_to_system_disk (os_dev))
|
||||||
|
== 0)
|
||||||
|
return make_device_name (drive, -1, -1);
|
||||||
|
|
||||||
#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
|
#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
|
||||||
if (! S_ISCHR (st.st_mode))
|
if (! S_ISCHR (st.st_mode))
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Reference in a new issue