[yast/yast-packager] c836b6: Do not add an empty repository to the system (bsc#...
Branch: refs/heads/offline_medium_upgrade Home: https://github.com/yast/yast-packager Commit: c836b66a6ff0da78c720f91f179bf085ec796439 https://github.com/yast/yast-packager/commit/c836b66a6ff0da78c720f91f179bf08... Author: Ladislav Slezák <lslezak@suse.cz> Date: 2022-11-02 (Wed, 02 Nov 2022) Changed paths: M package/yast2-packager.changes M package/yast2-packager.spec M src/lib/y2packager/medium_type.rb M src/modules/Packages.rb M test/medium_type_test.rb Log Message: ----------- Do not add an empty repository to the system (bsc#1204399) When using Full medium in registered system the request is to behave as with the Online medium. So we explicitly override the detected medium type in that case. But in that case an empty repository from the Full medium root was added to the system because the medium type condition was not met. The solution is to remember the original detected medium type and use it in this test.
participants (1)
-
Ladislav Slezák