Hello community, here is the log from the commit of package autoyast2 for openSUSE:Factory checked in at 2015-01-24 22:19:55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 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-01-08 23:05:19.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.autoyast2.new/autoyast2.changes 2015-01-24 22:19:57.000000000 +0100 @@ -1,0 +2,16 @@ +Tue Jan 20 09:54:23 CET 2015 - [email protected] + +- Clone_system in autoyast2-installation should call some modules + (e.g. storage, software) which are defined in autoyast2 package. + So if needed the user has to install autoyast2 package at first. + +------------------------------------------------------------------- +Mon Jan 19 09:10:15 CET 2015 - [email protected] + +- Checking if the disk is -partitionable- instead of checking if it + is a real disk. Needed for Multipath disks. (bnc#909349) +- autoyast=file:///<autoinst.xml> : Mount the installation source + in order to copy AutoYaST configuration file into inst_sys. + (bnc#908271) + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ autoyast2.spec ++++++ --- /var/tmp/diff_new_pack.CUAUxp/_old 2015-01-24 22:19:58.000000000 +0100 +++ /var/tmp/diff_new_pack.CUAUxp/_new 2015-01-24 22:19:58.000000000 +0100 @@ -31,6 +31,7 @@ # xmllint BuildRequires: libxml2-tools BuildRequires: yast2 +BuildRequires: yast2-packager BuildRequires: yast2-services-manager BuildRequires: yast2-storage BuildRequires: yast2-transfer ++++++ autoyast2-3.1.72.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autoyast2-3.1.72/.travis.yml new/autoyast2-3.1.72/.travis.yml --- old/autoyast2-3.1.72/.travis.yml 2015-01-07 16:19:10.000000000 +0100 +++ new/autoyast2-3.1.72/.travis.yml 2015-01-21 16:09:10.000000000 +0100 @@ -5,7 +5,7 @@ # disable rvm, use system Ruby - rvm reset - wget https://raw.githubusercontent.com/yast/yast-devtools/master/travis-tools/travis_setup.sh - - sh ./travis_setup.sh -p "rake yast2-devtools yast2-testsuite yast2 yast2-storage yast2-xml yast2-transfer yast2-services-manager yast2-installation-control" -g "rspec:2.14.1 yast-rake gettext" + - sh ./travis_setup.sh -p "rake yast2-devtools yast2-testsuite yast2 yast2-storage yast2-xml yast2-transfer yast2-services-manager yast2-installation-control yast2-packager" -g "rspec:2.14.1 yast-rake gettext" script: - rake check:syntax - rake check:pot diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autoyast2-3.1.72/package/autoyast2.changes new/autoyast2-3.1.72/package/autoyast2.changes --- old/autoyast2-3.1.72/package/autoyast2.changes 2015-01-07 16:19:10.000000000 +0100 +++ new/autoyast2-3.1.72/package/autoyast2.changes 2015-01-21 16:09:10.000000000 +0100 @@ -1,4 +1,20 @@ ------------------------------------------------------------------- +Tue Jan 20 09:54:23 CET 2015 - [email protected] + +- Clone_system in autoyast2-installation should call some modules + (e.g. storage, software) which are defined in autoyast2 package. + So if needed the user has to install autoyast2 package at first. + +------------------------------------------------------------------- +Mon Jan 19 09:10:15 CET 2015 - [email protected] + +- Checking if the disk is -partitionable- instead of checking if it + is a real disk. Needed for Multipath disks. (bnc#909349) +- autoyast=file:///<autoinst.xml> : Mount the installation source + in order to copy AutoYaST configuration file into inst_sys. + (bnc#908271) + +------------------------------------------------------------------- Tue Dec 30 13:46:52 CET 2014 - [email protected] - Selecting needed yast packages for the second stage correctly. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autoyast2-3.1.72/package/autoyast2.spec new/autoyast2-3.1.72/package/autoyast2.spec --- old/autoyast2-3.1.72/package/autoyast2.spec 2015-01-07 16:19:10.000000000 +0100 +++ new/autoyast2-3.1.72/package/autoyast2.spec 2015-01-21 16:09:10.000000000 +0100 @@ -36,6 +36,7 @@ BuildRequires: yast2-xml BuildRequires: yast2-transfer BuildRequires: yast2-services-manager +BuildRequires: yast2-packager # %%{_unitdir} macro definition is in a separate package since 13.1 %if 0%{?suse_version} >= 1310 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autoyast2-3.1.72/src/clients/clone_system.rb new/autoyast2-3.1.72/src/clients/clone_system.rb --- old/autoyast2-3.1.72/src/clients/clone_system.rb 2015-01-07 16:19:10.000000000 +0100 +++ new/autoyast2-3.1.72/src/clients/clone_system.rb 2015-01-21 16:09:10.000000000 +0100 @@ -23,11 +23,31 @@ Yast.import "Y2ModuleConfig" Yast.import "Mode" Yast.import "FileUtils" + Yast.import "Report" + Yast.import "Installation" + Yast.import "PackageSystem" textdomain "autoinst" @moduleList = "" + if Mode.normal + if !PackageSystem.Installed("autoyast2") + ret = PackageSystem.InstallAll(["autoyast2"]) + # The modules/clients has to be reloaded. So the export + # will be restarted. + if ret + SCR.Execute( + path(".target.bash"), + "touch #{Installation.restart_file}" + ) + end + return + elsif FileUtils.Exists(Installation.restart_file) + SCR.Execute(path(".target.remove"), Installation.restart_file) + end + end + Builtins.foreach(Y2ModuleConfig.ModuleMap) do |def_resource, resourceMap| clonable = resourceMap["X-SuSE-YaST-AutoInstClonable"] == "true" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autoyast2-3.1.72/src/include/autoinstall/io.rb new/autoyast2-3.1.72/src/include/autoinstall/io.rb --- old/autoyast2-3.1.72/src/include/autoinstall/io.rb 2015-01-07 16:19:10.000000000 +0100 +++ new/autoyast2-3.1.72/src/include/autoinstall/io.rb 2015-01-21 16:09:10.000000000 +0100 @@ -19,6 +19,7 @@ Yast.import "TFTP" Yast.import "AutoinstConfig" Yast.import "Storage" + Yast.import "InstURL" @GET_error = "" end @@ -177,9 +178,11 @@ "Trying to find file on installation media: %1", Installation.boot ) - cdrom = Convert.to_string(SCR.Read(path(".etc.install_inf.Cdrom"))) - if Installation.boot == "cd" && cdrom - cdrom_device = Ops.add("/dev/", cdrom) + # 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") : "" + if Installation.boot == "cd" && !cdrom_device.empty? already_mounted = Ops.add( Ops.add("grep ", cdrom_device), " /proc/mounts ;" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autoyast2-3.1.72/src/modules/AutoinstStorage.rb new/autoyast2-3.1.72/src/modules/AutoinstStorage.rb --- old/autoyast2-3.1.72/src/modules/AutoinstStorage.rb 2015-01-07 16:19:10.000000000 +0100 +++ new/autoyast2-3.1.72/src/modules/AutoinstStorage.rb 2015-01-21 16:09:10.000000000 +0100 @@ -1079,7 +1079,7 @@ result = false changed = false Builtins.foreach(@AutoTargetMap) do |device, data| - if Storage.IsRealDisk(data) && data.fetch("initialize", false) + if Storage.IsPartitionable(data) && data.fetch("initialize", false) Ops.set(initial_target_map, [device, "delete"], true) changed = true if data.has_key?("disklabel") @@ -1124,7 +1124,7 @@ ) Builtins.y2milestone("device %1 not found in TargetMap", device) end - if Storage.IsRealDisk(data) + if Storage.IsPartitionable(data) @ZeroNewPartitions = data.fetch("zero_new_partitions",true) # that's not really nice. Just an undocumented fallback which should never be used Builtins.y2milestone("Creating partition plans for %1", device) -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
