summaryrefslogtreecommitdiffstats
path: root/perl-install/fs
diff options
context:
space:
mode:
authorMartin Whitaker <mageia@martin-whitaker.me.uk>2019-08-10 20:40:46 +0100
committerMartin Whitaker <mageia@martin-whitaker.me.uk>2020-02-29 15:01:28 +0000
commite8f3026f210a8de175242658304c8fe83729cf5a (patch)
treeb312fb605dc23288d19f0da0234a38bd656286e8 /perl-install/fs
parentf9a43be6ee23983c7be107a5d6a0abf5fe239aba (diff)
downloaddrakx-e8f3026f210a8de175242658304c8fe83729cf5a.tar
drakx-e8f3026f210a8de175242658304c8fe83729cf5a.tar.gz
drakx-e8f3026f210a8de175242658304c8fe83729cf5a.tar.bz2
drakx-e8f3026f210a8de175242658304c8fe83729cf5a.tar.xz
drakx-e8f3026f210a8de175242658304c8fe83729cf5a.zip
diskdrake: support adding partitions to Live ISOs on USB sticks (mga#25224)
Diffstat (limited to 'perl-install/fs')
-rw-r--r--perl-install/fs/type.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/fs/type.pm b/perl-install/fs/type.pm
index b9f4b48d6..697b8c9d9 100644
--- a/perl-install/fs/type.pm
+++ b/perl-install/fs/type.pm
@@ -280,7 +280,7 @@ sub type_subpart_from_magic {
}
if ($p) {
- $p->{fs_type} = '' if $part->{pt_type} eq 'BIOS_GRUB';
+ $p->{fs_type} = '' if $part->{pt_type} eq 'BIOS_GRUB' && $p->{fs_type} ne 'iso9660';
$part->{fs_type_from_magic} = $p->{fs_type};
$p->{device_LABEL} = $ids->{ID_FS_LABEL} if $ids->{ID_FS_LABEL};
$p->{device_UUID} = $ids->{ID_FS_UUID} if $ids->{ID_FS_UUID};