Hello community,
here is the log from the commit of package autoyast2
checked in at Tue Nov 4 17:31:13 CET 2008.
--------
--- autoyast2/autoyast2.changes 2008-10-27 15:56:33.000000000 +0100
+++ /mounts/work_src_done/STABLE/autoyast2/autoyast2.changes 2008-11-04 12:17:11.361028000 +0100
@@ -1,0 +2,21 @@
+Tue Nov 4 11:34:34 CET 2008 - ug@suse.de
+
+- LVM cloning fixed (partition_nr)
+- 2.17.20
+
+-------------------------------------------------------------------
+Fri Oct 31 12:03:58 CET 2008 - ug@suse.de
+
+- reactivated bootloader cloning in the UI
+
+-------------------------------------------------------------------
+Thu Oct 30 16:31:42 CET 2008 - ug@suse.de
+
+- cloning RAID fixed
+
+-------------------------------------------------------------------
+Tue Oct 28 15:49:02 CET 2008 - ug@suse.de
+
+- <wait> section added to <general> section
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
autoyast2-2.17.19.tar.bz2
New:
----
autoyast2-2.17.20.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ autoyast2.spec ++++++
--- /var/tmp/diff_new_pack.d24297/_old 2008-11-04 17:30:55.000000000 +0100
+++ /var/tmp/diff_new_pack.d24297/_new 2008-11-04 17:30:55.000000000 +0100
@@ -1,5 +1,5 @@
#
-# spec file for package autoyast2 (Version 2.17.19)
+# spec file for package autoyast2 (Version 2.17.20)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -20,12 +20,12 @@
Url: http://www.suse.de/~ug
Name: autoyast2
-Version: 2.17.19
+Version: 2.17.20
Release: 1
License: GPL v2 or later
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: autoyast2-2.17.19.tar.bz2
+Source0: autoyast2-2.17.20.tar.bz2
Prefix: /usr
BuildRequires: docbook-xsl-stylesheets java2-devel-packages libxslt perl-XML-Writer pkg-config sgml-skel update-desktop-files xorg-x11-libs yast2-bootloader yast2-country yast2-devtools yast2-mouse yast2-testsuite yast2-transfer yast2-update
# API for Disabled Modules (ProductControl)
@@ -61,7 +61,7 @@
%package installation
License: GPL v2 or later
-Version: 2.17.19
+Version: 2.17.20
Release: 1
Summary: YaST2 - Auto Installation Modules
Group: System/YaST
@@ -83,7 +83,7 @@
Anas Nashif
%prep
-%setup -n autoyast2-2.17.19
+%setup -n autoyast2-2.17.20
%build
%{prefix}/bin/y2tool y2autoconf
@@ -235,6 +235,15 @@
%dir /var/lib/autoinstall
%dir /var/lib/autoinstall/autoconf
%changelog
+* Tue Nov 04 2008 ug@suse.de
+- LVM cloning fixed (partition_nr)
+- 2.17.20
+* Fri Oct 31 2008 ug@suse.de
+- reactivated bootloader cloning in the UI
+* Thu Oct 30 2008 ug@suse.de
+- cloning RAID fixed
+* Tue Oct 28 2008 ug@suse.de
+- <wait> section added to <general> section
* Mon Oct 27 2008 ug@suse.de
- added kdump support
- 2.17.19
++++++ autoyast2-2.17.19.tar.bz2 -> autoyast2-2.17.20.tar.bz2 ++++++
++++ 3607 lines of diff (skipped)
++++ retrying with extended exclude list
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/autoyast2-2.17.19/configure.in new/autoyast2-2.17.20/configure.in
--- old/autoyast2-2.17.19/configure.in 2008-10-27 15:53:35.000000000 +0100
+++ new/autoyast2-2.17.20/configure.in 2008-11-04 12:04:22.000000000 +0100
@@ -1,9 +1,9 @@
dnl configure.in for autoyast2
dnl
-dnl -- This file is generated by y2autoconf 2.16.7 - DO NOT EDIT! --
+dnl -- This file is generated by y2autoconf 2.17.6 - DO NOT EDIT! --
dnl (edit configure.in.in instead)
-AC_INIT(autoyast2, 2.17.19, http://bugs.opensuse.org/, autoyast2)
+AC_INIT(autoyast2, 2.17.20, http://bugs.opensuse.org/, autoyast2)
dnl Check for presence of file 'RPMNAME'
AC_CONFIG_SRCDIR([RPMNAME])
@@ -18,7 +18,7 @@
AM_INIT_AUTOMAKE(tar-ustar -Wno-portability)
dnl Important YaST2 variables
-VERSION="2.17.19"
+VERSION="2.17.20"
RPMNAME="autoyast2"
MAINTAINER="Uwe Gansert "
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/autoyast2-2.17.19/doc/CreateProfileDetails.xml new/autoyast2-2.17.20/doc/CreateProfileDetails.xml
--- old/autoyast2-2.17.19/doc/CreateProfileDetails.xml 2008-10-14 13:57:34.000000000 +0200
+++ new/autoyast2-2.17.20/doc/CreateProfileDetails.xml 2008-10-28 15:37:34.000000000 +0100
@@ -124,6 +124,12 @@
</listitem>
</itemizedlist>
</para>
+ <para>
+ The wait section was invented with openSUSE 11.1 and SLES11. You can let AutoYaST sleep before and after each module during the second stage.
+ You can run scripts and/or you can pass a value (in seconds) for AutoYaST to sleep. In the example above AutoYaST will sleep for 15 seconds (10+5) before
+ the network configuration happens and 10 seconds (3+7) after the network configuration is done. The scripts in the example don't really make a lot of sense
+ because you could pass that value as "time" value too but I think you get how scripts in the wait section work now.
+ </para>
<note>
<title>Change starting from SUSE Linux 10.1/SLES10</title>
<para>
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/autoyast2-2.17.19/doc/examples/example.generalOptions.xml new/autoyast2-2.17.20/doc/examples/example.generalOptions.xml
--- old/autoyast2-2.17.19/doc/examples/example.generalOptions.xml 2008-07-03 12:27:58.000000000 +0200
+++ new/autoyast2-2.17.20/doc/examples/example.generalOptions.xml 2008-10-28 15:31:05.000000000 +0100
@@ -20,6 +20,39 @@
<proposals config:type="list"> <!-- since 11.1 -->
<proposal>partitions_proposal</proposal>
</proposals>
+ <wait> <!-- sinc 11.1 / SLES11 -->
+ <pre-modules config:type="list">
+ <module>
+ <name>networking</name>
+ <sleep>
+ <time config:type="integer">10</time>
+ <feedback config:type="boolean">true</feedback>
+ </sleep>
+ <script>
+ <source>
+ sleep 5
+ </source>
+ <debug config:type="boolean">false</debug>
+ </script>
+ </module>
+ </pre-modules>
+ <post-modules config:type="list">
+ <module>
+ <name>networking</name>
+ <sleep>
+ <time config:type="integer">3</time>
+ <feedback config:type="boolean">true</feedback>
+ </sleep>
+ <script>
+ <source>
+ sleep 7
+ </source>
+ <debug config:type="boolean">false</debug>
+ </script>
+ </module>
+ </post-modules>
+ </wait>
+
</general>
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/autoyast2-2.17.19/src/clients/inst_autoconfigure.ycp new/autoyast2-2.17.20/src/clients/inst_autoconfigure.ycp
--- old/autoyast2-2.17.19/src/clients/inst_autoconfigure.ycp 2008-07-15 14:48:01.000000000 +0200
+++ new/autoyast2-2.17.20/src/clients/inst_autoconfigure.ycp 2008-10-28 17:29:17.000000000 +0100
@@ -5,7 +5,7 @@
* Summary: This module finishes auto-installation and configures
* the system as described in the profile file.
*
- * $Id: inst_autoconfigure.ycp 48996 2008-07-11 13:13:30Z ug $
+ * $Id: inst_autoconfigure.ycp 52637 2008-10-28 16:29:45Z ug $
*/
{
@@ -13,6 +13,8 @@
import "Profile";
import "AutoinstScripts";
+ import "AutoinstConfig";
+ import "Popup";
import "Wizard";
import "Call";
import "Y2ModuleConfig";
@@ -51,6 +53,29 @@
return;
}
+ define void processWait( string resource, string stage ) {
+ foreach( map process, Profile::current["general","wait",stage]:[], ``{
+ if( process["name"]:"" == resource ) {
+ if( haskey( process, "sleep" ) ) {
+ if( process["sleep","feedback"]:false == true )
+ Popup::ShowFeedback( "", sformat( _("processing resource %1"), resource));
+ sleep( 1000*process["sleep","time"]:0 );
+ if( process["sleep","feedback"]:false == true )
+ Popup::ClearFeedback();
+ }
+ if( haskey( process, "script" ) ) {
+ string debug = ( process["script","debug"]:true ? "-x" : "" );
+ string scriptName = sformat("%1-%2", stage,resource);
+ string scriptPath = sformat("%1/%2", AutoinstConfig::scripts_dir, scriptName);
+ SCR::Write(.target.string, scriptPath, process["script","source"]:"echo Empty script!");
+ string executionString = sformat("/bin/sh %1 %2 2&> %3/%4.log ", debug, scriptPath, AutoinstConfig::logs_dir, scriptName );
+ SCR::Execute (.target.bash, executionString);
+ }
+ }
+ });
+ return;
+ }
+
// Help text for last dialog of base installation
string help_text = _("<p>
Please wait while the system is being configured.
@@ -142,8 +167,10 @@
else
logStep( sformat (_("Not Configuring %1"), p));
+ processWait( p, "pre-modules" );
Call::Function(module_auto, ["Import", eval(result) ]);
Call::Function(module_auto, ["Write"]);
+ processWait( p, "post-modules" );
}
else if (d["X-SuSE-YaST-AutoInstDataType"]:"map" == "map")
{
@@ -153,7 +180,9 @@
else
logStep( sformat (_("Not Configuring %1"), p));
//Call::Function(module_auto, ["Import", eval(Profile::current[resource]:$[]) ]);
+ processWait( resource, "pre-modules" );
Call::Function(module_auto, ["Write"]);
+ processWait( resource, "post-modules" );
}
else
{
@@ -164,7 +193,9 @@
y2milestone("Calling auto client with: %1", eval(Profile::current[resource]:[]));
//Call::Function(module_auto, ["Import", eval(Profile::current[resource]:[]) ]);
+ processWait( resource, "pre-modules" );
Call::Function(module_auto, ["Write"]);
+ processWait( resource, "post-modules" );
}
}
else
@@ -182,7 +213,9 @@
/* online update */
if( Profile::current["software","do_online_update"]:false == true ) {
+ processWait( "do_online_update", "pre-modules" );
symbol online_update_ret = (symbol)Call::Function("do_online_update_auto", ["Write"]);
+ processWait( "do_online_update", "post-modules" );
if( online_update_ret == `reboot ) {
map script = $[ "filename":"zzz_reboot", "source":"shutdown -r now" ];
AutoinstScripts::init = add( AutoinstScripts::init, script );
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/autoyast2-2.17.19/src/include/conftree.ycp new/autoyast2-2.17.20/src/include/conftree.ycp
--- old/autoyast2-2.17.19/src/include/conftree.ycp 2008-10-09 12:20:38.000000000 +0200
+++ new/autoyast2-2.17.20/src/include/conftree.ycp 2008-10-31 12:04:31.000000000 +0100
@@ -4,7 +4,7 @@
* Summary: This module handles the configuration for auto-installation
* Authors: Anas Nashif
*
- * $Id: conftree.ycp 52018 2008-10-09 10:22:09Z ug $
+ * $Id: conftree.ycp 52779 2008-10-31 11:05:05Z ug $
*/
{
@@ -199,7 +199,8 @@
boolean clonable = resourceMap["X-SuSE-YaST-AutoInstClonable"]:"false" == "true";
if( ! clonable &&
"software" != selectedModule &&
- "partitioning" != selectedModule ){
+ "partitioning" != selectedModule &&
+ "bootloader" != selectedModule ){
UI::ChangeWidget(`id(`read), `Enabled, false );
}
}
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/autoyast2-2.17.19/src/modules/AutoinstClone.ycp new/autoyast2-2.17.20/src/modules/AutoinstClone.ycp
--- old/autoyast2-2.17.19/src/modules/AutoinstClone.ycp 2008-09-04 14:31:14.000000000 +0200
+++ new/autoyast2-2.17.20/src/modules/AutoinstClone.ycp 2008-10-31 12:04:31.000000000 +0100
@@ -11,7 +11,7 @@
* Authors:
* Anas Nashif
*
- * $Id: AutoinstClone.ycp 50664 2008-09-04 12:32:05Z ug $
+ * $Id: AutoinstClone.ycp 52779 2008-10-31 11:05:05Z ug $
*
*
*/
@@ -217,7 +217,8 @@
boolean clonable = ( resourceMap["X-SuSE-YaST-AutoInstClonable"]:"false" == "true" );
if ( clonable ||
"partitioning" == def_resource || /* has no desktop file */
- "software" == def_resource ) /* has no desktop file */
+ "software" == def_resource || /* has no desktop file */
+ "bootloader" == def_resource )
{
// Set resource name, if not using default value
string resource = resourceMap["X-SuSE-YaST-AutoInstResource"]:"";
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/autoyast2-2.17.19/src/modules/AutoinstDrive.ycp new/autoyast2-2.17.20/src/modules/AutoinstDrive.ycp
--- old/autoyast2-2.17.19/src/modules/AutoinstDrive.ycp 2008-08-14 13:41:57.000000000 +0200
+++ new/autoyast2-2.17.20/src/modules/AutoinstDrive.ycp 2008-10-30 16:30:45.000000000 +0100
@@ -39,7 +39,7 @@
/* Every drive created gets an id. */
define integer _id = 0;
/* List of allowd disk/drive types */
- define list<symbol> diskTypes = [ `CT_DISK, `CT_LVM ];
+ define list<symbol> diskTypes = [ `CT_DISK, `CT_LVM, `CT_MD ];
/**
* Determine if type is a valid drive type.
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/autoyast2-2.17.19/src/modules/AutoinstPartition.ycp new/autoyast2-2.17.20/src/modules/AutoinstPartition.ycp
--- old/autoyast2-2.17.19/src/modules/AutoinstPartition.ycp 2008-08-15 09:35:00.000000000 +0200
+++ new/autoyast2-2.17.20/src/modules/AutoinstPartition.ycp 2008-11-04 11:34:09.000000000 +0100
@@ -199,7 +199,10 @@
}
newPart = set( newPart, "loop_fs", part["loop_fs"]:false );
newPart = set( newPart, "partition_id", part["partition_id"]:131 );
- newPart = set( newPart, "partition_nr", part["partition_nr"]:131 );
+ if( haskey( part, "partition_nr" ) )
+ newPart = set( newPart, "partition_nr", part["partition_nr"]:0 );
+ else
+ newPart = remove( newPart, "partition_nr" );
newPart = set( newPart, "size", part["size"]:"" );
newPart = set( newPart, "lv_name", part["lv_name"]:"" );
newPart = set( newPart, "lvm_group", part["lvm_group"]:"" );
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/autoyast2-2.17.19/src/modules/AutoinstPartPlan.ycp new/autoyast2-2.17.20/src/modules/AutoinstPartPlan.ycp
--- old/autoyast2-2.17.19/src/modules/AutoinstPartPlan.ycp 2008-09-24 15:38:31.000000000 +0200
+++ new/autoyast2-2.17.20/src/modules/AutoinstPartPlan.ycp 2008-10-30 16:34:23.000000000 +0100
@@ -484,6 +484,7 @@
// don't create partitions that are between windows partitions
// they must exist
map drive = $[];
+ drive["type"] = v["type"]:`CT_DISK;
if( no_create ) {
partitions = maplist( map m, (list<map>)partitions, {
m["create"] = false;
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/autoyast2-2.17.19/src/schema/general.rnc new/autoyast2-2.17.20/src/schema/general.rnc
--- old/autoyast2-2.17.19/src/schema/general.rnc 2008-07-03 18:10:43.000000000 +0200
+++ new/autoyast2-2.17.20/src/schema/general.rnc 2008-10-28 15:11:22.000000000 +0100
@@ -10,6 +10,36 @@
element proposals {
LIST,
element proposal { text }*
+ }? &
+ element wait {
+ element pre-modules {
+ LIST,
+ element module {
+ element name { text }? &
+ element sleep {
+ element time { INTEGER }? &
+ element feedback { BOOLEAN }?
+ }? &
+ element script {
+ element debug { BOOLEAN }? &
+ element source { text }?
+ }
+ }*
+ }? &
+ element post-modules {
+ LIST,
+ element module {
+ element name { text }? &
+ element sleep {
+ element time { INTEGER }? &
+ element feedback { BOOLEAN }?
+ }? &
+ element script {
+ element debug { BOOLEAN }? &
+ element source { text }?
+ }
+ }*
+ }?
}?
}
ask-list = element ask-list { LIST, ask* }
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/autoyast2-2.17.19/VERSION new/autoyast2-2.17.20/VERSION
--- old/autoyast2-2.17.19/VERSION 2008-10-27 15:53:02.000000000 +0100
+++ new/autoyast2-2.17.20/VERSION 2008-11-04 12:04:18.000000000 +0100
@@ -1 +1 @@
-2.17.19
+2.17.20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org