Skip to content

Commit

Permalink
- fixed installing required storage packages for unmounted filesystems
Browse files Browse the repository at this point in the history
* This one is a cherry pick of the original commit which SHA-1 was
  7d1aa1a.
  • Loading branch information
aschnell authored and ancorgs committed Jan 10, 2017
1 parent 0299820 commit 08a6b77
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions package/yast2-storage.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
-------------------------------------------------------------------
Tue Jan 10 14:35:18 UTC 2017 - ancor@suse.com

- fixed installing required storage packages for unmounted
filesystems (bsc#907331)
- Backport (cherry-pick) of the original change done by
aschnell@suse.com in version 3.1.105

-------------------------------------------------------------------
Tue Jan 10 14:26:32 UTC 2017 - ancor@suse.com

Expand Down
2 changes: 1 addition & 1 deletion src/lib/storage/used_storage_features.rb
Original file line number Diff line number Diff line change
Expand Up @@ -240,10 +240,10 @@ def collect_volume_features(vol)
feature_check(features, "Volume", name) { USED_BY_FEATURES[u.type] }
end

feature_check(features, "Volume", name, "filesystem") { FILESYSTEM_FEATURES[vol.fs] }
feature_check(features, "Volume", name, "encryption") { ENCRYPTION_FEATURES[vol.encryption] }

if !vol.mount.empty?
feature_check(features, "Volume", name, "filesystem") { FILESYSTEM_FEATURES[vol.fs] }
feature_check(features, "Volume", name) { snapshots?(vol) ? :FT_SNAPSHOTS : nil }
feature_check(features, "Root FS", name) { root_btrfs?(vol) ? :FT_BTRFS_ROOT : nil }

Expand Down

0 comments on commit 08a6b77

Please sign in to comment.