Hello community,

here is the log from the commit of package autoyast2 for openSUSE:Factory 
checked in at 2016-01-16 11:56:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/autoyast2 (Old)
 and      /work/SRC/openSUSE:Factory/.autoyast2.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "autoyast2"

Changes:
--------
--- /work/SRC/openSUSE:Factory/autoyast2/autoyast2.changes      2016-01-13 
22:45:44.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.autoyast2.new/autoyast2.changes 2016-01-16 
11:56:45.000000000 +0100
@@ -0,0 +1,16 @@
+-------------------------------------------------------------------
+Fri Jan 15 10:30:58 CET 2016 - [email protected]
+
+- Installation with "autoyast=default". Fixed nil exception error.
+  (bnc#959723)
+- 3.1.111
+
+-------------------------------------------------------------------
+Thu Jan 14 10:22:53 CET 2016 - [email protected]
+
+- Fixed init scripts which have been defined inside an
+  AutoYaST configuration file. (bnc#961320)
+- 3.1.110
+
+-------------------------------------------------------------------
+

Old:
----
  autoyast2-3.1.108.tar.bz2

New:
----
  autoyast2-3.1.111.tar.bz2

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

Other differences:
------------------
++++++ autoyast2.spec ++++++
--- /var/tmp/diff_new_pack.ClVUDX/_old  2016-01-16 11:56:46.000000000 +0100
+++ /var/tmp/diff_new_pack.ClVUDX/_new  2016-01-16 11:56:46.000000000 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           autoyast2
-Version:        3.1.108
+Version:        3.1.111
 Release:        0
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build

++++++ autoyast2-3.1.108.tar.bz2 -> autoyast2-3.1.111.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/autoyast2-3.1.108/package/autoyast2.changes 
new/autoyast2-3.1.111/package/autoyast2.changes
--- old/autoyast2-3.1.108/package/autoyast2.changes     2016-01-13 
13:59:11.000000000 +0100
+++ new/autoyast2-3.1.111/package/autoyast2.changes     2016-01-15 
12:54:10.000000000 +0100
@@ -1,3 +1,19 @@
+-------------------------------------------------------------------
+Fri Jan 15 10:30:58 CET 2016 - [email protected]
+
+- Installation with "autoyast=default". Fixed nil exception error.
+  (bnc#959723)
+- 3.1.111
+
+-------------------------------------------------------------------
+Thu Jan 14 10:22:53 CET 2016 - [email protected]
+
+- Fixed init scripts which have been defined inside an
+  AutoYaST configuration file. (bnc#961320)
+- 3.1.110
+
+-------------------------------------------------------------------
+
 Wed Jan 13 11:40:25 UTC 2016 - [email protected]
 
 - Fix validation of AutoYaST profiles (bsc#954412)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/autoyast2-3.1.108/package/autoyast2.spec 
new/autoyast2-3.1.111/package/autoyast2.spec
--- old/autoyast2-3.1.108/package/autoyast2.spec        2016-01-13 
13:59:11.000000000 +0100
+++ new/autoyast2-3.1.111/package/autoyast2.spec        2016-01-15 
12:54:10.000000000 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           autoyast2
-Version:        3.1.108
+Version:        3.1.111
 Release:        0
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/autoyast2-3.1.108/src/include/autoinstall/io.rb 
new/autoyast2-3.1.111/src/include/autoinstall/io.rb
--- old/autoyast2-3.1.108/src/include/autoinstall/io.rb 2016-01-13 
13:59:11.000000000 +0100
+++ new/autoyast2-3.1.111/src/include/autoinstall/io.rb 2016-01-15 
12:54:10.000000000 +0100
@@ -181,7 +181,8 @@
           # The Cdrom entry in install.inf is obsolete. So we are using the
           # entry which is defined in InstUrl module. (bnc#908271)
           install_url = InstURL.installInf2Url("")
-          cdrom_device = install_url ? Builtins.regexpsub(install_url, 
"devices=(.*)$", "\\1") : ""
+          # Builtins.regexpsub can also return nil (bnc#959723)
+          cdrom_device = install_url ? (Builtins.regexpsub(install_url, 
"devices=(.*)$", "\\1") || "") : ""
           if Installation.boot == "cd" && !cdrom_device.empty?
             already_mounted = Ops.add(
               Ops.add("grep ", cdrom_device),
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/autoyast2-3.1.108/src/modules/AutoinstScripts.rb 
new/autoyast2-3.1.111/src/modules/AutoinstScripts.rb
--- old/autoyast2-3.1.108/src/modules/AutoinstScripts.rb        2016-01-13 
13:59:11.000000000 +0100
+++ new/autoyast2-3.1.111/src/modules/AutoinstScripts.rb        2016-01-15 
12:54:10.000000000 +0100
@@ -792,13 +792,12 @@
           end
         elsif type == "init-scripts"
           scriptPath = Builtins.sformat(
-            "%1%2/%3",
-            AutoinstConfig.destdir,
+            "%1/%2",
             AutoinstConfig.initscripts_dir,
             scriptName
           )
-          Builtins.y2milestone("Writing init script into %1", scriptPath)
           if Ops.get_string(s, "location", "") != ""
+            scriptPath = AutoinstConfig.destdir + scriptPath #bnc961320
             Builtins.y2debug(
               "getting script: %1",
               Ops.get_string(s, "location", "")
@@ -815,7 +814,8 @@
               scriptPath,
               Ops.get_string(s, "source", "echo Empty script!")
             )
-          end 
+          end
+          Builtins.y2milestone("Writing init script into %1", scriptPath)
           # moved to 1st stage because of systemd
           #Service::Enable("autoyast");
         elsif type == "chroot-scripts"


Reply via email to