Hello community, here is the log from the commit of package yast2-installation for openSUSE:Factory checked in at 2019-02-19 11:57:10 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/yast2-installation (Old) and /work/SRC/openSUSE:Factory/.yast2-installation.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-installation" Tue Feb 19 11:57:10 2019 rev:416 rq:676544 version:4.1.36 Changes: -------- --- /work/SRC/openSUSE:Factory/yast2-installation/yast2-installation.changes 2019-02-04 16:10:03.929986002 +0100 +++ /work/SRC/openSUSE:Factory/.yast2-installation.new.28833/yast2-installation.changes 2019-02-19 11:57:11.749241069 +0100 @@ -1,0 +2,7 @@ +Thu Feb 14 12:23:31 UTC 2019 - lsle...@suse.cz + +- Save the used repositories at the end of installation to not + offer the driver packages again (bsc#953522) +- 4.1.36 + +------------------------------------------------------------------- Old: ---- yast2-installation-4.1.35.tar.bz2 New: ---- yast2-installation-4.1.36.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-installation.spec ++++++ --- /var/tmp/diff_new_pack.0gmnIi/_old 2019-02-19 11:57:12.241240802 +0100 +++ /var/tmp/diff_new_pack.0gmnIi/_new 2019-02-19 11:57:12.241240802 +0100 @@ -17,7 +17,7 @@ Name: yast2-installation -Version: 4.1.35 +Version: 4.1.36 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -47,8 +47,8 @@ BuildRequires: yast2 >= 4.1.42 Requires: yast2 >= 4.1.42 -# Y2Packager::SelfUpdateAddonRepo -BuildRequires: yast2-packager >= 4.1.5 +# Y2Packager::KnownRepositories +BuildRequires: yast2-packager >= 4.1.27 # Y2Storage::Inhibitors including systemd masking BuildRequires: yast2-storage-ng >= 4.0.194 @@ -64,8 +64,8 @@ # Mouse-related scripts moved to yast2-mouse Conflicts: yast2-mouse < 2.18.0 -# Y2Packager::SelfUpdateAddonRepo -Requires: yast2-packager >= 4.1.5 +# Y2Packager::KnownRepositories +Requires: yast2-packager >= 4.1.27 # use in startup scripts Requires: initviocons ++++++ yast2-installation-4.1.35.tar.bz2 -> yast2-installation-4.1.36.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-installation-4.1.35/package/yast2-installation.changes new/yast2-installation-4.1.36/package/yast2-installation.changes --- old/yast2-installation-4.1.35/package/yast2-installation.changes 2019-02-01 15:06:41.000000000 +0100 +++ new/yast2-installation-4.1.36/package/yast2-installation.changes 2019-02-15 14:32:37.000000000 +0100 @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Thu Feb 14 12:23:31 UTC 2019 - lsle...@suse.cz + +- Save the used repositories at the end of installation to not + offer the driver packages again (bsc#953522) +- 4.1.36 + +------------------------------------------------------------------- Fri Feb 1 13:13:31 CET 2019 - sch...@suse.de - Copying SSH keys from a privious installation into the new one: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-installation-4.1.35/package/yast2-installation.spec new/yast2-installation-4.1.36/package/yast2-installation.spec --- old/yast2-installation-4.1.35/package/yast2-installation.spec 2019-02-01 15:06:41.000000000 +0100 +++ new/yast2-installation-4.1.36/package/yast2-installation.spec 2019-02-15 14:32:37.000000000 +0100 @@ -16,7 +16,7 @@ # Name: yast2-installation -Version: 4.1.35 +Version: 4.1.36 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -46,8 +46,8 @@ BuildRequires: yast2 >= 4.1.42 Requires: yast2 >= 4.1.42 -# Y2Packager::SelfUpdateAddonRepo -BuildRequires: yast2-packager >= 4.1.5 +# Y2Packager::KnownRepositories +BuildRequires: yast2-packager >= 4.1.27 # Y2Storage::Inhibitors including systemd masking BuildRequires: yast2-storage-ng >= 4.0.194 @@ -63,8 +63,8 @@ # Mouse-related scripts moved to yast2-mouse Conflicts: yast2-mouse < 2.18.0 -# Y2Packager::SelfUpdateAddonRepo -Requires: yast2-packager >= 4.1.5 +# Y2Packager::KnownRepositories +Requires: yast2-packager >= 4.1.27 # use in startup scripts Requires: initviocons diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-installation-4.1.35/src/lib/installation/clients/inst_extrasources.rb new/yast2-installation-4.1.36/src/lib/installation/clients/inst_extrasources.rb --- old/yast2-installation-4.1.35/src/lib/installation/clients/inst_extrasources.rb 2019-02-01 15:06:41.000000000 +0100 +++ new/yast2-installation-4.1.36/src/lib/installation/clients/inst_extrasources.rb 2019-02-15 14:32:37.000000000 +0100 @@ -19,6 +19,8 @@ # current contact information at www.novell.com. # ------------------------------------------------------------------------------ +require "y2packager/known_repositories" + Yast.import "UI" Yast.import "Pkg" Yast.import "GetInstArgs" @@ -69,6 +71,10 @@ return :auto end + # save the list of installation repositories before adding the extra repos + # https://github.com/yast/yast-packager/wiki/Selecting-the-Driver-Packages + save_system_packages_repos + @already_registered = RegisteredUrls() @register_url = GetURLsToRegister(@already_registered) @@ -521,5 +527,14 @@ r == :yes end + + # save the known repositories to not offer again installing the driver packages + # (they should be already installed in the initial installation, if user deselected + # them they should not be offered again) + def save_system_packages_repos + known_repos = Y2Packager::KnownRepositories.new + known_repos.update + known_repos.write + end end end