Skip to content

Commit

Permalink
Merge pull request #1387 from joseivanlopez/fix_drive_section
Browse files Browse the repository at this point in the history
Fix drive section
  • Loading branch information
joseivanlopez authored Aug 26, 2024
2 parents 54c08ef + e4c97a9 commit 5ca3c40
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
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 <jlopez@suse.com>

- 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 <ancor@suse.com>

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

0 comments on commit 5ca3c40

Please sign in to comment.