Script 'mail_helper' called by bg Hello packager, This is just FYI. Your package was checked in in distribution "sle12" by autobuild-member: bg. Here comes the log... ---------------------------%<------------------------------ Hi, here is the log from ci_new_pac /mounts/work_src_done/SLE12/autoyast2 -> sle12 ## BNC# 878722 : "btrfs snapper does not get initialized automated with autoyast - SLES12 Beta 6" (RESOLVED/FIXED) ## BNC# 878950 : "autoyast partitioning fails - SLES12 Beta6" (CLOSED/FIXED) Changes: -------- --- /work/SRC/SUSE:SLE-12:GA/autoyast2/autoyast2.changes 2014-06-10 08:49:57.000000000 +0200 +++ /mounts/work_src_done/SLE12/autoyast2/autoyast2.changes 2014-06-13 10:29:21.000000000 +0200 @@ -1,0 +2,12 @@ +Thu Jun 12 14:33:38 UTC 2014 - schubi@suse.com + +- Enable snapshots in autoyast. (bnc#878722) +- 3.1.34 + +------------------------------------------------------------------- +Thu Jun 12 10:45:16 CEST 2014 - schubi@suse.de + +- Checking auto,max flag in storage correctly. (bnc#878950) +- 3.1.33 + +------------------------------------------------------------------- calling whatdependson for sle12-i586 Packages directly triggered for rebuild: - autoyast2 - yast2-product-creator - yast2-schema ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/SUSE:SLE-12:GA/autoyast2 (Old) and /mounts/work_src_done/SLE12/autoyast2 (BS:build ID:39441 MAIL:yast-commit@opensuse.org) (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "autoyast2", Maintainer is "yast-commit@opensuse.org" Old: ---- autoyast2-3.1.32.tar.bz2 New: ---- autoyast2-3.1.34.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ autoyast2.spec ++++++ --- /var/tmp/diff_new_pack.0jJG6h/_old 2014-06-13 14:02:25.000000000 +0200 +++ /var/tmp/diff_new_pack.0jJG6h/_new 2014-06-13 14:02:25.000000000 +0200 @@ -17,7 +17,7 @@ Name: autoyast2 -Version: 3.1.32 +Version: 3.1.34 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build ++++++ autoyast2-3.1.32.tar.bz2 -> autoyast2-3.1.34.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autoyast2-3.1.32/package/autoyast2.changes new/autoyast2-3.1.34/package/autoyast2.changes --- old/autoyast2-3.1.32/package/autoyast2.changes 2014-06-09 17:19:23.000000000 +0200 +++ new/autoyast2-3.1.34/package/autoyast2.changes 2014-06-13 10:26:17.000000000 +0200 @@ -1,4 +1,16 @@ ------------------------------------------------------------------- +Thu Jun 12 14:33:38 UTC 2014 - schubi@suse.com + +- Enable snapshots in autoyast. (bnc#878722) +- 3.1.34 + +------------------------------------------------------------------- +Thu Jun 12 10:45:16 CEST 2014 - schubi@suse.de + +- Checking auto,max flag in storage correctly. (bnc#878950) +- 3.1.33 + +------------------------------------------------------------------- Fri Jun 6 12:55:07 UTC 2014 - schubi@suse.com - Setting the Mode.config after the autoyast installation has been diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autoyast2-3.1.32/package/autoyast2.spec new/autoyast2-3.1.34/package/autoyast2.spec --- old/autoyast2-3.1.32/package/autoyast2.spec 2014-06-09 17:19:23.000000000 +0200 +++ new/autoyast2-3.1.34/package/autoyast2.spec 2014-06-13 10:26:17.000000000 +0200 @@ -17,7 +17,7 @@ Name: autoyast2 -Version: 3.1.32 +Version: 3.1.34 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autoyast2-3.1.32/src/modules/AutoinstDrive.rb new/autoyast2-3.1.34/src/modules/AutoinstDrive.rb --- old/autoyast2-3.1.32/src/modules/AutoinstDrive.rb 2014-06-09 17:19:23.000000000 +0200 +++ new/autoyast2-3.1.34/src/modules/AutoinstDrive.rb 2014-06-13 10:26:18.000000000 +0200 @@ -32,6 +32,7 @@ "type" => :CT_DISK, # type of drive, see diskTypes below "use" => :all, # `all, `linux, `free, or list of partition numbers to use "pesize" => "", + "enable_snapshots" => true, "disklabel" => "msdos" # type of partition table (msdos or gpt) } # size of physical extents (currently no GUI support for this setting) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autoyast2-3.1.32/src/modules/AutoinstStorage.rb new/autoyast2-3.1.34/src/modules/AutoinstStorage.rb --- old/autoyast2-3.1.32/src/modules/AutoinstStorage.rb 2014-06-09 17:19:23.000000000 +0200 +++ new/autoyast2-3.1.34/src/modules/AutoinstStorage.rb 2014-06-13 10:26:18.000000000 +0200 @@ -10,6 +10,9 @@ module Yast class AutoinstStorageClass < Module + + include Yast::Logger + def main Yast.import "UI" textdomain "autoinst" @@ -705,6 +708,8 @@ d["partitions"] = d.fetch("partitions",[]).sort do |x, y| x.fetch("partition_nr",99)<=>y.fetch("partition_nr",99) end + # snapshots are default + d["enable_snapshots"] = true unless d.has_key?("enable_snapshots") deep_copy(d) end @@ -853,8 +858,7 @@ Builtins.sformat("%1", Partitions.MinimalNeededBootsize) ) end - if Ops.get_string(pe, "size", "") != "max" && - Ops.get_string(pe, "size", "") != "auto" + if !["max","auto"].include?(pe["size"].downcase) Ops.set( pe, "size", @@ -1088,7 +1092,7 @@ end end if changed - Storage.SetTargetMap(initial_target_map) if changed + Storage.SetTargetMap(initial_target_map) Builtins.y2milestone( "Target map after initializing disk: %1", Storage.GetTargetMap) end @@ -1131,6 +1135,15 @@ Builtins.y2milestone("solutions: %1", sol) Builtins.y2milestone("disk: %1", tm[device]) tm[device] = process_partition_data(device, sol) + + if data["enable_snapshots"] && tm[device].has_key?("partitions") + root_partition = tm[device]["partitions"].find{|p| p["mount"] == "/" && p["used_fs"] == :btrfs} + if root_partition + log.debug("Enabling snapshots for \"/\"; device #{data['device']}") + root_partition["userdata"] = { "/" => "snapshots" } + end + end + changed = true SearchRaids(tm) Builtins.y2milestone("disk: %1", tm[device]) continue with "q"... Checked in at Fri Jun 13 14:03:03 CEST 2014 by bg Remember to have fun... -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org