Skip to content

Commit

Permalink
Merge pull request #77 from ancorgs/kill_legacy_api
Browse files Browse the repository at this point in the history
Adapt to cleaned Y2Storage::StorageManager API
  • Loading branch information
ancorgs committed Jul 26, 2017
2 parents f7c45fe + 3987c6a commit cc31d69
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
6 changes: 6 additions & 0 deletions package/yast2-update.changes
@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Jul 24 15:52:26 UTC 2017 - ancor@suse.com

- storage-ng: adapted calls to temporary y2storage_* methods, since
they were finally removed from Y2Storage::StorageManager.

-------------------------------------------------------------------
Wed Jul 5 15:04:22 CEST 2017 - shundhammer@suse.de

Expand Down
6 changes: 3 additions & 3 deletions package/yast2-update.spec
Expand Up @@ -41,9 +41,9 @@ BuildRequires: yast2-installation-control
# Needed for tests
BuildRequires: rubygem(rspec)

BuildRequires: yast2-storage-ng
# EnumMappings with MOUNT_BY_TYPE
Requires: yast2-storage-ng >= 0.1.12
BuildRequires: yast2-storage-ng >= 0.1.32
# New versions of StorageManager#probed and StorageManager#staging
Requires: yast2-storage-ng >= 0.1.32
# FSSnapshotStore
Requires: yast2 >= 3.1.126
Requires: yast2-installation
Expand Down
4 changes: 2 additions & 2 deletions src/modules/RootPart.rb
Expand Up @@ -2158,11 +2158,11 @@ def load_saved(data)
private

def probed
Y2Storage::StorageManager.instance.y2storage_probed
Y2Storage::StorageManager.instance.probed
end

def staging
Y2Storage::StorageManager.instance.y2storage_staging
Y2Storage::StorageManager.instance.staging
end

def fstab_entry_matches?(entry, filesystem)
Expand Down

0 comments on commit cc31d69

Please sign in to comment.