summaryrefslogtreecommitdiffstats
path: root/perl-install/fsedit.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/fsedit.pm')
-rw-r--r--perl-install/fsedit.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/perl-install/fsedit.pm b/perl-install/fsedit.pm
index 69a6bcb88..ce5c0cdee 100644
--- a/perl-install/fsedit.pm
+++ b/perl-install/fsedit.pm
@@ -239,6 +239,10 @@ sub hds {
$_->{device_LABEL} = $label if $label;
}
+ if ($hd->{usb_media_type}) {
+ $_->{is_removable} = 1 foreach partition_table::get_normal_parts($hd);
+ }
+
push @hds, $hd;
}