diff --git a/src/modules/Partitions.rb b/src/modules/Partitions.rb index a5daf40db..cf8d0c744 100644 --- a/src/modules/Partitions.rb +++ b/src/modules/Partitions.rb @@ -301,6 +301,7 @@ def BootCyl @boot_cyl end + def PrepBoot ret = Arch.ppc && (Arch.board_chrp || Arch.board_prep || Arch.board_iseries) @@ -311,9 +312,9 @@ def PrepBoot ret end - def BootPrimary - ret = PrepBoot() - ret + + def BootPrimary() + return PrepBoot() end diff --git a/src/modules/StorageProposal.rb b/src/modules/StorageProposal.rb index 890b917d1..90d61b443 100644 --- a/src/modules/StorageProposal.rb +++ b/src/modules/StorageProposal.rb @@ -37,6 +37,10 @@ module Yast class StorageProposalClass < Module + + include Yast::Logger + + def main textdomain "storage" @@ -4125,11 +4129,8 @@ def special_boot_proposal_prepare(partitions) end deep_copy(p) end - Builtins.y2milestone( - "special_boot_proposal_prepare part:%1", - partitions - ) - Builtins.y2milestone("special_boot_proposal_prepare ret:%1", ret) + log.info("special_boot_proposal_prepare part:#{partitions}") + log.info("special_boot_proposal_prepare ret:#{ret}") end deep_copy(ret) end