summaryrefslogtreecommitdiffstats
path: root/perl-install/fs
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/fs')
-rw-r--r--perl-install/fs/any.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/fs/any.pm b/perl-install/fs/any.pm
index f8b314a34..ac7255475 100644
--- a/perl-install/fs/any.pm
+++ b/perl-install/fs/any.pm
@@ -160,6 +160,7 @@ sub is_boot_bios_part_needed {
my $rootDev = $root->{rootDevice};
my $boot_hd;
if ($rootDev) {
+ $rootDev = "/dev/" . $rootDev if $rootDev !~ m!/!;
# is it GPT?
return if c::get_disk_type($rootDev) ne 'gpt';
($boot_hd) = find { $_->{device} eq $rootDev } fs::get::hds($all_hds);