Skip to content

Commit

Permalink
Merge bc8756e into 2c18590
Browse files Browse the repository at this point in the history
  • Loading branch information
wfeldt committed Jul 26, 2018
2 parents 2c18590 + bc8756e commit 3b88bf3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/lib/y2storage/autoinst_profile/drive_section.rb
Expand Up @@ -204,7 +204,10 @@ def init_from_disk(disk)
return false if disk.partitions.empty?

@type = :CT_DISK
# FIXME: could anyone with knowledge leave a comment why s390 is special here?
@device = Yast::Arch.s390 ? disk.udev_full_paths.first : disk.name
# if disk.udev_full_paths.first is nil go for disk.name anyway
@device ||= disk.name
@disklabel = disk.partition_table.type.to_s

@partitions = partitions_from_disk(disk)
Expand Down

0 comments on commit 3b88bf3

Please sign in to comment.