Skip to content

Commit

Permalink
Removed empty reject
Browse files Browse the repository at this point in the history
  • Loading branch information
schubi2 committed May 2, 2016
1 parent 88a1a8f commit 1da1f4e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
10 changes: 9 additions & 1 deletion package/yast2-bootloader.changes
@@ -1,10 +1,18 @@
-------------------------------------------------------------------
Mon May 2 10:24:17 CEST 2016 - schubi@suse.de

- Fixed nil in custom_devices. [[]].compact! is returning nil.
Removed empty reject, because it is not needed anymore.
(bnc#977945)
- 3.1.179

-------------------------------------------------------------------
Wed Apr 27 10:43:14 CEST 2016 - schubi@suse.de

- Adapted new version of bootloader to the AutoYaST configuration
module.
(related to FATE#317701)
- 3.1.78
- 3.1.178

-------------------------------------------------------------------
Tue Apr 26 10:27:20 CEST 2016 - schubi@suse.de
Expand Down
2 changes: 1 addition & 1 deletion package/yast2-bootloader.spec
Expand Up @@ -17,7 +17,7 @@


Name: yast2-bootloader
Version: 3.1.178
Version: 3.1.179
Release: 0

BuildRoot: %{_tmppath}/%{name}-%{version}-build
Expand Down
2 changes: 1 addition & 1 deletion src/lib/bootloader/stage1.rb
Expand Up @@ -94,7 +94,7 @@ def custom_devices
Yast::BootStorage.mbr_disk,
Yast::BootStorage.ExtendedPartitionDevice
]
known_devices.compact!.reject!(&:empty?)
known_devices.compact!
known_devices.map! { |d| Bootloader::UdevMapping.to_kernel_device(d) }

devices.select do |dev|
Expand Down

0 comments on commit 1da1f4e

Please sign in to comment.