Hello community,
here is the log from the commit of package autoyast2
checked in at Wed Aug 16 14:18:57 CEST 2006.
--------
--- autoyast2/autoyast2.changes 2006-07-14 10:10:16.000000000 +0200
+++ autoyast2/autoyast2.changes 2006-08-16 13:30:55.000000000 +0200
@@ -1,0 +2,31 @@
+Wed Aug 16 13:23:32 CEST 2006 - ug@suse.de
+
+- 2.14.4
+
+-------------------------------------------------------------------
+Wed Aug 16 11:41:58 CEST 2006 - ug@suse.de
+
+- <remove-packages> are cloned now
+
+-------------------------------------------------------------------
+Fri Aug 11 15:30:59 CEST 2006 - ug@suse.de
+
+- reuse partitions in UI (#158855)
+
+-------------------------------------------------------------------
+Tue Aug 8 13:40:15 CEST 2006 - ug@suse.de
+
+- exclude partitions that are NOT supposed to be
+ in the LVM/EVMS
+
+-------------------------------------------------------------------
+Wed Aug 2 14:54:53 CEST 2006 - ug@suse.de
+
+- scripts documentation fixed
+
+-------------------------------------------------------------------
+Wed Aug 2 14:43:29 CEST 2006 - ug@suse.de
+
+- device guessing code enhanced
+
+-------------------------------------------------------------------
Old:
----
autoyast2-2.14.3.tar.bz2
New:
----
autoyast2-2.14.4.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ autoyast2.spec ++++++
--- /var/tmp/diff_new_pack.NSESfA/_old 2006-08-16 14:17:38.000000000 +0200
+++ /var/tmp/diff_new_pack.NSESfA/_new 2006-08-16 14:17:38.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package autoyast2 (Version 2.14.3)
+# spec file for package autoyast2 (Version 2.14.4)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -12,12 +12,12 @@
Name: autoyast2
URL: http://www.suse.de/~ug
-Version: 2.14.3
+Version: 2.14.4
Release: 1
License: GPL
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: autoyast2-2.14.3.tar.bz2
+Source0: autoyast2-2.14.4.tar.bz2
prefix: /usr
BuildRequires: docbook-xsl-stylesheets fop java2-devel-packages libxslt perl-XML-Writer pkg-config sgml-skel update-desktop-files xorg-x11-libs yast2-bootloader yast2-devtools yast2-mouse yast2-testsuite yast2-transfer yast2-update
Requires: yast2-core yast2-xml libxslt
@@ -49,7 +49,7 @@
Anas Nashif
%package installation
-Version: 2.14.3
+Version: 2.14.4
Release: 1
Summary: YaST2 - Auto Installation Modules
Group: System/YaST
@@ -70,7 +70,7 @@
Anas Nashif
%package utils
-Version: 2.14.3
+Version: 2.14.4
Release: 1
Summary: YaST2 - Auto Installation Utilities
Group: System/YaST
@@ -87,7 +87,7 @@
Uwe Gansert
%prep
-%setup -n autoyast2-2.14.3
+%setup -n autoyast2-2.14.4
%build
%{prefix}/bin/y2tool y2autoconf
@@ -234,6 +234,19 @@
/usr/bin/create_update_source.sh
%changelog -n autoyast2
+* Wed Aug 16 2006 - ug@suse.de
+- 2.14.4
+* Wed Aug 16 2006 - ug@suse.de
+- <remove-packages> are cloned now
+* Fri Aug 11 2006 - ug@suse.de
+- reuse partitions in UI (#158855)
+* Tue Aug 08 2006 - ug@suse.de
+- exclude partitions that are NOT supposed to be
+ in the LVM/EVMS
+* Wed Aug 02 2006 - ug@suse.de
+- scripts documentation fixed
+* Wed Aug 02 2006 - ug@suse.de
+- device guessing code enhanced
* Fri Jul 14 2006 - ug@suse.de
- typos fixed
- 2.14.3
++++++ autoyast2-2.14.3.tar.bz2 -> autoyast2-2.14.4.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/autoyast2-2.14.3/VERSION new/autoyast2-2.14.4/VERSION
--- old/autoyast2-2.14.3/VERSION 2006-07-14 10:06:33.000000000 +0200
+++ new/autoyast2-2.14.4/VERSION 2006-08-16 13:23:28.000000000 +0200
@@ -1 +1 @@
-2.14.3
+2.14.4
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/autoyast2-2.14.3/configure new/autoyast2-2.14.4/configure
--- old/autoyast2-2.14.3/configure 2006-07-14 10:07:12.000000000 +0200
+++ new/autoyast2-2.14.4/configure 2006-08-16 13:23:53.000000000 +0200
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.59 for autoyast2 2.14.3.
+# Generated by GNU Autoconf 2.59 for autoyast2 2.14.4.
#
# Report bugs to http://bugs.opensuse.org/.
#
@@ -269,8 +269,8 @@
# Identity of this package.
PACKAGE_NAME='autoyast2'
PACKAGE_TARNAME='autoyast2'
-PACKAGE_VERSION='2.14.3'
-PACKAGE_STRING='autoyast2 2.14.3'
+PACKAGE_VERSION='2.14.4'
+PACKAGE_STRING='autoyast2 2.14.4'
PACKAGE_BUGREPORT='http://bugs.opensuse.org/'
ac_unique_file="RPMNAME"
@@ -728,7 +728,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.14.3 to adapt to many kinds of systems.
+\`configure' configures autoyast2 2.14.4 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -795,7 +795,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of autoyast2 2.14.3:";;
+ short | recursive ) echo "Configuration of autoyast2 2.14.4:";;
esac
cat <<\_ACEOF
@@ -908,7 +908,7 @@
test -n "$ac_init_help" && exit 0
if $ac_init_version; then
cat <<\_ACEOF
-autoyast2 configure 2.14.3
+autoyast2 configure 2.14.4
generated by GNU Autoconf 2.59
Copyright (C) 2003 Free Software Foundation, Inc.
@@ -922,7 +922,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.14.3, which was
+It was created by autoyast2 $as_me 2.14.4, which was
generated by GNU Autoconf 2.59. Invocation command line was
$ $0 $@
@@ -1652,7 +1652,7 @@
# Define the identity of the package.
PACKAGE='autoyast2'
- VERSION='2.14.3'
+ VERSION='2.14.4'
cat >>confdefs.h <<_ACEOF
@@ -1863,7 +1863,7 @@
-VERSION="2.14.3"
+VERSION="2.14.4"
RPMNAME="autoyast2"
MAINTAINER="Uwe Gansert "
@@ -2810,7 +2810,7 @@
} >&5
cat >&5 <<_CSEOF
-This file was extended by autoyast2 $as_me 2.14.3, which was
+This file was extended by autoyast2 $as_me 2.14.4, which was
generated by GNU Autoconf 2.59. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -2865,7 +2865,7 @@
cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\
-autoyast2 config.status 2.14.3
+autoyast2 config.status 2.14.4
configured by $0, generated by GNU Autoconf 2.59,
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/autoyast2-2.14.3/configure.in new/autoyast2-2.14.4/configure.in
--- old/autoyast2-2.14.3/configure.in 2006-07-14 10:07:07.000000000 +0200
+++ new/autoyast2-2.14.4/configure.in 2006-08-16 13:23:48.000000000 +0200
@@ -3,7 +3,7 @@
dnl -- This file is generated by y2autoconf 2.13.18 - DO NOT EDIT! --
dnl (edit configure.in.in instead)
-AC_INIT(autoyast2, 2.14.3, http://bugs.opensuse.org/, autoyast2)
+AC_INIT(autoyast2, 2.14.4, http://bugs.opensuse.org/, autoyast2)
dnl Check for presence of file 'RPMNAME'
AC_CONFIG_SRCDIR([RPMNAME])
@@ -17,7 +17,7 @@
AM_INIT_AUTOMAKE(tar-ustar) dnl searches for some needed programs
dnl Important YaST2 variables
-VERSION="2.14.3"
+VERSION="2.14.4"
RPMNAME="autoyast2"
MAINTAINER="Uwe Gansert "
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/autoyast2-2.14.3/doc/CreateProfileDetails.xml new/autoyast2-2.14.4/doc/CreateProfileDetails.xml
--- old/autoyast2-2.14.3/doc/CreateProfileDetails.xml 2006-06-27 10:53:11.000000000 +0200
+++ new/autoyast2-2.14.4/doc/CreateProfileDetails.xml 2006-08-02 14:53:38.000000000 +0200
@@ -2061,8 +2061,8 @@
</section>
<section id="chroot.scripts">
<title>Chroot environment scripts</title>
- <para>Chroot scripts are executed after all packages have been
- installed. Actually chroot scripts are two differnt kind of script with
+ <para>Chroot scripts are executed before the machine reboots for the first time.
+ Actually chroot scripts are two differnt kind of script with
one name. You can execute chroot script before the installation chroots into
the installed system and configures the boot loader and you can execute a script
after the chroot into the installed system has happend (look at the "chrooted" parameter for that). Both types of scripts are
@@ -2283,12 +2283,6 @@
<entry>either <location> or <source> must be defined</entry>
</row>
<row>
- <entry>interpreter</entry>
- <entry>the interpreter that must be used for the script. Supported options are shell, perl and python if it's installed.
- <para><screen><interpreter>perl</interpreter></screen></para></entry>
- <entry>optional (default is shell)</entry>
- </row>
- <row>
<entry>filename</entry>
<entry>the filename of the script. It will be stored in a temporary directory under /tmp/...
<para><screen><filename>mynitScript5.sh</filename></screen></para></entry>
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/autoyast2-2.14.3/src/dialogs/partition_dialogs.ycp new/autoyast2-2.14.4/src/dialogs/partition_dialogs.ycp
--- old/autoyast2-2.14.3/src/dialogs/partition_dialogs.ycp 2006-06-27 11:59:53.000000000 +0200
+++ new/autoyast2-2.14.4/src/dialogs/partition_dialogs.ycp 2006-08-11 15:31:34.000000000 +0200
@@ -11,7 +11,7 @@
* Authors:
* Anas Nashif
*
- * $Id: partition_dialogs.ycp 31685 2006-06-27 10:01:26Z ug $
+ * $Id: partition_dialogs.ycp 32345 2006-08-11 13:33:10Z ug $
*/
{
textdomain "autoinst";
@@ -173,6 +173,13 @@
)
),
`Left(
+ `RadioButton(`id(`reuse),
+ `opt(`notify),
+ _("&Reuse Partition"),
+ (partition_size == "" && partition_nr != "")
+ )
+ ),
+ `Left(
`RadioButton(`id(`max),
`opt(`notify),
_("Fill to &maximum allowable space"),
@@ -304,7 +311,8 @@
}
}
if ( UI::QueryWidget(`id(`sizeopt), `CurrentButton) == `max
- || UI::QueryWidget(`id(`sizeopt), `CurrentButton) == `auto)
+ || UI::QueryWidget(`id(`sizeopt), `CurrentButton) == `auto
+ || UI::QueryWidget(`id(`sizeopt), `CurrentButton) == `reuse )
{
UI::ChangeWidget(`id(`partsize) , `Enabled, false);
}
@@ -463,11 +471,15 @@
{
string partitionSize = (string) UI::QueryWidget(`id(`partsize), `Value);
string partitionNr = (string) UI::QueryWidget(`id(`partition_nr), `Value);
- if ( partitionSize == "" && partitionNr == "" )
+ if ( partitionSize == "" && partitionNr == "" && !(boolean)UI::QueryWidget(`id(`reuse), `Value) )
{
Report::Warning(_("Enter the partition size or a partition number."));
continue;
}
+ else if( partitionNr == "" && (boolean)UI::QueryWidget(`id(`reuse), `Value) ) {
+ Report::Warning(_("You want to reuse a partition. Please enter the partition number."));
+ continue;
+ }
else if( partitionSize != "" )
{
return_value=add(return_value,"size", partitionSize);
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/autoyast2-2.14.3/src/modules/AutoinstClone.ycp new/autoyast2-2.14.4/src/modules/AutoinstClone.ycp
--- old/autoyast2-2.14.3/src/modules/AutoinstClone.ycp 2006-07-14 10:06:25.000000000 +0200
+++ new/autoyast2-2.14.4/src/modules/AutoinstClone.ycp 2006-08-16 11:43:27.000000000 +0200
@@ -11,7 +11,7 @@
* Authors:
* Anas Nashif
*
- * $Id: AutoinstClone.ycp 31685 2006-06-27 10:01:26Z ug $
+ * $Id: AutoinstClone.ycp 32370 2006-08-16 09:44:57Z ug $
*
*
*/
@@ -338,6 +338,7 @@
Pkg::TargetFinish ();
// Remove kernel packages
list<string> userpackages = packages;
+ list<string> removepackages = [];
list<string> patternPackages = [];
foreach( string tmp_pattern, patterns, ``{
@@ -354,6 +355,10 @@
if (!contains(patternPackages, p))
userpackages = add( userpackages, p );
});
+ foreach(string p, patternPackages, ``{
+ if (!contains(inst,p))
+ removepackages = add( removepackages, p );
+ });
}
list<string> selectionPackages = [];
@@ -370,6 +375,10 @@
if (!contains(selectionPackages, p))
userpackages = add( userpackages, p );
});
+ foreach(string p, selectionPackages, ``{
+ if (!contains(inst,p))
+ removepackages = add( removepackages, p );
+ });
}
software["base"] = base[0]:"";
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/autoyast2-2.14.3/src/modules/AutoinstLVM.ycp new/autoyast2-2.14.4/src/modules/AutoinstLVM.ycp
--- old/autoyast2-2.14.3/src/modules/AutoinstLVM.ycp 2006-05-17 15:16:29.000000000 +0200
+++ new/autoyast2-2.14.4/src/modules/AutoinstLVM.ycp 2006-08-08 13:41:06.000000000 +0200
@@ -4,7 +4,7 @@
* Summary: LVM
* Authors: Anas Nashif
*
- * $Id: AutoinstLVM.ycp 30970 2006-05-17 13:16:25Z ug $
+ * $Id: AutoinstLVM.ycp 32234 2006-08-08 11:42:37Z ug $
*/
{
@@ -358,15 +358,38 @@
return(pv["device"]:"");
});
y2milestone("Existing PVs: %1", new_pvs );
-
+ map atm = AutoinstStorage::AutoTargetMap;
foreach(map pv, new_pvs, ``{
if (pv["create"]:false) {
+ boolean to_add = true;
if( vmType == `CT_LVM ) {
- y2milestone("addPhysicalVolume %1 , %2",pv["device"]:"", current_vg );
- addPhysicalVolume(targetMap, pv["device"]:"", current_vg );
+ // exclude partitions that are NOT supposed to be in the LVM
+ foreach( map atm_vol, atm[pv["maindev"]:"","partitions"]:[], ``{
+ if( pv["nr"]:0 == atm_vol["partition_nr"]:-1 ) {
+ if( atm_vol["lvm_group"]:"" != current_vg ) {
+ y2milestone("do not add %1",atm_vol);
+ to_add = false;
+ }
+ }
+ });
+ if( to_add ) {
+ y2milestone("addPhysicalVolume %1 , %2",pv["device"]:"", current_vg );
+ addPhysicalVolume(targetMap, pv["device"]:"", current_vg );
+ }
} else if( vmType == `CT_EVMS ) {
- y2milestone("Storage::ExtendEvmsCo %1/%2",lvm_string,pv["device"]:"");
- Storage::ExtendEvmsCo(lvm_string+"/"+vgname, pv["device"]:"");
+ // exclude partitions that are NOT supposed to be in the EVMS
+ foreach( map atm_vol, atm[pv["maindev"]:"","partitions"]:[], ``{
+ if( pv["nr"]:0 == atm_vol["partition_nr"]:-1 ) {
+ if( atm_vol["evms_group"]:"" != current_vg ) {
+ y2milestone("do not add %1",atm_vol);
+ to_add = false;
+ }
+ }
+ });
+ if( to_add ) {
+ y2milestone("Storage::ExtendEvmsCo %1/%2",lvm_string,pv["device"]:"");
+ Storage::ExtendEvmsCo(lvm_string+"/"+vgname, pv["device"]:"");
+ }
}
}
});
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/autoyast2-2.14.3/src/modules/AutoinstStorage.ycp new/autoyast2-2.14.4/src/modules/AutoinstStorage.ycp
--- old/autoyast2-2.14.3/src/modules/AutoinstStorage.ycp 2006-03-28 11:27:10.000000000 +0200
+++ new/autoyast2-2.14.4/src/modules/AutoinstStorage.ycp 2006-08-04 14:35:12.000000000 +0200
@@ -4,7 +4,7 @@
* Summary: Storage
* Authors: Anas Nashif
*
- * $Id: AutoinstStorage.ycp 29453 2006-03-28 09:27:08Z ug $
+ * $Id: AutoinstStorage.ycp 32153 2006-08-04 12:36:47Z ug $
*/
{
module "AutoinstStorage";
@@ -514,7 +514,18 @@
mbr_disk = device;
}
});
-
+
+ /* device guessing code enhanced */
+ if( mbr_disk == "" ) {
+ foreach (string device, map disk, initial_target_map, ``{
+ if( disk["type"]:`x == `CT_DISK ) {
+ y2milestone ("first real disk is: %1", device);
+ mbr_disk = device;
+ break;
+ }
+ });
+ }
+
y2milestone("mbr disk: %1", mbr_disk);
Storage::SetPartDisk(mbr_disk);
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org