Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package autoyast2 for openSUSE:Factory checked in at 2022-10-24 11:47:10 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/autoyast2 (Old) and /work/SRC/openSUSE:Factory/.autoyast2.new.2275 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "autoyast2" Mon Oct 24 11:47:10 2022 rev:327 rq:1012053 version:4.5.6 Changes: -------- --- /work/SRC/openSUSE:Factory/autoyast2/autoyast2.changes 2022-09-10 20:17:08.344805482 +0200 +++ /work/SRC/openSUSE:Factory/.autoyast2.new.2275/autoyast2.changes 2022-10-24 11:47:11.585907956 +0200 @@ -1,0 +2,15 @@ +Mon Oct 17 10:30:48 UTC 2022 - Steffen Winterfeldt <snwint@suse.com> + +- fix profile location parsing and add 'repo' URL scheme (jsc#SLE-22578, + jsc#SLE-24584) +- 4.5.6 + +------------------------------------------------------------------- +Tue Oct 4 09:34:18 UTC 2022 - Knut Anderssen <kanderssen@suse.com> + +- Add needed packages for the selected network backend in order to + prevent it is not declared in the software section (bsc#1201235, + bsc#1201435) +- 4.5.5 + +------------------------------------------------------------------- Old: ---- autoyast2-4.5.4.tar.bz2 New: ---- autoyast2-4.5.6.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ autoyast2.spec ++++++ --- /var/tmp/diff_new_pack.9FvQwX/_old 2022-10-24 11:47:12.189907400 +0200 +++ /var/tmp/diff_new_pack.9FvQwX/_new 2022-10-24 11:47:12.197907392 +0200 @@ -22,7 +22,7 @@ %endif Name: autoyast2 -Version: 4.5.4 +Version: 4.5.6 Release: 0 Summary: YaST2 - Automated Installation License: GPL-2.0-only @@ -73,8 +73,8 @@ Requires: yast2-country >= 3.1.13 # Moving security module to first installation stage Requires: yast2-security >= 4.1.1 -# Modify start_immediately default value -Requires: yast2-network >= 4.3.59 +# Install selected network backend packages +Requires: yast2-network >= 4.5.9 Requires: yast2-schema >= 4.0.6 Requires: yast2-transfer >= 2.21.0 Requires: yast2-xml ++++++ autoyast2-4.5.4.tar.bz2 -> autoyast2-4.5.6.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autoyast2-4.5.4/package/autoyast2.changes new/autoyast2-4.5.6/package/autoyast2.changes --- old/autoyast2-4.5.4/package/autoyast2.changes 2022-09-09 12:22:42.000000000 +0200 +++ new/autoyast2-4.5.6/package/autoyast2.changes 2022-10-17 12:36:02.000000000 +0200 @@ -1,4 +1,19 @@ ------------------------------------------------------------------- +Mon Oct 17 10:30:48 UTC 2022 - Steffen Winterfeldt <snwint@suse.com> + +- fix profile location parsing and add 'repo' URL scheme (jsc#SLE-22578, + jsc#SLE-24584) +- 4.5.6 + +------------------------------------------------------------------- +Tue Oct 4 09:34:18 UTC 2022 - Knut Anderssen <kanderssen@suse.com> + +- Add needed packages for the selected network backend in order to + prevent it is not declared in the software section (bsc#1201235, + bsc#1201435) +- 4.5.5 + +------------------------------------------------------------------- Fri Sep 9 08:29:55 UTC 2022 - Michal Filka <mfilka@suse.com> - bsc#1203227 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autoyast2-4.5.4/package/autoyast2.spec new/autoyast2-4.5.6/package/autoyast2.spec --- old/autoyast2-4.5.4/package/autoyast2.spec 2022-09-09 12:22:42.000000000 +0200 +++ new/autoyast2-4.5.6/package/autoyast2.spec 2022-10-17 12:36:02.000000000 +0200 @@ -22,7 +22,7 @@ %endif Name: autoyast2 -Version: 4.5.4 +Version: 4.5.6 Release: 0 Summary: YaST2 - Automated Installation License: GPL-2.0-only @@ -73,8 +73,8 @@ Requires: yast2-country >= 3.1.13 # Moving security module to first installation stage Requires: yast2-security >= 4.1.1 -# Modify start_immediately default value -Requires: yast2-network >= 4.3.59 +# Install selected network backend packages +Requires: yast2-network >= 4.5.9 Requires: yast2-schema >= 4.0.6 Requires: yast2-transfer >= 2.21.0 Requires: yast2-xml diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autoyast2-4.5.4/src/lib/autoinstall/clients/inst_autosetup.rb new/autoyast2-4.5.6/src/lib/autoinstall/clients/inst_autosetup.rb --- old/autoyast2-4.5.4/src/lib/autoinstall/clients/inst_autosetup.rb 2022-09-09 12:22:42.000000000 +0200 +++ new/autoyast2-4.5.6/src/lib/autoinstall/clients/inst_autosetup.rb 2022-10-17 12:36:02.000000000 +0200 @@ -123,13 +123,13 @@ # configure general settings general_section = Profile.current.fetch_as_hash("general") - networking_section = Profile.current.fetch_as_hash("networking") - pkg_list = networking_section["managed"] ? ["NetworkManager"] : [] AutoinstGeneral.Import(general_section) log.info("general: #{general_section}") AutoinstGeneral.Write autosetup_network + # Add needed network packages depending on the selected backend (bsc#1201435) + pkg_list = (Call.Function("lan_auto", ["Packages"]) || {}).fetch("install", []) if Builtins.haskey(Profile.current, "add-on") Progress.Title(_("Handling Add-On Products...")) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autoyast2-4.5.4/src/modules/AutoinstConfig.rb new/autoyast2-4.5.6/src/modules/AutoinstConfig.rb --- old/autoyast2-4.5.4/src/modules/AutoinstConfig.rb 2022-09-09 12:22:42.000000000 +0200 +++ new/autoyast2-4.5.6/src/modules/AutoinstConfig.rb 2022-10-17 12:36:02.000000000 +0200 @@ -361,7 +361,7 @@ @user = parsed_url["user"] || "" @pass = parsed_url["pass"] || "" - if @scheme == "relurl" || @scheme == "file" + if @scheme == "relurl" || @scheme == "repo" || @scheme == "file" # "relurl": No host information has been given here. So a part of the path or the # complete path has been stored in the host variable while parsing it. # This will be reverted. @@ -376,6 +376,9 @@ @filepath = @host unless @host.empty? end @host = "" + # keep in sync + @urltok["path"] = @filepath + @urltok["host"] = @host end @remoteProfile = !["default", "file", "floppy", "usb", "device"].include?(@scheme) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autoyast2-4.5.4/src/modules/ProfileLocation.rb new/autoyast2-4.5.6/src/modules/ProfileLocation.rb --- old/autoyast2-4.5.4/src/modules/ProfileLocation.rb 2022-09-09 12:22:42.000000000 +0200 +++ new/autoyast2-4.5.6/src/modules/ProfileLocation.rb 2022-10-17 12:36:02.000000000 +0200 @@ -98,21 +98,6 @@ else log.warn("Cannot evaluate ZyppRepoURL from /etc/install.inf") end - elsif AutoinstConfig.scheme == "label" - # autoyast=label://my_home//autoinst.xml in linuxrc: - # AY is searching for a partition with the label "my_home". This partition - # will be mounted and the autoinst.xml will be used for installation. - log.info("searching label #{AutoinstConfig.host}") - fs = Y2Storage::StorageManager.instance.probed.filesystems.find do |f| - f.label == AutoinstConfig.host - end - if fs&.blk_devices&.first - AutoinstConfig.scheme = "device" - AutoinstConfig.host = fs.blk_devices.first.basename - log.info("found on #{AutoinstConfig.host}") - else - Report.Error(_("label not found while looking for autoyast profile")) - end end filename = basename(AutoinstConfig.filepath) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autoyast2-4.5.4/test/lib/clients/inst_autosetup_test.rb new/autoyast2-4.5.6/test/lib/clients/inst_autosetup_test.rb --- old/autoyast2-4.5.4/test/lib/clients/inst_autosetup_test.rb 2022-09-09 12:22:42.000000000 +0200 +++ new/autoyast2-4.5.6/test/lib/clients/inst_autosetup_test.rb 2022-10-17 12:36:02.000000000 +0200 @@ -47,6 +47,8 @@ allow(Yast::AutoinstStorage).to receive(:Write).and_return(true) allow(Yast::WFM).to receive(:CallFunction).with(/_auto/, Array).and_return(true) + allow(Yast::WFM).to receive(:CallFunction) + .with("lan_auto", ["Packages"]).and_return("install" => []) allow(Yast::WFM).to receive(:ClientExists).with(/_auto/).and_return(true) allow(Yast::Popup).to receive(:ConfirmAbort).and_return(true)