diff --git a/package/yast2-update.changes b/package/yast2-update.changes index ac4d976..78a3b5d 100644 --- a/package/yast2-update.changes +++ b/package/yast2-update.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed Jan 17 11:56:33 UTC 2024 - Josef Reidinger + +- Show the block device selected for upgrade in the installation + proposal (jsc#PED-3773) +- 5.0.2 + ------------------------------------------------------------------- Tue Oct 31 12:29:07 UTC 2023 - Ladislav Slezák diff --git a/package/yast2-update.spec b/package/yast2-update.spec index 6b7bded..2c92ac9 100644 --- a/package/yast2-update.spec +++ b/package/yast2-update.spec @@ -17,7 +17,7 @@ Name: yast2-update -Version: 5.0.1 +Version: 5.0.2 Release: 0 Summary: YaST2 - Update Group: System/YaST diff --git a/src/clients/update_proposal.rb b/src/clients/update_proposal.rb index 5c123e8..9e196bf 100644 --- a/src/clients/update_proposal.rb +++ b/src/clients/update_proposal.rb @@ -188,8 +188,15 @@ def main products = Y2Packager::Resolvable.find(kind: :product) # stores the proposal text output - @summary_text = Packages.product_update_summary(products) + summary_text = Packages.product_update_summary(products) .map { |item| "
  • #{item}
  • " }.join + product_info = "
  • " + format( + _("Updating %{product} on root %{partition}"), + product: RootPart.GetInfoOfSelected(:name), + partition: RootPart.selectedRootPartition + ) + "
  • " + + summary_text = product_info + summary_text # recalculate the disk space usage data SpaceCalculation.GetPartitionInfo @@ -204,7 +211,7 @@ def main @ret = { "preformatted_proposal" => Ops.add( - Ops.add(HTML.ListStart, @summary_text), + Ops.add(HTML.ListStart, summary_text), HTML.ListEnd ), "help" => @update_options_help