Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix drive section #1387

Merged
merged 2 commits into from
Aug 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions package/yast2-storage-ng.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Aug 26 14:47:40 UTC 2024 - José Iván López González <[email protected]>

- AutoYaST: small fix to ensure symbol for the drive type when
importing from a hash (required by gh#openSUSE/agama#1471).
- 5.0.17

-------------------------------------------------------------------
Wed Aug 21 12:03:30 UTC 2024 - Ancor Gonzalez Sosa <[email protected]>

Expand Down
2 changes: 1 addition & 1 deletion package/yast2-storage-ng.spec
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#

Name: yast2-storage-ng
Version: 5.0.16
Version: 5.0.17
Release: 0
Summary: YaST2 - Storage Configuration
License: GPL-2.0-only OR GPL-3.0-only
Expand Down
3 changes: 2 additions & 1 deletion src/lib/y2storage/autoinst_profile/drive_section.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) [2017-2019] SUSE LLC
# Copyright (c) [2017-2024] SUSE LLC
#
# All Rights Reserved.
#
Expand Down Expand Up @@ -137,6 +137,7 @@ def initialize(parent = nil)
def init_from_hashes(hash)
super
@type ||= default_type_for(hash)
@type = @type.to_sym
@use = use_value_from_string(hash["use"]) if hash["use"]
@partitions = partitions_from_hash(hash)
@skip_list = SkipListSection.new_from_hashes(hash.fetch("skip_list", []), self)
Expand Down
Loading