Hello community,
here is the log from the commit of package autoyast2 for openSUSE:Factory
checked in at Thu Apr 2 16:06:04 CEST 2009.
--------
--- autoyast2/autoyast2.changes 2009-02-16 11:53:30.000000000 +0100
+++ autoyast2/autoyast2.changes 2009-04-02 15:58:12.542501000 +0200
@@ -1,0 +2,42 @@
+Wed Apr 1 16:11:08 CEST 2009 - ug@suse.de
+
+- storage lib compatibility with "used_by"
+- 2.18.2
+
+-------------------------------------------------------------------
+Tue Mar 31 15:38:16 CEST 2009 - locilka@suse.cz
+
+- Adapted to RootPart API cleanup.
+
+-------------------------------------------------------------------
+Tue Mar 31 14:53:33 CEST 2009 - ug@suse.de
+
+- default filesystem changed to ext3 (bnc#490389)
+
+-------------------------------------------------------------------
+Thu Mar 26 15:28:13 CET 2009 - ug@suse.de
+
+- bootloader docu updated
+
+-------------------------------------------------------------------
+Wed Mar 18 12:05:42 CET 2009 - ug@suse.de
+
+- autoyast fails to add add-on product with iso image (bnc#484735)
+- post-scripts documentation fixed
+
+-------------------------------------------------------------------
+Mon Mar 2 13:44:23 CET 2009 - ug@suse.de
+
+- software RAID cloning fixed (bnc#480690)
+
+-------------------------------------------------------------------
+Wed Feb 25 17:08:20 CET 2009 - ug@suse.de
+
+- very old LVM and RAID code dropped
+
+-------------------------------------------------------------------
+Wed Feb 18 11:00:34 CET 2009 - ug@suse.de
+
+- Classes did not work without Rules anymore (bnc#476456)
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
autoyast2-2.18.1.tar.bz2
New:
----
autoyast2-2.18.2.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ autoyast2.spec ++++++
--- /var/tmp/diff_new_pack.CPa632/_old 2009-04-02 16:04:44.000000000 +0200
+++ /var/tmp/diff_new_pack.CPa632/_new 2009-04-02 16:04:44.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package autoyast2 (Version 2.18.1)
+# spec file for package autoyast2 (Version 2.18.2)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -20,16 +20,18 @@
Url: http://www.suse.de/~ug
Name: autoyast2
-Version: 2.18.1
+Version: 2.18.2
Release: 1
License: GPL v2 or later
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: autoyast2-2.18.1.tar.bz2
+Source0: autoyast2-2.18.2.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 yast2-update
+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)
BuildRequires: yast2 >= 2.16.36
+# After API cleanup
+BuildRequires: yast2-update >= 2.18.3
Requires: yast2 >= 2.16.36
Requires: yast2-core yast2-xml libxslt
Requires: autoyast2-installation = %{version}
@@ -61,13 +63,15 @@
%package installation
License: GPL v2 or later
-Version: 2.18.1
+Version: 2.18.2
Release: 1
Summary: YaST2 - Auto Installation Modules
Group: System/YaST
# API for Disabled Modules (ProductControl)
Requires: yast2 >= 2.16.36
-Requires: yast2-xml yast2-core yast2 yast2-country yast2-mouse yast2-packager yast2-storage yast2-transfer yast2-update
+# After API cleanup
+Requires: yast2-update >= 2.18.3
+Requires: yast2-xml yast2-core yast2 yast2-country yast2-mouse yast2-packager yast2-storage yast2-transfer
Provides: yast2-trans-autoinst
Obsoletes: yast2-trans-autoinst
@@ -83,7 +87,7 @@
Anas Nashif
%prep
-%setup -n autoyast2-2.18.1
+%setup -n autoyast2-2.18.2
%build
%{prefix}/bin/y2tool y2autoconf
@@ -235,6 +239,24 @@
%dir /var/lib/autoinstall
%dir /var/lib/autoinstall/autoconf
%changelog
+* Wed Apr 01 2009 ug@suse.de
+- storage lib compatibility with "used_by"
+- 2.18.2
+* Tue Mar 31 2009 locilka@suse.cz
+- Adapted to RootPart API cleanup.
+* Tue Mar 31 2009 ug@suse.de
+- default filesystem changed to ext3 (bnc#490389)
+* Thu Mar 26 2009 ug@suse.de
+- bootloader docu updated
+* Wed Mar 18 2009 ug@suse.de
+- autoyast fails to add add-on product with iso image (bnc#484735)
+- post-scripts documentation fixed
+* Mon Mar 02 2009 ug@suse.de
+- software RAID cloning fixed (bnc#480690)
+* Wed Feb 25 2009 ug@suse.de
+- very old LVM and RAID code dropped
+* Wed Feb 18 2009 ug@suse.de
+- Classes did not work without Rules anymore (bnc#476456)
* Mon Feb 16 2009 ug@suse.de
- patch from Arvin applied to cleanup some storage code
- 2.18.1
@@ -1166,7 +1188,7 @@
- Install profile-misc.rnc
- Cut down partitioning.rnc to make it compile.
- 2.13.1
-* Thu Sep 29 2005 ug@suse.de
+* Fri Sep 30 2005 ug@suse.de
- Added RNC for rules and classes
- If no repartitioning is need and just some
partitions are formatted, autoyast fails.
@@ -1307,7 +1329,7 @@
- ComputeKernelPackages moved to Kernel.ycp
* Tue Aug 31 2004 nashif@suse.de
- merged proofread messages
-* Mon Aug 30 2004 nashif@suse.de
+* Tue Aug 31 2004 nashif@suse.de
- use modified flag (#43904) in auto clients
* Thu Aug 26 2004 nashif@suse.de
- Export and Import configurations globally and not on a module basis
@@ -1395,7 +1417,7 @@
* Fri Apr 02 2004 nashif@suse.de
- Adapted to use new wizard
- Change license to GPL
-* Thu Apr 01 2004 nashif@suse.de
+* Fri Apr 02 2004 nashif@suse.de
- retrieve all cap mac address file (#37980 )
- restart the control file retrieval process from scratch (#37980 )
* Thu Apr 01 2004 nashif@suse.de
@@ -1760,7 +1782,7 @@
* Sat Sep 07 2002 mvidner@suse.cz
- Include /etc/autoinstall/ (#18865).
- 2.6.25
-* Thu Sep 05 2002 nashif@suse.de
+* Fri Sep 06 2002 nashif@suse.de
- Fixed to create ISO images again, using latest package manager rlease
- 2.6.24
* Thu Sep 05 2002 nashif@suse.de
@@ -1891,7 +1913,7 @@
* Wed Mar 27 2002 nashif@suse.de
- Through fix for #15430, runme_at_boot is not deleted in autoinst mode (inst_root is
not called in autoinst mode). Remove runme_at_boot here
-* Tue Mar 26 2002 nashif@suse.de
+* Wed Mar 27 2002 nashif@suse.de
- handle default behaviour (distinguish between medium root and installation
root)
* Tue Mar 26 2002 nashif@suse.de
@@ -1932,7 +1954,7 @@
- use Language::language instead of Installation::Language
- Set selection to Minimal if nothing is declared
- Check for configured X11 correctly
-* Mon Feb 18 2002 nashif@suse.de
+* Tue Feb 19 2002 nashif@suse.de
- use network data from installMap instead of scr
- doc updates
* Wed Feb 13 2002 nashif@suse.de
@@ -1992,5 +2014,5 @@
- Split module to installation and configuration parts
* Mon Nov 19 2001 nashif@suse.de
- Fix lookup defaults
-* Sun Oct 21 2001 nashif@suse.de
+* Mon Oct 22 2001 nashif@suse.de
- initial version
++++++ autoyast2-2.18.1.tar.bz2 -> autoyast2-2.18.2.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/autoyast2-2.18.1/configure new/autoyast2-2.18.2/configure
--- old/autoyast2-2.18.1/configure 2009-02-16 11:43:57.000000000 +0100
+++ new/autoyast2-2.18.2/configure 2009-04-02 15:57:42.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.1.
+# Generated by GNU Autoconf 2.63 for autoyast2 2.18.2.
#
# 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.1'
-PACKAGE_STRING='autoyast2 2.18.1'
+PACKAGE_VERSION='2.18.2'
+PACKAGE_STRING='autoyast2 2.18.2'
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.1 to adapt to many kinds of systems.
+\`configure' configures autoyast2 2.18.2 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.1:";;
+ short | recursive ) echo "Configuration of autoyast2 2.18.2:";;
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.1
+autoyast2 configure 2.18.2
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.1, which was
+It was created by autoyast2 $as_me 2.18.2, 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.1'
+ VERSION='2.18.2'
cat >>confdefs.h <<_ACEOF
@@ -2518,7 +2518,7 @@
-VERSION="2.18.1"
+VERSION="2.18.2"
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.1, which was
+This file was extended by autoyast2 $as_me 2.18.2, 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.1
+autoyast2 config.status 2.18.2
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.1/configure.in new/autoyast2-2.18.2/configure.in
--- old/autoyast2-2.18.1/configure.in 2009-02-16 11:43:51.000000000 +0100
+++ new/autoyast2-2.18.2/configure.in 2009-04-02 15:57:37.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.1, http://bugs.opensuse.org/, autoyast2)
+AC_INIT(autoyast2, 2.18.2, 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.1"
+VERSION="2.18.2"
RPMNAME="autoyast2"
MAINTAINER="Uwe Gansert "
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/autoyast2-2.18.1/doc/CreateProfileDetails.xml new/autoyast2-2.18.2/doc/CreateProfileDetails.xml
--- old/autoyast2-2.18.1/doc/CreateProfileDetails.xml 2009-01-30 16:22:21.000000000 +0100
+++ new/autoyast2-2.18.2/doc/CreateProfileDetails.xml 2009-03-26 15:25:26.000000000 +0100
@@ -317,7 +317,34 @@
<para>yaboot</para>
</listitem>
</itemizedlist>
-
+ <para>
+Here are some important options for handling the content of the MBR:
+<itemizedlist>
+ <listitem>
+ <para><boot_mbr> means write GRUB stage1 to MBR (if it is true)</para>
+ </listitem>
+ <listitem>
+ <para><generic_mbr> means write generic boot code to MBR (if it is true)</para>
+ </listitem>
+ <listitem>
+ <para><activate> set boot flag to boot or root partition (if it is true) it depends on partitioning of disk and moinpoints</para>
+ </listitem>
+ </itemizedlist>
+If you want to disable the overwriting of the MBR set <boot_mbr> and <generic_mbr> to false:
+<screen>
+<bootloader>
+ ....
+ <global>
+ <activate>true</activate>
+ <generic_mbr>false</generic_mbr>
+ <boot_mbr>false</boot_mbr>
+ </global>
+ ....
+</bootloader>
+</screen>
+If <activate> is true the boot flag is changed to the boot or root partition.
+If the boot partition is missing and root partition is on a logical partition, the boot flag will be set to extended partition.
+ </para>
</section>
<section id="CreateProfile.Partitioning">
@@ -2214,10 +2241,6 @@
These scripts are executed after AutoYaST has completed the
system configuration and after it has booted the system for the first time.
</para>
- <para>Starting from SLES9, network is not available during
- post-installation script execution. To access the network, network
- device has to be configured in the script.
- </para>
<para>
It is possible to execute the post scripts in an earlier phase while
the installation network is still up and before AutoYaST configures
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/autoyast2-2.18.1/doc/examples/example.generalOptions.xml new/autoyast2-2.18.2/doc/examples/example.generalOptions.xml
--- old/autoyast2-2.18.1/doc/examples/example.generalOptions.xml 2008-10-28 15:31:05.000000000 +0100
+++ new/autoyast2-2.18.2/doc/examples/example.generalOptions.xml 2009-03-11 17:13:00.000000000 +0100
@@ -15,12 +15,12 @@
false
false
<confirm config:type="boolean">true</confirm>
- true
+ true
</mode>
<proposals config:type="list"> <!-- since 11.1 -->
<proposal>partitions_proposal</proposal>
</proposals>
- <wait> <!-- sinc 11.1 / SLES11 -->
+ <wait> <!-- since 11.1 / SLES11 -->
<pre-modules config:type="list">
<module>
<name>networking</name>
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/autoyast2-2.18.1/doc/RulesAndClasses.xml new/autoyast2-2.18.2/doc/RulesAndClasses.xml
--- old/autoyast2-2.18.1/doc/RulesAndClasses.xml 2007-05-21 12:26:33.000000000 +0200
+++ new/autoyast2-2.18.2/doc/RulesAndClasses.xml 2009-02-26 09:57:44.000000000 +0100
@@ -395,7 +395,7 @@
<entry>mac</entry>
<entry>MAC address of host</entry>
<entry>This attribute must always match exactly. (MAC addresses
- to be matched should be in the form <emphasis>0080C8F6484C</emphasis></entry>
+ to be matched should be in the form <emphasis>0080c8f6484c</emphasis></entry>
</row>
<row>
<entry>linux</entry>
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/autoyast2-2.18.1/src/clients/inst_autosetup.ycp new/autoyast2-2.18.2/src/clients/inst_autosetup.ycp
--- old/autoyast2-2.18.1/src/clients/inst_autosetup.ycp 2008-11-12 12:40:21.000000000 +0100
+++ new/autoyast2-2.18.2/src/clients/inst_autosetup.ycp 2009-02-16 12:29:51.000000000 +0100
@@ -5,7 +5,7 @@
* Authors: Anas Nashif
* Uwe Gansert
*
- * $Id: inst_autosetup.ycp 53193 2008-11-12 11:40:21Z ug $
+ * $Id: inst_autosetup.ycp 55528 2009-02-16 11:29:50Z ug $
*/
{
@@ -166,14 +166,11 @@
//
Progress::NextStep();
Progress::Title(_("Configuring language..."));
- y2milestone("UWE0 %1", Profile::current );
- y2milestone("UWE %1", Profile::current["language"]:$[] );
Language::Import( Profile::current["language"]:$[] );
//
// Set Console font
//
- y2milestone("UWE2 %1", Language::language );
Installation::encoding = Console::SelectFont( Language::language );
if (displayinfo["HasFullUtf8Support"]:true)
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/autoyast2-2.18.1/src/dialogs/partition_dialogs.ycp new/autoyast2-2.18.2/src/dialogs/partition_dialogs.ycp
--- old/autoyast2-2.18.1/src/dialogs/partition_dialogs.ycp 2009-02-16 11:08:45.000000000 +0100
+++ new/autoyast2-2.18.2/src/dialogs/partition_dialogs.ycp 2009-03-31 14:54:22.000000000 +0200
@@ -11,7 +11,7 @@
* Authors:
* Anas Nashif
*
- * $Id: partition_dialogs.ycp 55484 2009-02-12 20:46:31Z aschnell $
+ * $Id: partition_dialogs.ycp 56495 2009-03-31 12:54:01Z ug $
*/
{
textdomain "autoinst";
@@ -101,13 +101,13 @@
this_drive = select (filter (map d, partitioning,``(d["device"]:"" == item)),0,$[]);
new_val = $[
"partition_id" : 131,
- "filesystem" : `reiser
+ "filesystem" : `ext3
];
drive = item;
}
new_val["fsid"] = new_val["partition_id"]:Partitions::fsid_native;
- new_val["used_fs"] = new_val["filesystem"]:`reiser;
+ new_val["used_fs"] = new_val["filesystem"]:`ext3;
list<string> vgs = [];
foreach( map d, partitioning, ``{
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/autoyast2-2.18.1/src/include/autopart.ycp new/autoyast2-2.18.2/src/include/autopart.ycp
--- old/autoyast2-2.18.1/src/include/autopart.ycp 2009-02-16 11:08:45.000000000 +0100
+++ new/autoyast2-2.18.2/src/include/autopart.ycp 2009-03-31 14:54:22.000000000 +0200
@@ -1,7 +1,7 @@
/*
-$Id: autopart.ycp 55484 2009-02-12 20:46:31Z aschnell $
+$Id: autopart.ycp 56495 2009-03-31 12:54:01Z ug $
*/
{
textdomain "autoinst";
@@ -422,9 +422,9 @@
}
p["mount"] = mount;
if (e["reuse"]:false)
- p["used_fs"] = solution["partitions",pindex,"filesystem"]:p["detected_fs"]:`reiser;
+ p["used_fs"] = solution["partitions",pindex,"filesystem"]:p["detected_fs"]:`ext3;
else
- p["used_fs"] = solution["partitions",pindex,"filesystem"]:`reiser;
+ p["used_fs"] = solution["partitions",pindex,"filesystem"]:`ext3;
value = solution["partitions",pindex,"fstopt"]:"";
if( size(value)>0 )
@@ -555,7 +555,7 @@
part["mountby"] = mb;
}
part["used_fs"] =
- solution["partitions",pindex,"filesystem"]:((mount == "swap")?(`swap):(`reiser));
+ solution["partitions",pindex,"filesystem"]:((mount == "swap")?(`swap):(`ext3));
value = solution["partitions",pindex,"fstopt"]:"";
if( size(value)>0 )
{
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/autoyast2-2.18.1/src/include/xml.ycp new/autoyast2-2.18.2/src/include/xml.ycp
--- old/autoyast2-2.18.1/src/include/xml.ycp 2008-11-13 15:15:49.000000000 +0100
+++ new/autoyast2-2.18.2/src/include/xml.ycp 2009-03-18 12:06:59.000000000 +0100
@@ -4,7 +4,7 @@
* Summary: XML handling
* Authors: Anas Nashif
*
- * $Id: xml.ycp 53278 2008-11-13 14:15:48Z ug $
+ * $Id: xml.ycp 56202 2009-03-18 11:06:59Z ug $
*/
{
@@ -99,7 +99,7 @@
"net-udev":"rule"
];
- doc["cdataSections"] = ["source", "info_file", "file_contents", "pxelinux-config"];
+ doc["cdataSections"] = ["source", "info_file", "file_contents", "pxelinux-config", "media_url"];
// 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 old/autoyast2-2.18.1/src/modules/AutoInstallRules.ycp new/autoyast2-2.18.2/src/modules/AutoInstallRules.ycp
--- old/autoyast2-2.18.1/src/modules/AutoInstallRules.ycp 2007-05-21 12:26:37.000000000 +0200
+++ new/autoyast2-2.18.2/src/modules/AutoInstallRules.ycp 2009-04-01 13:27:53.000000000 +0200
@@ -4,7 +4,7 @@
* Summary: Process Auto-Installation Rules
* Author: Anas Nashif
*
- * $Id: AutoInstallRules.ycp 35825 2007-02-02 11:20:54Z ug $
+ * $Id: AutoInstallRules.ycp 56527 2009-04-01 11:27:30Z ug $
*/
{
@@ -708,6 +708,7 @@
MergeCommand = MergeCommand + " /usr/share/autoinstall/xslt/merge.xslt ";
MergeCommand = MergeCommand + base_profile + " ";
+ y2milestone("Merge command: %1", MergeCommand);
map xsltret = (map)SCR::Execute(.target.bash_output, MergeCommand);
y2milestone("Merge result: %1", xsltret);
if (xsltret["exit"]:-1 != 0 || xsltret["stderr"]:"" != "")
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/autoyast2-2.18.1/src/modules/AutoinstLVM.ycp new/autoyast2-2.18.2/src/modules/AutoinstLVM.ycp
--- old/autoyast2-2.18.1/src/modules/AutoinstLVM.ycp 2009-02-16 11:43:11.000000000 +0100
+++ new/autoyast2-2.18.2/src/modules/AutoinstLVM.ycp 2009-04-01 16:23:53.000000000 +0200
@@ -4,7 +4,7 @@
* Summary: LVM
* Authors: Anas Nashif
*
- * $Id: AutoinstLVM.ycp 55393 2009-02-10 14:18:27Z ug $
+ * $Id: AutoinstLVM.ycp 56542 2009-04-01 14:23:30Z ug $
*/
{
@@ -171,7 +171,7 @@
// all possible PVs on all available devices
list<map> all_possible_pvs = filter( map part, get_possible_pvs( Storage::GetTargetMap() ),
- ``( ((part["used_by"]:"" == vgname && part["used_by_type"]:`UB_NONE == usedBy ) ||
+ ``( ((part["used_by_device"]:"" == "/dev/"+vgname && part["used_by_type"]:`UB_NONE == usedBy ) ||
part["used_by_type"]:`UB_NONE == `UB_NONE) && !part["delete"]:false ));
y2milestone("all pvs= %1", all_possible_pvs);
@@ -288,7 +288,7 @@
y2milestone("lv = %1",lv);
lv["device"] = "/dev/"+vgname+"/"+lv["lv_name"]:"";
- lv["used_fs"] = this_lv["used_fs"]:`reiser;
+ lv["used_fs"] = this_lv["used_fs"]:`ext3;
map lvret = $[];
if (lv["resize"]:false ) {
@@ -300,7 +300,7 @@
"fstype" : "LV",
"nr" : lv["nr"]:"",
"mount" : lv["mount"]:"" ,
- "used_fs" : this_lv["used_fs"]:`reiser,
+ "used_fs" : this_lv["used_fs"]:`ext3,
"format" : lv["format"]:false ,
"device" : lv["device"]:""
];
@@ -313,7 +313,7 @@
}
targetMap = lvret["targets"]:targetMap;
} else if ( lv["create"]:true ) {
- lv["used_fs"] = lv["filesystem"]:`reiser;
+ lv["used_fs"] = lv["filesystem"]:`ext3;
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.1/src/modules/AutoinstPartition.ycp new/autoyast2-2.18.2/src/modules/AutoinstPartition.ycp
--- old/autoyast2-2.18.1/src/modules/AutoinstPartition.ycp 2008-11-10 16:26:52.000000000 +0100
+++ new/autoyast2-2.18.2/src/modules/AutoinstPartition.ycp 2009-03-02 13:22:36.000000000 +0100
@@ -43,6 +43,9 @@
"resize" : false,
"lv_name" : "",
"lvm_group" : "",
+ "raid_name" : "",
+ "raid_type" : "",
+ "raid_options" : $[]
];
define map allfs = $[];
@@ -213,6 +216,13 @@
else if( "swap" == newPart["mount"]:"" ){
newPart = set( newPart, "partition_id", 130 );
}
+ if( haskey( part, "raid_name" ) ) {
+ newPart = set( newPart, "raid_name", part["raid_name"]:"" );
+ newPart = set( newPart, "raid_type", part["raid_type"]:"raid0" );
+ }
+ if( haskey( part, "raid_options" ) ) {
+ newPart = set( newPart, "raid_options", part["raid_options"]:$[] );
+ }
return newPart;
}
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/autoyast2-2.18.1/src/modules/AutoinstPartPlan.ycp new/autoyast2-2.18.2/src/modules/AutoinstPartPlan.ycp
--- old/autoyast2-2.18.1/src/modules/AutoinstPartPlan.ycp 2009-01-12 12:41:45.000000000 +0100
+++ new/autoyast2-2.18.2/src/modules/AutoinstPartPlan.ycp 2009-04-01 16:23:08.000000000 +0200
@@ -430,7 +430,7 @@
// LVM Group
if (haskey(pe,"used_by_type") && pe["used_by_type"]:`nothing == `UB_LVM)
{
- new_pe["lvm_group"] = pe["used_by"]:"";
+ new_pe["lvm_group"] = substring(pe["used_by_device"]:"", 5);
}
// LV
@@ -441,7 +441,7 @@
}
if (haskey(pe,"used_by_type") && pe["used_by_type"]:`nothing == `UB_MD)
{
- new_pe["raid_name"] = "/dev/"+pe["used_by"]:"";
+ new_pe["raid_name"] = pe["used_by_device"]:"";
}
// Used Filesystem
@@ -449,7 +449,7 @@
// detected_fs!
if (haskey(pe,"used_fs") && pe["fsid"]:0 != 253)
{
- new_pe["filesystem"] = pe["used_fs"]:`reiser;
+ new_pe["filesystem"] = pe["used_fs"]:`ext3;
new_pe["format"] = new_pe["format"]:pe["format"]:true;
}
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/autoyast2-2.18.1/src/modules/AutoinstStorage.ycp new/autoyast2-2.18.2/src/modules/AutoinstStorage.ycp
--- old/autoyast2-2.18.1/src/modules/AutoinstStorage.ycp 2009-02-16 11:08:45.000000000 +0100
+++ new/autoyast2-2.18.2/src/modules/AutoinstStorage.ycp 2009-03-31 15:51:28.000000000 +0200
@@ -4,7 +4,7 @@
* Summary: Storage
* Authors: Anas Nashif
*
- * $Id: AutoinstStorage.ycp 55484 2009-02-12 20:46:31Z aschnell $
+ * $Id: AutoinstStorage.ycp 56504 2009-03-31 13:48:16Z locilka $
*/
{
module "AutoinstStorage";
@@ -20,6 +20,7 @@
import "Popup";
import "Report";
import "Mode";
+ import "Installation";
// All shared data are in yast2.rpm to break cyclic dependencies
import "AutoinstData";
@@ -578,6 +579,52 @@
return summary;
}
+ // Moved here from RootPart module (used just by this module)
+ global define boolean SetFormatPartitions (list<map> fstabpart)
+ {
+ // All storage devices
+ map target_map = Storage::GetTargetMap ();
+
+ // all activated
+ list <map> tmp = filter (map e, RootPart::GetActivated(), {
+ return (e[`type]:"" == "mount" || e[`type]:"" == "swap");
+ });
+
+ foreach (map e, tmp, {
+ string mntpt = (e[`type]:"" == "swap")?("swap"):(e[`mntpt]:"");
+ string part = e[`device]:"";
+
+ map p = $[];
+ foreach (map pp, fstabpart, {
+ // mountpoint matches
+ if (pp["mount"]:"" == mntpt) {
+ p = pp;
+ break;
+ }
+ });
+ string mount_options = "";
+ foreach (map entry, (list <map>) Storage::ReadFstab (Installation::destdir), {
+ if( entry["file"]:"" == mntpt ) {
+ mount_options = entry["mntops"]:"";
+ break;
+ }
+ });
+ target_map = Storage::SetPartitionData (target_map, part, "mount", mntpt );
+ 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( size(mount_options) > 0 && !haskey(p, "fstopt" ) )
+ target_map = Storage::SetPartitionData (target_map, part, "fstopt", mount_options);
+ if( haskey(p, "fstopt" ) )
+ target_map = Storage::SetPartitionData (target_map, part, "fstopt", p["fstopt"]:"");
+ if( haskey( p, "mountby" ) )
+ target_map = Storage::SetPartitionData (target_map, part, "mountby", p["mountby"]:`device);
+ });
+
+ Storage::SetTargetMap (target_map);
+ return true;
+ }
+
/**
* Handle /etc/fstab usage
* @return boolean
@@ -623,7 +670,7 @@
}
RootPart::MountPartitions(RootPart::selectedRootPartition);
- RootPart::SetFormatPartitions (fstab_partitions);
+ SetFormatPartitions (fstab_partitions);
RootPart::UnmountPartitions (true);
return true;
}
@@ -795,5 +842,7 @@
}
+
+
// EOF
}
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/autoyast2-2.18.1/src/modules/ProfileLocation.ycp new/autoyast2-2.18.2/src/modules/ProfileLocation.ycp
--- old/autoyast2-2.18.1/src/modules/ProfileLocation.ycp 2009-02-09 12:19:37.000000000 +0100
+++ new/autoyast2-2.18.2/src/modules/ProfileLocation.ycp 2009-02-18 11:14:53.000000000 +0100
@@ -4,7 +4,7 @@
* Summary: Process Auto-Installation Location
* Author: Anas Nashif
*
- * $Id: ProfileLocation.ycp 55337 2009-02-09 11:19:36Z ug $
+ * $Id: ProfileLocation.ycp 55578 2009-02-18 10:14:53Z ug $
*/
{
module "ProfileLocation";
@@ -177,8 +177,8 @@
}
else
{
-// try_default_rules = true;
- try_default_rules = is_directory;
+ // required for classes too. Without it, they only work with rules together
+ try_default_rules = true;
}
// Hex IP, MAC Address.
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/autoyast2-2.18.1/src/modules/Profile.ycp new/autoyast2-2.18.2/src/modules/Profile.ycp
--- old/autoyast2-2.18.1/src/modules/Profile.ycp 2009-02-09 12:19:37.000000000 +0100
+++ new/autoyast2-2.18.2/src/modules/Profile.ycp 2009-02-25 17:16:34.000000000 +0100
@@ -4,7 +4,7 @@
* Summary: Profile handling
* Authors: Anas Nashif
*
- * $Id: Profile.ycp 55337 2009-02-09 11:19:36Z ug $
+ * $Id: Profile.ycp 55752 2009-02-25 16:16:34Z ug $
*/
{
module "Profile";
@@ -429,105 +429,6 @@
return true;
}
- /**
- * Provide Compatibility to older distributions.
- * @param list lvm_standalone Stand alone LVM configuration
- * @return list LVM configuration integrated into partitioning resource
- */
- global define list<map> convertLVM (list<map> lvm_standalone )
- {
- list<map> all_lvm = [];
-
- foreach (map group, lvm_standalone, ``{
- map new_lvm = $[];
- string vg = group["lvm_name"]:"";
-
- new_lvm["device"] = sformat("/dev/%1", vg );
- new_lvm["use"] = "all";
- new_lvm["pesize"] = group["pesize"]:"";
- list partitions = maplist(map lv, group["logical_volumes"]:[], ``{
-
- symbol lv_fs = `reiser;
- string lv_fs_tmp = lv["lv_fs"]:"reiser";
- term tfs = toterm(lv_fs_tmp);
- lv_fs = (symbol)symbolof(tfs);
-
- return( $[ "filesystem": lv_fs,
- "lv_name": lv["lv_name"]:"",
- "mount": lv["lv_mount"]:"",
- "size": lv["lv_size"]:"",
- "stripes": lv["stripes"]:1
- ]);
- });
- new_lvm["partitions"] = partitions;
- all_lvm = add (all_lvm, new_lvm);
-
- });
- y2milestone("Converted LVM: %1", all_lvm);
-
- return (all_lvm);
- }
-
- /**
- * Provide Compatibility to older distributions.
- * @param list raid_standalone Stand alone RAID configuration
- * @return map RAID configuration integrated into partitioning resource
- */
- global define map convertRAID (list<map> raid_standalone )
- {
- map raid = $[];
-
- raid["device"] = "/dev/md";
- raid["use"] = "all";
-
- list partitions = maplist(map r, raid_standalone, ``{
-
- symbol fs = r["filesystem"]:`reiser;
-
-
- map raid_options = $[];
-
- raid_options["chunk_size"] = r["chunk_size"]:"";
- raid_options["raid_type"] = r["raid_type"]:"raid1";
- raid_options["parity_algorithm"] = r["parity_algorithm"]:"";
- raid_options["persistent_superblock"] = r["persistent_superblock"]:false;
-
- integer nr = tointeger(substring(r["device_name"]:"/dev/md0", 7));
-
-
-
- map ret = $[
- "raid_options" : raid_options,
- "format" : r["format"]:false,
- "partition_nr" : nr
-
- ];
-
- if (haskey(r, "mount"))
- {
- ret["mount"] = r["mount"]:"";
- }
- if (haskey(r, "partition_id"))
- {
- ret["partition_id"] = r["partition_id"]:131;
- }
- if (haskey(r, "filesystem"))
- {
- ret["filesystem"] = fs;
- }
- if (haskey(r, "lvm_group"))
- {
- ret["lvm_group"] = r["lvm_group"]:"";
- }
-
- return (ret);
-
- });
- raid["partitions"] = partitions;
-
- return (raid);
- }
-
/**
* General compatibility issues
@@ -630,25 +531,6 @@
_current["networking"] = net;
}
- // RAID
- list<map> old_raid = _current["raid"]:[];
- if (size(old_raid) > 0 )
- {
- map new_raid = convertRAID(old_raid);
- list d = _current["partitioning"]:[];
- d =add (d, new_raid );
- _current["partitioning"] = d;
- }
-
- // LVM
- list<map> old_lvm = _current["lvm"]:[];
- if (size(old_lvm) > 0 )
- {
- list<map> new_lvm = convertLVM(old_lvm);
- list<map> d = _current["partitioning"]:[];
- d = (list<map>) union (d, new_lvm );
- _current["partitioning"] = d;
- }
return _current;
}
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/autoyast2-2.18.1/VERSION new/autoyast2-2.18.2/VERSION
--- old/autoyast2-2.18.1/VERSION 2009-02-16 11:43:40.000000000 +0100
+++ new/autoyast2-2.18.2/VERSION 2009-04-02 15:47:20.000000000 +0200
@@ -1 +1 @@
-2.18.1
+2.18.2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org