Hello community,

here is the log from the commit of package autoyast2 for openSUSE:Factory 
checked in at 2017-06-07 13:08:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/autoyast2 (Old)
 and      /work/SRC/openSUSE:Factory/.autoyast2.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "autoyast2"

Wed Jun  7 13:08:07 2017 rev:223 rq:495818 version:3.2.15

Changes:
--------
--- /work/SRC/openSUSE:Factory/autoyast2/autoyast2.changes      2017-04-25 
08:57:24.997635761 +0200
+++ /work/SRC/openSUSE:Factory/.autoyast2.new/autoyast2.changes 2017-06-07 
13:08:09.761747603 +0200
@@ -1,0 +2,7 @@
+Thu May 18 10:46:35 CEST 2017 - [email protected]
+
+- clone system: Checking if snapshots have been enabled.
+  (bnc#1039268)
+- 3.2.15
+
+-------------------------------------------------------------------

Old:
----
  autoyast2-3.2.14.tar.bz2

New:
----
  autoyast2-3.2.15.tar.bz2

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

Other differences:
------------------
++++++ autoyast2.spec ++++++
--- /var/tmp/diff_new_pack.Xfz040/_old  2017-06-07 13:08:10.609627956 +0200
+++ /var/tmp/diff_new_pack.Xfz040/_new  2017-06-07 13:08:10.613627391 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           autoyast2
-Version:        3.2.14
+Version:        3.2.15
 Release:        0
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build

++++++ autoyast2-3.2.14.tar.bz2 -> autoyast2-3.2.15.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/autoyast2-3.2.14/package/autoyast2.changes 
new/autoyast2-3.2.15/package/autoyast2.changes
--- old/autoyast2-3.2.14/package/autoyast2.changes      2017-04-18 
09:44:10.236091561 +0200
+++ new/autoyast2-3.2.15/package/autoyast2.changes      2017-05-18 
10:55:51.008751440 +0200
@@ -1,4 +1,11 @@
 -------------------------------------------------------------------
+Thu May 18 10:46:35 CEST 2017 - [email protected]
+
+- clone system: Checking if snapshots have been enabled.
+  (bnc#1039268)
+- 3.2.15
+
+-------------------------------------------------------------------
 Thu Apr 13 14:02:34 CEST 2017 - [email protected]
 
 - Moved configuration management before software selection in
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/autoyast2-3.2.14/package/autoyast2.spec 
new/autoyast2-3.2.15/package/autoyast2.spec
--- old/autoyast2-3.2.14/package/autoyast2.spec 2017-04-18 09:44:10.236091561 
+0200
+++ new/autoyast2-3.2.15/package/autoyast2.spec 2017-05-18 10:55:51.008751440 
+0200
@@ -17,7 +17,7 @@
 
 
 Name:           autoyast2
-Version:        3.2.14
+Version:        3.2.15
 Release:        0
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/autoyast2-3.2.14/src/modules/AutoinstDrive.rb 
new/autoyast2-3.2.15/src/modules/AutoinstDrive.rb
--- old/autoyast2-3.2.14/src/modules/AutoinstDrive.rb   2017-04-18 
09:44:10.248091561 +0200
+++ new/autoyast2-3.2.15/src/modules/AutoinstDrive.rb   2017-05-18 
10:55:51.232751440 +0200
@@ -19,6 +19,7 @@
 
       Yast.import "AutoinstCommon"
       Yast.import "AutoinstPartition"
+      Yast.import "Mode"
 
       textdomain "autoinst"
 
@@ -363,7 +364,12 @@
       end
 
       if newDrive["type"] != :CT_TMPFS
-        newDrive["enable_snapshots"] = true # enable snapshot (default)
+        if Mode.config && SCR.Execute(path(".target.bash"), "/usr/bin/snapper 
list") > 0
+          # Snapper returns an error if no snapshot has been defined.
+          newDrive["enable_snapshots"] = false
+        else
+          newDrive["enable_snapshots"] = true # enable snapshot (default)
+        end
         newDrive["disklabel"] = drive["disklabel"] if 
drive.has_key?("disklabel")
       else
         newDrive.delete("disklabel")


Reply via email to