Hello community,
here is the log from the commit of package autoyast2 for openSUSE:Factory
checked in at Fri Jan 7 12:20:06 CET 2011.
--------
--- autoyast2/autoyast2.changes 2010-05-21 15:10:13.000000000 +0200
+++ /mounts/work_src_done/STABLE/autoyast2/autoyast2.changes 2011-01-04 12:11:55.000000000 +0100
@@ -1,0 +2,59 @@
+Tue Jan 4 11:04:33 UTC 2011 - lslezak@suse.cz
+
+- fixed build (wrong mount call params)
+- 2.20.3
+
+-------------------------------------------------------------------
+Wed Nov 24 17:19:09 CET 2010 - ug@suse.de
+
+- clone devices by-path on s390 (bnc#591603)
+- 2.20.2
+
+-------------------------------------------------------------------
+Tue Oct 12 13:32:37 UTC 2010 - lslezak@suse.cz
+
+- don't use obsoleted inst_packages.ycp client, use PackagesUI.ycp
+ module instead (bnc#471490)
+- 2.20.1
+
+-------------------------------------------------------------------
+Mon Aug 30 15:09:51 CEST 2010 - ug@suse.de
+
+- setting a boolean via <path> does not work (regression from the
+ fix bnc#572166)
+
+-------------------------------------------------------------------
+Mon Aug 30 13:06:11 CEST 2010 - ug@suse.de
+
+- potential endless reboot during online update fixed
+
+-------------------------------------------------------------------
+Tue Aug 10 15:12:56 CEST 2010 - ug@suse.de
+
+- media_url removed from CDATA
+
+-------------------------------------------------------------------
+Thu Aug 5 10:53:55 CEST 2010 - ug@suse.de
+
+- a new filesystem can be specified for partitioning_advanced
+
+-------------------------------------------------------------------
+Tue Aug 3 11:33:58 CEST 2010 - ug@suse.de
+
+- reusing more partitions than the hardware still could create
+ fails (bnc#620212). This is a different issue but the same bug
+ like on Jul 15 14:21:41 below
+
+-------------------------------------------------------------------
+Thu Jul 15 14:21:41 CEST 2010 - ug@suse.de
+
+- speed up partitioning calculation if a lot partitions are
+ reused (bnc#620212)
+
+-------------------------------------------------------------------
+Fri Jul 9 09:51:51 CEST 2010 - ug@suse.de
+
+- an existing swap partition can accidently be reused
+ even if AutoYaST is not supposed to touch it (bnc#613366)
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
autoyast2-2.19.10.tar.bz2
New:
----
autoyast2-2.20.3.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ autoyast2.spec ++++++
--- /var/tmp/diff_new_pack.0TKTo7/_old 2011-01-07 12:19:30.000000000 +0100
+++ /var/tmp/diff_new_pack.0TKTo7/_new 2011-01-07 12:19:30.000000000 +0100
@@ -1,7 +1,7 @@
#
-# spec file for package autoyast2 (Version 2.19.10)
+# spec file for package autoyast2 (Version 2.20.3)
#
-# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,11 +19,11 @@
Name: autoyast2
-Version: 2.19.10
+Version: 2.20.3
Release: 1
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: autoyast2-2.19.10.tar.bz2
+Source0: autoyast2-2.20.3.tar.bz2
Prefix: /usr
@@ -65,7 +65,7 @@
%package installation
License: GPLv2+
-Version: 2.19.10
+Version: 2.20.3
Release: 1
Summary: YaST2 - Auto Installation Modules
Group: System/YaST
@@ -82,7 +82,7 @@
generated with the autoyast2 package.
%prep
-%setup -n autoyast2-2.19.10
+%setup -n autoyast2-2.20.3
%build
%{prefix}/bin/y2tool y2autoconf
++++++ autoyast2-2.19.10.tar.bz2 -> autoyast2-2.20.3.tar.bz2 ++++++
++++ 4842 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.19.10/configure.in new/autoyast2-2.20.3/configure.in
--- old/autoyast2-2.19.10/configure.in 2010-05-21 15:07:38.000000000 +0200
+++ new/autoyast2-2.20.3/configure.in 2011-01-04 12:06:12.000000000 +0100
@@ -3,7 +3,7 @@
dnl -- This file is generated by y2autoconf 2.18.11 - DO NOT EDIT! --
dnl (edit configure.in.in instead)
-AC_INIT(autoyast2, 2.19.10, http://bugs.opensuse.org/, autoyast2)
+AC_INIT(autoyast2, 2.20.3, 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.19.10"
+VERSION="2.20.3"
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.19.10/src/clients/inst_autoconfigure.ycp new/autoyast2-2.20.3/src/clients/inst_autoconfigure.ycp
--- old/autoyast2-2.19.10/src/clients/inst_autoconfigure.ycp 2009-05-04 11:54:37.000000000 +0200
+++ new/autoyast2-2.20.3/src/clients/inst_autoconfigure.ycp 2010-10-12 17:03:24.000000000 +0200
@@ -5,7 +5,7 @@
* Summary: This module finishes auto-installation and configures
* the system as described in the profile file.
*
- * $Id: inst_autoconfigure.ycp 57049 2009-05-04 09:54:36Z ug $
+ * $Id: inst_autoconfigure.ycp 62444 2010-08-30 11:06:41Z ug $
*/
{
@@ -231,7 +231,7 @@
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" ];
+ map script = $[ "filename":"zzz_reboot", "source":"chkconfig autoyast off\nshutdown -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.19.10/src/clients/software_auto.ycp new/autoyast2-2.20.3/src/clients/software_auto.ycp
--- old/autoyast2-2.19.10/src/clients/software_auto.ycp 2010-03-15 13:26:14.000000000 +0100
+++ new/autoyast2-2.20.3/src/clients/software_auto.ycp 2010-10-12 17:03:24.000000000 +0200
@@ -4,7 +4,7 @@
* Authors: Anas Nashif (nashif@suse.de)
* Summary: Handle Package selections and packages
*
- * $Id: software_auto.ycp 61321 2010-03-15 12:26:13Z ug $
+ * $Id: software_auto.ycp 62610 2010-10-12 14:28:59Z lslezak $
*/
{
@@ -19,6 +19,8 @@
import "PackageAI";
import "AutoInstall";
import "SourceManager";
+ import "PackagesUI";
+ import "Popup";
include "autoinstall/dialogs.ycp";
@@ -148,7 +150,7 @@
}
while ( ret == `again )
{
- ret = (symbol)WFM::CallFunction( "inst_packages", [ true, true ] );
+ ret = PackagesUI::RunPackageSelector($["mode" : `searchMode]);
if ( ret == `accept )
ret = `next;
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.19.10/src/dialogs/ask.ycp new/autoyast2-2.20.3/src/dialogs/ask.ycp
--- old/autoyast2-2.19.10/src/dialogs/ask.ycp 2010-05-11 15:11:48.000000000 +0200
+++ new/autoyast2-2.20.3/src/dialogs/ask.ycp 2010-10-12 17:03:25.000000000 +0200
@@ -5,7 +5,7 @@
* Summary: ask for some values in the profile
*
* Changes:
- * $Id: ask.ycp 61995 2010-05-11 13:11:47Z ug $
+ * $Id: ask.ycp 62449 2010-08-30 13:10:22Z ug $
*/
{
@@ -227,8 +227,6 @@
any val = UI::QueryWidget(`id(entry_id), `Value);
if( ask["type"]:"string" == "integer" ) {
val = tointeger((string)val);
- } else if( ask["type"]:"string" == "boolean" ) {
- val = ( (boolean)val ? "true" : "false" );
}
if( ask["password"]:false == true ) {
string pass2 = (string)UI::QueryWidget(`id(`pass2), `Value);
@@ -249,8 +247,13 @@
});
if( file != "" ) {
- if( ! SCR::Write (.target.string, file, sformat("%1",val)) )
- y2milestone("writing answer to %1 failed",file);
+ if( ask["type"]:"string" == "boolean" ) {
+ if( ! SCR::Write (.target.string, file, sformat("%1", ( (boolean)val ? "true" : "false" ))))
+ y2milestone("writing answer to %1 failed",file);
+ } else {
+ if( ! SCR::Write (.target.string, file, sformat("%1",val)) )
+ y2milestone("writing answer to %1 failed",file);
+ }
}
if( script != $[] ) {
string scriptName = script["filename"]:"ask_script.sh";
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.19.10/src/include/autopart.ycp new/autoyast2-2.20.3/src/include/autopart.ycp
--- old/autoyast2-2.19.10/src/include/autopart.ycp 2010-02-22 15:17:13.000000000 +0100
+++ new/autoyast2-2.20.3/src/include/autopart.ycp 2010-10-12 17:03:25.000000000 +0200
@@ -1,7 +1,7 @@
/*
-$Id: autopart.ycp 60940 2010-02-22 14:17:12Z ug $
+$Id: autopart.ycp 62330 2010-08-03 09:35:35Z ug $
*/
{
textdomain "autoinst";
@@ -811,12 +811,18 @@
* extended is not possible and number of requested partitions is less than all
* available primaries and logical slots )
*/
+
+/*
+ // FIXME: bnc#620212 - this test is buggy. Reusing more partitions than the hardware still could create will fail
+ // should be size(ps)-NUM_OF_REUSED
if( size(g["gap"]:[])>0 &&
((g["extended_possible"]:false &&
// size(g["free_pnr"]:[])>0 && // reusing all 4 primaries will fail with this
size(ps)+1 <= size(g["ext_pnr"]:[])+size(g["free_pnr"]:[])) ||
(!g["extended_possible"]:false &&
size(ps) <= size(g["ext_pnr"]:[])+size(g["free_pnr"]:[]))) )
+*/
+ if( size(g["gap"]:[])>0 )
{
map lg = (map) eval(g);
@@ -906,7 +912,16 @@
``{
y2milestone( "start: gap section %1", e );
- if( part["max_cyl"]:0 <= e["end"]:0 &&
+ // speed up partitioning calculation (bnc#620212)
+ boolean reuseCondition = true;
+ if( part["create"]:true == false &&
+ (( haskey( part, "partition_nr" ) && part["partition_nr"]:0 != e["nr"]:0 )) ) {
+ y2milestone("gap can't be used. %1 != %2", part["partition_nr"]:0, e["nr"]:0 );
+ reuseCondition = false;
+ }
+
+ if( reuseCondition &&
+ part["max_cyl"]:0 <= e["end"]:0 &&
part["cylinders"]:0 <= e["cylinders"]:0 &&
(!e["extended"]:false && (size(lg["free_pnr"]:[])>0 || ! creation_needed ) ||
e["extended"]:false && size(lg["ext_pnr"]:[])>0)
@@ -1241,12 +1256,14 @@
foreach( list p, e["added"]:[],
``{
index = p[0]:0;
+ /* bnc#613366 - an existing swap partition can accidently be reused
if( e["exists"]:false && ps[index,"mount"]:""=="swap" &&
e["swap"]:false )
{
ret = ret + 100;
y2milestone( "weight after swap reuse %1", ret );
}
+ */
if( ps[index,"want_cyl"]:0>0 )
{
integer diff = ps[index,"want_cyl"]:0 - p[2]:0;
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.19.10/src/include/io.ycp new/autoyast2-2.20.3/src/include/io.ycp
--- old/autoyast2-2.19.10/src/include/io.ycp 2010-03-10 13:47:15.000000000 +0100
+++ new/autoyast2-2.20.3/src/include/io.ycp 2011-01-04 12:11:17.000000000 +0100
@@ -4,7 +4,7 @@
* Summary: I/O
* Authors: Anas Nashif
*
- * $Id: io.ycp 61227 2010-03-10 12:47:14Z ug $
+ * $Id: io.ycp 63070 2011-01-04 11:11:15Z lslezak $
*/
{
textdomain "autoinst";
@@ -178,8 +178,8 @@
y2milestone("Starting portmap: %1", SCR::Execute (.target.bash, "/sbin/portmap") );
}
- if( !(boolean)SCR::Execute(.target.mount, [ Host + ":" + dirname(Path), mount_point ], "-o nolock" ) &&
- !(boolean)SCR::Execute(.target.mount, [ Host + ":" + dirname(Path), mount_point ], "-t nfs4" ) )
+ if( !(boolean)SCR::Execute(.target.mount, [ Host + ":" + dirname(Path), mount_point ], "-o noatime,nolock" ) &&
+ !(boolean)SCR::Execute(.target.mount, [ Host + ":" + dirname(Path), mount_point ], "-o noatime -t nfs4" ) )
{
y2warning("Mount failed");
// autoyast tried to mount a NFS directory which failed
@@ -210,7 +210,7 @@
else if (Scheme == "cifs") // CIFS
{
if (!(boolean)SCR::Execute(.target.mount,
- [ "//" + Host + dirname(Path), mount_point ], "-t cifs -o guest,ro" ))
+ [ "//" + Host + dirname(Path), mount_point ], "-t cifs -o guest,ro,noatime" ))
{
y2warning("Mount failed");
// autoyast tried to mount a NFS directory which failed
@@ -313,8 +313,8 @@
});
y2milestone("already mounted=%1 mountpoint=%2",already_mounted,mount_point);
if( ! already_mounted &&
- !(boolean)WFM::Execute(.local.mount, [sformat("/dev/%1", Host),
- mount_point]) ) {
+ !(boolean)SCR::Execute(.target.mount, [sformat("/dev/%1", Host),
+ mount_point], "-o noatime") ) {
y2milestone("%1 is not mounted and mount failed", sformat("/dev/%1", Host));
GET_error = sformat(_("%1 is not mounted and mount failed"), sformat("/dev/%1", Host));
continue;
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.19.10/src/include/xml.ycp new/autoyast2-2.20.3/src/include/xml.ycp
--- old/autoyast2-2.19.10/src/include/xml.ycp 2010-02-15 15:48:39.000000000 +0100
+++ new/autoyast2-2.20.3/src/include/xml.ycp 2010-10-12 17:03:25.000000000 +0200
@@ -4,7 +4,7 @@
* Summary: XML handling
* Authors: Anas Nashif
*
- * $Id: xml.ycp 60816 2010-02-15 14:48:39Z ug $
+ * $Id: xml.ycp 62376 2010-08-10 13:13:26Z ug $
*/
{
@@ -99,7 +99,7 @@
"net-udev":"rule"
];
- doc["cdataSections"] = ["source", "info_file", "file_contents", "pxelinux-config", "media_url", "location", "script_source"];
+ doc["cdataSections"] = ["source", "info_file", "file_contents", "pxelinux-config", "location", "script_source"];
// doc["systemID"] = "/usr/share/autoinstall/dtd/profile.dtd";
doc["rootElement"] = "profile";
doc["nameSpace"] = "http://www.suse.com/1.0/yast2ns";
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.19.10/src/modules/AutoinstPartPlan.ycp new/autoyast2-2.20.3/src/modules/AutoinstPartPlan.ycp
--- old/autoyast2-2.19.10/src/modules/AutoinstPartPlan.ycp 2009-10-06 10:27:24.000000000 +0200
+++ new/autoyast2-2.20.3/src/modules/AutoinstPartPlan.ycp 2010-12-27 08:07:51.000000000 +0100
@@ -23,7 +23,7 @@
import "StorageDevices";
import "Storage";
import "Partitions";
-
+ import "Arch";
/**
* The general idea with this moduls is that it manages a single
@@ -507,7 +507,12 @@
});
}
drive["partitions"] = partitions;
- drive["device"] = k;
+ if( Arch::s390() ) {
+ drive["device"] = "/dev/disk/by-path/" + v["udev_path"]:k;
+ y2milestone("s390 found. Setting device to by-path: %1", drive["device"]:"");
+ } else {
+ drive["device"] = k;
+ }
if( v["type"]:`CT_UNKNOWN==`CT_LVM)
{
drive["pesize"] = sformat("%1M", v["pesize"]:1 / (1024*1024) );
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.19.10/src/modules/AutoinstStorage.ycp new/autoyast2-2.20.3/src/modules/AutoinstStorage.ycp
--- old/autoyast2-2.19.10/src/modules/AutoinstStorage.ycp 2010-05-21 11:04:28.000000000 +0200
+++ new/autoyast2-2.20.3/src/modules/AutoinstStorage.ycp 2010-10-12 17:03:26.000000000 +0200
@@ -4,7 +4,7 @@
* Summary: Storage
* Authors: Anas Nashif
*
- * $Id: AutoinstStorage.ycp 62054 2010-05-21 09:04:27Z ug $
+ * $Id: AutoinstStorage.ycp 62344 2010-08-05 08:56:14Z ug $
*/
{
module "AutoinstStorage";
@@ -641,6 +641,8 @@
target_map = Storage::SetPartitionData (target_map, part, "format", p["format"]:false );
target_map = Storage::SetPartitionData (target_map, part, "delete", false);
target_map = Storage::SetPartitionData (target_map, part, "create", false);
+ if( haskey( p, "filesystem" ) )
+ target_map = Storage::SetPartitionData (target_map, part, "filesystem", p["filesystem"]:`ext4);
if( size(mount_options) > 0 && !haskey(p, "fstopt" ) )
target_map = Storage::SetPartitionData (target_map, part, "fstopt", mount_options);
if( haskey(p, "fstopt" ) )
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.19.10/VERSION new/autoyast2-2.20.3/VERSION
--- old/autoyast2-2.19.10/VERSION 2010-05-21 15:06:52.000000000 +0200
+++ new/autoyast2-2.20.3/VERSION 2011-01-04 12:04:27.000000000 +0100
@@ -1 +1 @@
-2.19.10
+2.20.3
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org