Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package autoyast2 for openSUSE:Factory 
checked in at 2021-11-24 23:54:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/autoyast2 (Old)
 and      /work/SRC/openSUSE:Factory/.autoyast2.new.1895 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "autoyast2"

Wed Nov 24 23:54:18 2021 rev:309 rq:933142 version:4.4.22

Changes:
--------
--- /work/SRC/openSUSE:Factory/autoyast2/autoyast2.changes      2021-11-20 
02:38:48.448846026 +0100
+++ /work/SRC/openSUSE:Factory/.autoyast2.new.1895/autoyast2.changes    
2021-11-24 23:54:34.972456793 +0100
@@ -1,0 +2,7 @@
+Mon Nov 22 16:58:45 UTC 2021 - Imobach Gonzalez Sosa <igonzalezs...@suse.com>
+
+- Do not process the <add-on/> section during the 2nd stage
+  (bsc#1192185).
+- 4.4.22
+
+-------------------------------------------------------------------

Old:
----
  autoyast2-4.4.21.tar.bz2

New:
----
  autoyast2-4.4.22.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ autoyast2.spec ++++++
--- /var/tmp/diff_new_pack.MPXp7F/_old  2021-11-24 23:54:36.020453276 +0100
+++ /var/tmp/diff_new_pack.MPXp7F/_new  2021-11-24 23:54:36.020453276 +0100
@@ -22,7 +22,7 @@
 %endif
 
 Name:           autoyast2
-Version:        4.4.21
+Version:        4.4.22
 Release:        0
 Summary:        YaST2 - Automated Installation
 License:        GPL-2.0-only

++++++ autoyast2-4.4.21.tar.bz2 -> autoyast2-4.4.22.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/autoyast2-4.4.21/package/autoyast2.changes 
new/autoyast2-4.4.22/package/autoyast2.changes
--- old/autoyast2-4.4.21/package/autoyast2.changes      2021-11-19 
13:18:52.000000000 +0100
+++ new/autoyast2-4.4.22/package/autoyast2.changes      2021-11-22 
18:06:38.000000000 +0100
@@ -1,4 +1,11 @@
 -------------------------------------------------------------------
+Mon Nov 22 16:58:45 UTC 2021 - Imobach Gonzalez Sosa <igonzalezs...@suse.com>
+
+- Do not process the <add-on/> section during the 2nd stage
+  (bsc#1192185).
+- 4.4.22
+
+-------------------------------------------------------------------
 Thu Nov 18 11:10:28 UTC 2021 - Knut Anderssen <kanders...@suse.com>
 
 - Add support for detecting EFI boot during autoinstallation
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/autoyast2-4.4.21/package/autoyast2.spec 
new/autoyast2-4.4.22/package/autoyast2.spec
--- old/autoyast2-4.4.21/package/autoyast2.spec 2021-11-19 13:18:52.000000000 
+0100
+++ new/autoyast2-4.4.22/package/autoyast2.spec 2021-11-22 18:06:38.000000000 
+0100
@@ -22,7 +22,7 @@
 %endif
 
 Name:           autoyast2
-Version:        4.4.21
+Version:        4.4.22
 Release:        0
 Summary:        YaST2 - Automated Installation
 License:        GPL-2.0-only
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/autoyast2-4.4.21/src/lib/autoinstall/clients/inst_autosetup.rb 
new/autoyast2-4.4.22/src/lib/autoinstall/clients/inst_autosetup.rb
--- old/autoyast2-4.4.21/src/lib/autoinstall/clients/inst_autosetup.rb  
2021-11-19 13:18:52.000000000 +0100
+++ new/autoyast2-4.4.22/src/lib/autoinstall/clients/inst_autosetup.rb  
2021-11-22 18:06:38.000000000 +0100
@@ -140,6 +140,8 @@
             log.warn("User has aborted the installation.")
             return :abort
           end
+          Profile.remove_sections("add-on")
+
           Call.Function("add-on_auto", ["Write"])
 
           # Recover partitioning settings that were removed by the add-on_auto 
client (bsc#1073548)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/autoyast2-4.4.21/test/lib/clients/inst_autosetup_test.rb 
new/autoyast2-4.4.22/test/lib/clients/inst_autosetup_test.rb
--- old/autoyast2-4.4.21/test/lib/clients/inst_autosetup_test.rb        
2021-11-19 13:18:52.000000000 +0100
+++ new/autoyast2-4.4.22/test/lib/clients/inst_autosetup_test.rb        
2021-11-22 18:06:38.000000000 +0100
@@ -282,5 +282,26 @@
         end
       end
     end
+
+    context "when the add-on section is included" do
+      let(:profile) do
+        {
+          "add-on" => {
+            "add_on_products" => [
+              { "media_url" => "relurl:///", "product_dir" => "/AddOn" }
+            ]
+          }
+        }
+      end
+
+      it "removes the add-on section from the profile" do
+        expect(Yast::Profile.current).to have_key("add-on")
+        expect(Yast::WFM).to receive(:CallFunction)
+          .with("add-on_auto", ["Import", profile["add-on"]])
+          .and_return(true)
+        subject.main
+        expect(Yast::Profile.current).to_not have_key("add-on")
+      end
+    end
   end
 end

Reply via email to