Hello community,
here is the log from the commit of package autoyast2 for openSUSE:Factory
checked in at Wed May 20 00:19:30 CEST 2009.
--------
--- autoyast2/autoyast2.changes 2009-05-05 12:50:37.000000000 +0200
+++ autoyast2/autoyast2.changes 2009-05-19 15:45:45.000000000 +0200
@@ -1,0 +2,30 @@
+Mon May 18 16:03:24 CEST 2009 - ug@suse.de
+
+- ask libstorage for the default filesystem instead of hardcoded
+ ext3
+- 2.18.5
+
+-------------------------------------------------------------------
+Mon May 18 12:32:29 CEST 2009 - ug@suse.de
+
+- ZeroNewPartitions is configureable
+
+-------------------------------------------------------------------
+Tue May 12 13:15:43 CEST 2009 - ug@suse.de
+
+- more sophisticated size calculation in LVM code
+ (still requires some fixes for multiple striped LVs)
+- 2.18.4
+
+-------------------------------------------------------------------
+Mon May 11 11:48:22 CEST 2009 - ug@suse.de
+
+- striping documentation added
+
+-------------------------------------------------------------------
+Fri May 8 12:23:52 CEST 2009 - ug@suse.de
+
+- network_needed=true post-scripts can trigger a resolver error
+ (bnc#498993)
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
autoyast2-2.18.3.tar.bz2
New:
----
autoyast2-2.18.5.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ autoyast2.spec ++++++
--- /var/tmp/diff_new_pack.mq6908/_old 2009-05-20 00:18:44.000000000 +0200
+++ /var/tmp/diff_new_pack.mq6908/_new 2009-05-20 00:18:44.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package autoyast2 (Version 2.18.3)
+# spec file for package autoyast2 (Version 2.18.5)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -20,12 +20,12 @@
Url: http://www.suse.de/~ug
Name: autoyast2
-Version: 2.18.3
+Version: 2.18.5
Release: 1
License: GPL v2 or later
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: autoyast2-2.18.3.tar.bz2
+Source0: autoyast2-2.18.5.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-slp yast2-testsuite yast2-transfer
# API for Disabled Modules (ProductControl)
@@ -63,7 +63,7 @@
%package installation
License: GPL v2 or later
-Version: 2.18.3
+Version: 2.18.5
Release: 1
Summary: YaST2 - Auto Installation Modules
Group: System/YaST
@@ -87,7 +87,7 @@
Anas Nashif
%prep
-%setup -n autoyast2-2.18.3
+%setup -n autoyast2-2.18.5
%build
%{prefix}/bin/y2tool y2autoconf
@@ -239,6 +239,21 @@
%dir /var/lib/autoinstall
%dir /var/lib/autoinstall/autoconf
%changelog
+* Mon May 18 2009 ug@suse.de
+- ask libstorage for the default filesystem instead of hardcoded
+ ext3
+- 2.18.5
+* Mon May 18 2009 ug@suse.de
+- ZeroNewPartitions is configureable
+* Tue May 12 2009 ug@suse.de
+- more sophisticated size calculation in LVM code
+ (still requires some fixes for multiple striped LVs)
+- 2.18.4
+* Mon May 11 2009 ug@suse.de
+- striping documentation added
+* Fri May 08 2009 ug@suse.de
+- network_needed=true post-scripts can trigger a resolver error
+ (bnc#498993)
* Tue May 05 2009 ug@suse.de
- keep_install_network docu added (thanx Bubli and Michal)
- 2.18.3
++++++ autoyast2-2.18.3.tar.bz2 -> autoyast2-2.18.5.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/autoyast2-2.18.3/configure new/autoyast2-2.18.5/configure
--- old/autoyast2-2.18.3/configure 2009-05-05 12:39:23.000000000 +0200
+++ new/autoyast2-2.18.5/configure 2009-05-19 15:20:51.000000000 +0200
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.63 for autoyast2 2.18.3.
+# Generated by GNU Autoconf 2.63 for autoyast2 2.18.5.
#
# Report bugs to http://bugs.opensuse.org/.
#
@@ -596,8 +596,8 @@
# Identity of this package.
PACKAGE_NAME='autoyast2'
PACKAGE_TARNAME='autoyast2'
-PACKAGE_VERSION='2.18.3'
-PACKAGE_STRING='autoyast2 2.18.3'
+PACKAGE_VERSION='2.18.5'
+PACKAGE_STRING='autoyast2 2.18.5'
PACKAGE_BUGREPORT='http://bugs.opensuse.org/'
ac_unique_file="RPMNAME"
@@ -1282,7 +1282,7 @@
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures autoyast2 2.18.3 to adapt to many kinds of systems.
+\`configure' configures autoyast2 2.18.5 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1353,7 +1353,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of autoyast2 2.18.3:";;
+ short | recursive ) echo "Configuration of autoyast2 2.18.5:";;
esac
cat <<\_ACEOF
@@ -1433,7 +1433,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-autoyast2 configure 2.18.3
+autoyast2 configure 2.18.5
generated by GNU Autoconf 2.63
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
@@ -1447,7 +1447,7 @@
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by autoyast2 $as_me 2.18.3, which was
+It was created by autoyast2 $as_me 2.18.5, which was
generated by GNU Autoconf 2.63. Invocation command line was
$ $0 $@
@@ -2294,7 +2294,7 @@
# Define the identity of the package.
PACKAGE='autoyast2'
- VERSION='2.18.3'
+ VERSION='2.18.5'
cat >>confdefs.h <<_ACEOF
@@ -2518,7 +2518,7 @@
-VERSION="2.18.3"
+VERSION="2.18.5"
RPMNAME="autoyast2"
MAINTAINER="Uwe Gansert "
@@ -3577,7 +3577,7 @@
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by autoyast2 $as_me 2.18.3, which was
+This file was extended by autoyast2 $as_me 2.18.5, which was
generated by GNU Autoconf 2.63. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -3627,7 +3627,7 @@
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_version="\\
-autoyast2 config.status 2.18.3
+autoyast2 config.status 2.18.5
configured by $0, generated by GNU Autoconf 2.63,
with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/autoyast2-2.18.3/configure.in new/autoyast2-2.18.5/configure.in
--- old/autoyast2-2.18.3/configure.in 2009-05-05 12:39:17.000000000 +0200
+++ new/autoyast2-2.18.5/configure.in 2009-05-19 15:20:47.000000000 +0200
@@ -3,7 +3,7 @@
dnl -- This file is generated by y2autoconf 2.17.6 - DO NOT EDIT! --
dnl (edit configure.in.in instead)
-AC_INIT(autoyast2, 2.18.3, http://bugs.opensuse.org/, autoyast2)
+AC_INIT(autoyast2, 2.18.5, 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.18.3"
+VERSION="2.18.5"
RPMNAME="autoyast2"
MAINTAINER="Uwe Gansert "
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/autoyast2-2.18.3/doc/CreateProfileDetails.xml new/autoyast2-2.18.5/doc/CreateProfileDetails.xml
--- old/autoyast2-2.18.3/doc/CreateProfileDetails.xml 2009-05-05 10:42:29.000000000 +0200
+++ new/autoyast2-2.18.5/doc/CreateProfileDetails.xml 2009-05-11 11:47:39.000000000 +0200
@@ -642,6 +642,26 @@
<entry></entry>
</row>
<row>
+ <entry>stripes</entry>
+ <entry>
+ <para>
+ It's an integer that tells AutoYaST to do LVM striping. You can configure across how man devices you want to stripe
+ </para>
+ <para><screen><stripes config:type="integer">2</stripes></screen></para>
+ </entry>
+ <entry></entry>
+ </row>
+ <row>
+ <entry>stripesize</entry>
+ <entry>
+ <para>
+ It's an integer that tells AutoYaST the size of each block in kb
+ </para>
+ <para><screen><stripesize config:type="integer">4</stripesize></screen></para>
+ </entry>
+ <entry></entry>
+ </row>
+ <row>
<entry>lvm_group</entry>
<entry>
<para>
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/autoyast2-2.18.3/doc/Introduction.xml new/autoyast2-2.18.5/doc/Introduction.xml
--- old/autoyast2-2.18.3/doc/Introduction.xml 2009-01-08 13:34:45.000000000 +0100
+++ new/autoyast2-2.18.5/doc/Introduction.xml 2009-05-12 15:53:55.000000000 +0200
@@ -4,8 +4,8 @@
<para>
&autoyast2; is a system for installing one or more SuSE Linux systems
automatically and without user intervention. &autoyast2; installations
- are performed using a control file with installation and configuration
- data. The control file can be created using the configuration insterface
+ are performed using an autoyast profile with installation and configuration
+ data. That profile can be created using the configuration insterface
of &autoyast2; and can be provided to &yast2; during installation in
different ways.
</para>
@@ -75,7 +75,7 @@
</para>
<para>
&autoyast2; can be used where no user intervention is required or
- where customization is required. Using a control file, &yast2;
+ where customization is required. Using an autoyast profile, &yast2;
prepares the system for a custom installation and avoids any
interaction with the user, unless specified in the file
controling the installation.
@@ -96,8 +96,8 @@
Using &autoyast2;, multiple systems sharing the same environment and
similar but not necesserily identical hardware performing similar
tasks can easily be installed in parallel and in a short time. A
- configuration file (referred to as "control file") is created using
- existing configuration resources. The control file can be easily
+ configuration file (referred to as "autoyast profile") is created using
+ existing configuration resources. The profile file can be easily
tailored for any specific environment.
</para>
@@ -118,14 +118,14 @@
<listitem>
<para>
Preparation: All relevant information about the target system are
- collected and turned into the appropriate directives of the control
- file. The control file is transferred onto the target system where
+ collected and turned into the appropriate directives of the profile.
+ The profile file is transferred onto the target system where
its directives will be parsed and transformed to &yast2; conforming
data. </para>
</listitem>
<listitem>
<para>
- Installation: follows the instructions given in the control file and
+ Installation: follows the instructions given in the profile and
installs the base system.
</para>
</listitem>
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/autoyast2-2.18.3/src/dialogs/partition_dialogs.ycp new/autoyast2-2.18.5/src/dialogs/partition_dialogs.ycp
--- old/autoyast2-2.18.3/src/dialogs/partition_dialogs.ycp 2009-03-31 14:54:22.000000000 +0200
+++ new/autoyast2-2.18.5/src/dialogs/partition_dialogs.ycp 2009-05-18 16:04:18.000000000 +0200
@@ -11,7 +11,7 @@
* Authors:
* Anas Nashif
*
- * $Id: partition_dialogs.ycp 56495 2009-03-31 12:54:01Z ug $
+ * $Id: partition_dialogs.ycp 57236 2009-05-18 14:04:17Z ug $
*/
{
textdomain "autoinst";
@@ -19,6 +19,7 @@
import "Popup";
import "String";
import "AutoinstStorage";
+ import "Partitions";
include "partitioning/custom_part_dialogs.ycp";
include "partitioning/custom_part_helptexts.ycp";
@@ -101,13 +102,13 @@
this_drive = select (filter (map d, partitioning,``(d["device"]:"" == item)),0,$[]);
new_val = $[
"partition_id" : 131,
- "filesystem" : `ext3
+ "filesystem" : Partitions::DefaultFs()
];
drive = item;
}
new_val["fsid"] = new_val["partition_id"]:Partitions::fsid_native;
- new_val["used_fs"] = new_val["filesystem"]:`ext3;
+ new_val["used_fs"] = new_val["filesystem"]:Partitions::DefaultFs();
list<string> vgs = [];
foreach( map d, partitioning, ``{
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/autoyast2-2.18.3/src/include/autopart.ycp new/autoyast2-2.18.5/src/include/autopart.ycp
--- old/autoyast2-2.18.3/src/include/autopart.ycp 2009-05-04 14:29:04.000000000 +0200
+++ new/autoyast2-2.18.5/src/include/autopart.ycp 2009-05-18 16:04:18.000000000 +0200
@@ -1,12 +1,13 @@
/*
-$Id: autopart.ycp 57051 2009-05-04 12:25:37Z aschnell $
+$Id: autopart.ycp 57236 2009-05-18 14:04:17Z ug $
*/
{
textdomain "autoinst";
import "FileSystems";
+ import "Partitions";
import "Arch";
@@ -215,6 +216,7 @@
/**
* Find matching disk
+ * find_matching_disk( ["/dev/sda"], Storage::GetTargetMap(), AutoTargetMap["/dev/sda"] )
*/
define map find_matching_disk( list<string> disks, map target, map conf )
``{
@@ -423,9 +425,9 @@
}
p["mount"] = mount;
if (e["reuse"]:false)
- p["used_fs"] = solution["partitions",pindex,"filesystem"]:p["detected_fs"]:`ext3;
+ p["used_fs"] = solution["partitions",pindex,"filesystem"]:p["detected_fs"]:Partitions::DefaultFs();
else
- p["used_fs"] = solution["partitions",pindex,"filesystem"]:`ext3;
+ p["used_fs"] = solution["partitions",pindex,"filesystem"]:Partitions::DefaultFs();
value = solution["partitions",pindex,"fstopt"]:"";
if( size(value)>0 )
@@ -556,7 +558,7 @@
part["mountby"] = mb;
}
part["used_fs"] =
- solution["partitions",pindex,"filesystem"]:((mount == "swap")?(`swap):(`ext3));
+ solution["partitions",pindex,"filesystem"]:((mount == "swap")?(`swap):(Partitions::DefaultFs()));
value = solution["partitions",pindex,"fstopt"]:"";
if( size(value)>0 )
{
@@ -1479,7 +1481,7 @@
/**
* Collect gap information
- *
+ * get_gap_info( Storage::GetTargetMap()["/dev/sda"], AutoTargetMap["/dev/sda"], false )
*/
define map get_gap_info( map disk, map pd, boolean add_exist_linux )
``{
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/autoyast2-2.18.3/src/modules/AutoinstLVM.ycp new/autoyast2-2.18.5/src/modules/AutoinstLVM.ycp
--- old/autoyast2-2.18.3/src/modules/AutoinstLVM.ycp 2009-04-01 16:23:53.000000000 +0200
+++ new/autoyast2-2.18.5/src/modules/AutoinstLVM.ycp 2009-05-19 15:20:36.000000000 +0200
@@ -4,7 +4,7 @@
* Summary: LVM
* Authors: Anas Nashif
*
- * $Id: AutoinstLVM.ycp 56542 2009-04-01 14:23:30Z ug $
+ * $Id: AutoinstLVM.ycp 57236 2009-05-18 14:04:17Z ug $
*/
{
@@ -20,7 +20,6 @@
include "partitioning/lvm_lv_lib.ycp";
- global boolean ZeroNewPartitions = true;
global map ExistingLVM = $[];
@@ -186,7 +185,7 @@
*/
global define boolean Write () {
y2milestone("entering Write");
- Storage::SetZeroNewPartitions(ZeroNewPartitions);
+ Storage::SetZeroNewPartitions(AutoinstStorage::ZeroNewPartitions);
list lvm_vgs = get_vgs( targetMap );
string current_vg = "";
@@ -224,6 +223,7 @@
});
y2milestone("Existing PVs: %1", new_pvs );
map atm = AutoinstStorage::AutoTargetMap;
+ integer smallest_physical = 0;
foreach(map pv, new_pvs, ``{
if (pv["create"]:false) {
boolean to_add = true;
@@ -238,11 +238,12 @@
});
if( to_add ) {
y2milestone("addPhysicalVolume %1 , %2",pv["device"]:"", current_vg );
+ if( smallest_physical == 0 || pv["size_k"]:0 < smallest_physical )
+ smallest_physical = pv["size_k"]:0;
addPhysicalVolume(targetMap, pv["device"]:"", current_vg );
}
}
});
-
// calculating the "max" for logical volume
map tmp_tm = Storage::GetTargetMap();
integer freeSpace = 0;
@@ -250,6 +251,7 @@
freeSpace = tmp_tm[device,"size_k"]:0;
buffer = tmp_tm[device,"cyl_size"]:0;
buffer = (buffer * 2) / 1024;
+ integer max_counter = 0;
volume_group["partitions"] = maplist( map lv, volume_group["partitions"]:[], ``{
integer s = AutoinstStorage::humanStringToByte( lv["size"]:"10000", true );
@@ -258,6 +260,8 @@
integer integer_k = freeSpace * tointeger(lv["size"]:"0") / 100;
lv["size_k"] = integer_k;
y2milestone("percentage for lv %1. Size_k is %2",lv,integer_k);
+ } else if( lv["size"]:"" == "max" && lv["stripes"]:0 <= 1 ) {
+ max_counter = max_counter + 1;
}
return lv;
});
@@ -271,8 +275,16 @@
foreach(map lv, volume_group["partitions"]:[], ``{
if( lv["size_k"]:0 == 0 && freeSpace > 0 ) {
// if "max" calculation is turned on for the LV
- lv["size_k"] = freeSpace;
- lv["size"] = sformat("%1K",freeSpace);
+ if( lv["stripes"]:0 > 1 ) {
+ lv["size_k"] = smallest_physical * lv["stripes"]:1;
+ lv["size"] = sformat("%1K",smallest_physical * lv["stripes"]:1);
+ freeSpace = freeSpace - lv["size_k"]:0;
+ smallest_physical = 0;
+ y2milestone("max-config for striped LV found. Setting size to %1", lv["size"]:"0");
+ } else {
+ lv["size_k"] = freeSpace / max_counter;
+ lv["size"] = sformat("%1K",freeSpace);
+ }
}
y2milestone("size_k before rounding %1",lv["size_k"]:0);
lv["size_k"] = (integer)( (lv["size_k"]:0*1024) / pesize ) * pesize / 1024; // rounding
@@ -288,7 +300,7 @@
y2milestone("lv = %1",lv);
lv["device"] = "/dev/"+vgname+"/"+lv["lv_name"]:"";
- lv["used_fs"] = this_lv["used_fs"]:`ext3;
+ lv["used_fs"] = this_lv["used_fs"]:Partitions::DefaultFs();
map lvret = $[];
if (lv["resize"]:false ) {
@@ -300,7 +312,7 @@
"fstype" : "LV",
"nr" : lv["nr"]:"",
"mount" : lv["mount"]:"" ,
- "used_fs" : this_lv["used_fs"]:`ext3,
+ "used_fs" : this_lv["used_fs"]:Partitions::DefaultFs(),
"format" : lv["format"]:false ,
"device" : lv["device"]:""
];
@@ -313,7 +325,7 @@
}
targetMap = lvret["targets"]:targetMap;
} else if ( lv["create"]:true ) {
- lv["used_fs"] = lv["filesystem"]:`ext3;
+ lv["used_fs"] = lv["filesystem"]:Partitions::DefaultFs();
lv["create"] = true;
lv["format"] = lv["format"]:true;
lv["device"] = "/dev/" + current_vg + "/" + lv["name"]:"";
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/autoyast2-2.18.3/src/modules/AutoinstPartition.ycp new/autoyast2-2.18.5/src/modules/AutoinstPartition.ycp
--- old/autoyast2-2.18.3/src/modules/AutoinstPartition.ycp 2009-04-14 15:18:12.000000000 +0200
+++ new/autoyast2-2.18.5/src/modules/AutoinstPartition.ycp 2009-05-18 15:42:18.000000000 +0200
@@ -36,7 +36,7 @@
"uuid" : "",
"size" : "10G",
"format" : true,
- "filesystem" : `ext3,
+ "filesystem" : Partitions::DefaultFs(),
"partition_nr" : 1,
"partition_id" : 131,
"mountby" : `device,
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/autoyast2-2.18.3/src/modules/AutoinstPartPlan.ycp new/autoyast2-2.18.5/src/modules/AutoinstPartPlan.ycp
--- old/autoyast2-2.18.3/src/modules/AutoinstPartPlan.ycp 2009-04-01 16:23:08.000000000 +0200
+++ new/autoyast2-2.18.5/src/modules/AutoinstPartPlan.ycp 2009-05-18 15:42:48.000000000 +0200
@@ -449,7 +449,7 @@
// detected_fs!
if (haskey(pe,"used_fs") && pe["fsid"]:0 != 253)
{
- new_pe["filesystem"] = pe["used_fs"]:`ext3;
+ new_pe["filesystem"] = pe["used_fs"]:Partitions::DefaultFs();
new_pe["format"] = new_pe["format"]:pe["format"]:true;
}
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/autoyast2-2.18.3/src/modules/AutoinstScripts.ycp new/autoyast2-2.18.5/src/modules/AutoinstScripts.ycp
--- old/autoyast2-2.18.3/src/modules/AutoinstScripts.ycp 2009-04-03 13:26:53.000000000 +0200
+++ new/autoyast2-2.18.5/src/modules/AutoinstScripts.ycp 2009-05-08 12:24:58.000000000 +0200
@@ -4,7 +4,7 @@
* Summary: Custom scripts
* Authors: Anas Nashif
*
- * $Id: AutoinstScripts.ycp 56616 2009-04-03 11:26:27Z ug $
+ * $Id: AutoinstScripts.ycp 57105 2009-05-08 10:24:57Z ug $
*/
{
@@ -709,9 +709,10 @@
}
else
{
- // disable all sources and finish target
- Pkg::SourceFinishAll();
- Pkg::TargetFinish();
+ // disable all sources and finish target - no clue what this is good for.
+ // triggers an error with post-script network_needed=true
+// Pkg::SourceFinishAll();
+// Pkg::TargetFinish();
scriptPath = sformat("%1/%2", AutoinstConfig::scripts_dir, scriptName);
y2milestone("Writing script into %1", scriptPath);
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/autoyast2-2.18.3/src/modules/AutoinstStorage.ycp new/autoyast2-2.18.5/src/modules/AutoinstStorage.ycp
--- old/autoyast2-2.18.3/src/modules/AutoinstStorage.ycp 2009-03-31 15:51:28.000000000 +0200
+++ new/autoyast2-2.18.5/src/modules/AutoinstStorage.ycp 2009-05-19 15:43:01.000000000 +0200
@@ -4,7 +4,7 @@
* Summary: Storage
* Authors: Anas Nashif
*
- * $Id: AutoinstStorage.ycp 56504 2009-03-31 13:48:16Z locilka $
+ * $Id: AutoinstStorage.ycp 57227 2009-05-18 10:33:30Z ug $
*/
{
module "AutoinstStorage";
@@ -28,6 +28,7 @@
// Read existing fstab and format partitions, but dont create anything
// Use same mountpoints etc.
global boolean read_fstab = false;
+ global boolean ZeroNewPartitions = true;
// Fstab options
global map fstab = $[];
@@ -728,8 +729,12 @@
foreach (string device, map data, AutoTargetMap,
``{
+ if( !haskey( Storage::GetTargetMap(), device ) )
+ y2milestone("device %1 not found in TargetMap", device);
+
if ( Storage::IsRealDisk( data) )
{
+ ZeroNewPartitions = data["zero_new_partitions"]:true; // that's not really nice. Just an undocumented fallback which should never be used
y2milestone("Creating partition plans for %1", device);
map sol = find_matching_disk([device], Storage::GetTargetMap(), data );
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/autoyast2-2.18.3/VERSION new/autoyast2-2.18.5/VERSION
--- old/autoyast2-2.18.3/VERSION 2009-05-05 12:39:14.000000000 +0200
+++ new/autoyast2-2.18.5/VERSION 2009-05-19 15:04:49.000000000 +0200
@@ -1 +1 @@
-2.18.3
+2.18.5
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org