Skip to content

Commit

Permalink
Merge f6fd5f0 into 414d9d0
Browse files Browse the repository at this point in the history
  • Loading branch information
wfeldt committed May 25, 2020
2 parents 414d9d0 + f6fd5f0 commit 7a22459
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
7 changes: 7 additions & 0 deletions package/yast2-bootloader.changes
@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon May 25 15:00:44 UTC 2020 - Steffen Winterfeldt <snwint@suse.com>

- s390 secure boot: enhance disk type detection to cover multipath
(bsc#1171821)
- 4.3.2

-------------------------------------------------------------------
Thu May 7 12:53:53 UTC 2020 - Josef Reidinger <jreidinger@suse.com>

Expand Down
2 changes: 1 addition & 1 deletion package/yast2-bootloader.spec
Expand Up @@ -17,7 +17,7 @@


Name: yast2-bootloader
Version: 4.3.1
Version: 4.3.2
Release: 0
Summary: YaST2 - Bootloader Configuration
License: GPL-2.0-or-later
Expand Down
8 changes: 4 additions & 4 deletions src/lib/bootloader/systeminfo.rb
Expand Up @@ -139,10 +139,10 @@ def zipl_device
#
# @return [Boolean] true if device is a SCSI device
def scsi?(device)
# in lack of a better idea: check if device name starts with 'sd'
# alternatively: device.udev_ids.any?(/^scsi-/)
# or: device.udev_paths.any?(/-zfcp-/)
device.name.start_with?("/dev/sd")
# checking if device name starts with 'sd' is not enough: it could
# be a device mapper target (e.g. multipath)
# see bsc#1171821
device.name.start_with?("/dev/sd") || device.udev_ids.any?(/^scsi-/)
rescue StandardError
false
end
Expand Down

0 comments on commit 7a22459

Please sign in to comment.