Hello community,

here is the log from the commit of package autoyast2 for openSUSE:Factory 
checked in at 2015-07-05 17:52:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
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      2015-06-03 
08:29:55.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.autoyast2.new/autoyast2.changes 2015-07-05 
17:52:21.000000000 +0200
@@ -1,0 +2,12 @@
+Wed Jul  1 14:54:51 CEST 2015 - [email protected]
+
+- Added "upgrade" section to generic list. (bnc#935915)
+- 3.1.84
+
+-------------------------------------------------------------------
+Fri Jun 26 11:49:48 CEST 2015 - [email protected]
+
+- implemented activation of snapper for btrfs on LVM (bsc#935858)
+- 3.1.83
+
+-------------------------------------------------------------------

Old:
----
  autoyast2-3.1.82.tar.bz2

New:
----
  autoyast2-3.1.84.tar.bz2

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

Other differences:
------------------
++++++ autoyast2.spec ++++++
--- /var/tmp/diff_new_pack.DVaNDL/_old  2015-07-05 17:52:22.000000000 +0200
+++ /var/tmp/diff_new_pack.DVaNDL/_new  2015-07-05 17:52:22.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           autoyast2
-Version:        3.1.82
+Version:        3.1.84
 Release:        0
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -35,7 +35,7 @@
 BuildRequires:  yast2
 BuildRequires:  yast2-packager
 BuildRequires:  yast2-services-manager
-BuildRequires:  yast2-storage
+BuildRequires:  yast2-storage >= 3.1.59
 BuildRequires:  yast2-transfer
 BuildRequires:  yast2-xml
 BuildRequires:  rubygem(%{rb_default_ruby_abi}:rspec)
@@ -54,7 +54,7 @@
 Requires:       yast2-core
 Requires:       yast2-country >= 3.1.13
 Requires:       yast2-schema
-Requires:       yast2-storage >= 3.1.27
+Requires:       yast2-storage >= 3.1.59
 Requires:       yast2-transfer >= 2.21.0
 Requires:       yast2-xml
 
@@ -103,7 +103,7 @@
 # ServicesManagerTargetClass::BaseTargets
 Requires:       yast2-services-manager >= 3.1.10
 Requires:       yast2-slp
-Requires:       yast2-storage
+Requires:       yast2-storage >= 3.1.59
 Requires:       yast2-transfer >= 2.21.0
 Requires:       yast2-update >= 2.18.3
 Requires:       yast2-xml

++++++ autoyast2-3.1.82.tar.bz2 -> autoyast2-3.1.84.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/autoyast2-3.1.82/package/autoyast2.changes 
new/autoyast2-3.1.84/package/autoyast2.changes
--- old/autoyast2-3.1.82/package/autoyast2.changes      2015-06-02 
14:34:34.000000000 +0200
+++ new/autoyast2-3.1.84/package/autoyast2.changes      2015-07-01 
15:19:37.000000000 +0200
@@ -1,8 +1,20 @@
 -------------------------------------------------------------------
+Wed Jul  1 14:54:51 CEST 2015 - [email protected]
+
+- Added "upgrade" section to generic list. (bnc#935915)
+- 3.1.84
+
+-------------------------------------------------------------------
+Fri Jun 26 11:49:48 CEST 2015 - [email protected]
+
+- implemented activation of snapper for btrfs on LVM (bsc#935858)
+- 3.1.83
+
+-------------------------------------------------------------------
 Tue Jun  2 10:51:56 UTC 2015 - [email protected]
 
 - Enabled snapshots creation after auto-installation/upgrade
-  (fate #317973)
+  (fate#317973)
 - 3.1.82
 
 -------------------------------------------------------------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/autoyast2-3.1.82/package/autoyast2.spec 
new/autoyast2-3.1.84/package/autoyast2.spec
--- old/autoyast2-3.1.82/package/autoyast2.spec 2015-06-02 14:34:34.000000000 
+0200
+++ new/autoyast2-3.1.84/package/autoyast2.spec 2015-07-01 15:19:37.000000000 
+0200
@@ -17,7 +17,7 @@
 
 
 Name:           autoyast2
-Version:        3.1.82
+Version:        3.1.84
 Release:        0
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -34,7 +34,7 @@
 BuildRequires:  libxslt
 BuildRequires:  rubygem(%{rb_default_ruby_abi}:rspec)
 BuildRequires:  yast2
-BuildRequires:  yast2-storage
+BuildRequires:  yast2-storage >= 3.1.59
 BuildRequires:  yast2-xml
 BuildRequires:  yast2-transfer
 BuildRequires:  yast2-services-manager
@@ -54,7 +54,7 @@
 Requires:       yast2-core
 Requires:       yast2-country >= 3.1.13
 Requires:       yast2-schema
-Requires:       yast2-storage >= 3.1.27
+Requires:       yast2-storage >= 3.1.59
 Requires:       yast2-transfer >= 2.21.0
 Requires:       yast2-xml
 
@@ -103,7 +103,7 @@
 # ServicesManagerTargetClass::BaseTargets
 Requires:       yast2-services-manager >= 3.1.10
 Requires:       yast2-slp
-Requires:       yast2-storage
+Requires:       yast2-storage >= 3.1.59
 Requires:       yast2-transfer >= 2.21.0
 Requires:       yast2-update >= 2.18.3
 Requires:       yast2-xml
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/autoyast2-3.1.82/src/modules/AutoinstLVM.rb 
new/autoyast2-3.1.84/src/modules/AutoinstLVM.rb
--- old/autoyast2-3.1.82/src/modules/AutoinstLVM.rb     2015-06-02 
14:34:34.000000000 +0200
+++ new/autoyast2-3.1.84/src/modules/AutoinstLVM.rb     2015-07-01 
15:19:37.000000000 +0200
@@ -4,12 +4,14 @@
 # Module:    Auto-Installation
 # Summary:    LVM
 # Authors:    Anas Nashif <[email protected]>
-#
-# $Id$
+
 require "yast"
 
 module Yast
   class AutoinstLVMClass < Module
+
+    include Yast::Logger
+
     def main
       textdomain "autoinst"
 
@@ -281,7 +283,6 @@
 
       error = false
 
-
       Builtins.foreach(@lvm) do |device, volume_group|
         Builtins.y2milestone("volume_group is %1", volume_group)
         use = Ops.get_string(volume_group, "use", "none")
@@ -559,6 +560,22 @@
         end
       end
       Builtins.y2milestone("targetmap: %1", @targetMap)
+
+      AutoinstStorage.AutoTargetMap.each do |device, data|
+        target_map = Storage.GetTargetMap()
+        if target_map.has_key?(device) && data["type"] == :CT_LVM
+          if data["enable_snapshots"] && 
target_map[device].has_key?("partitions")
+            root_partition = target_map[device]["partitions"].find do
+              |p| p["mount"] == "/" && p["used_fs"] == :btrfs
+            end
+            if root_partition
+              log.info("Enabling snapshots for \"/\"; root_partition 
#{root_partition}")
+              Storage.SetUserdata(root_partition["device"], { "/" => 
"snapshots" })
+            end
+          end
+        end
+      end
+
       true
     end
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/autoyast2-3.1.82/src/modules/Profile.rb 
new/autoyast2-3.1.84/src/modules/Profile.rb
--- old/autoyast2-3.1.82/src/modules/Profile.rb 2015-06-02 14:34:34.000000000 
+0200
+++ new/autoyast2-3.1.84/src/modules/Profile.rb 2015-07-01 15:19:37.000000000 
+0200
@@ -16,7 +16,9 @@
       # AutoYaST has its own partitioning
       "partitioning",
       # AutoYaST has its Preboot Execution Environment configuration
-      "pxe"
+      "pxe",
+      # Flags for setting the solver while the upgrade process with AutoYaST
+      "upgrade"
     ]
 
     # Dropped YaST modules that used to provide AutoYaST functionality
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/autoyast2-3.1.82/test/Y2ModuleConfig_test.rb 
new/autoyast2-3.1.84/test/Y2ModuleConfig_test.rb
--- old/autoyast2-3.1.82/test/Y2ModuleConfig_test.rb    2015-06-02 
14:34:34.000000000 +0200
+++ new/autoyast2-3.1.84/test/Y2ModuleConfig_test.rb    2015-07-01 
15:19:37.000000000 +0200
@@ -30,6 +30,7 @@
     allow(Yast::WFM).to 
receive(:ClientExists).with("unknown_profile_item_1_auto").and_return(false)
     allow(Yast::WFM).to 
receive(:ClientExists).with("unknown_profile_item_2_auto").and_return(false)
     allow(Yast::WFM).to 
receive(:ClientExists).with("partitioning_auto").and_return(false)
+    allow(Yast::WFM).to 
receive(:ClientExists).with("upgrade_auto").and_return(false)
   end
 
   describe "#unhandled_profile_sections" do
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/autoyast2-3.1.82/test/fixtures/profiles/unhandled_and_obsolete.xml 
new/autoyast2-3.1.84/test/fixtures/profiles/unhandled_and_obsolete.xml
--- old/autoyast2-3.1.82/test/fixtures/profiles/unhandled_and_obsolete.xml      
2015-06-02 14:34:34.000000000 +0200
+++ new/autoyast2-3.1.84/test/fixtures/profiles/unhandled_and_obsolete.xml      
2015-07-01 15:19:37.000000000 +0200
@@ -36,6 +36,9 @@
   <language><x config:type="boolean">false</x></language>
   <ca_mgm><x config:type="boolean">false</x></ca_mgm>
   <bootloader/>
+  <upgrade>
+    <x config:type="boolean">false</x>
+  </upgrade>
   <report/>
   <groups/>
   <deploy_image>


Reply via email to