diff --git a/package/yast2-storage-ng.changes b/package/yast2-storage-ng.changes index a256da68e..3b29baaec 100644 --- a/package/yast2-storage-ng.changes +++ b/package/yast2-storage-ng.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Mon Aug 26 14:47:40 UTC 2024 - José Iván López González + +- 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 diff --git a/package/yast2-storage-ng.spec b/package/yast2-storage-ng.spec index d55800b17..69274f256 100644 --- a/package/yast2-storage-ng.spec +++ b/package/yast2-storage-ng.spec @@ -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 diff --git a/src/lib/y2storage/autoinst_profile/drive_section.rb b/src/lib/y2storage/autoinst_profile/drive_section.rb index a250a3ed0..04ddecf29 100644 --- a/src/lib/y2storage/autoinst_profile/drive_section.rb +++ b/src/lib/y2storage/autoinst_profile/drive_section.rb @@ -1,4 +1,4 @@ -# Copyright (c) [2017-2019] SUSE LLC +# Copyright (c) [2017-2024] SUSE LLC # # All Rights Reserved. # @@ -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)