Hello community,
here is the log from the commit of package yast2-online-update
checked in at Wed Jul 16 22:50:53 CEST 2008.
--------
--- yast2-online-update/yast2-online-update.changes 2008-07-07 12:39:57.000000000 +0200
+++ yast2-online-update/yast2-online-update.changes 2008-07-16 10:57:32.963565000 +0200
@@ -1,0 +2,11 @@
+Tue Jul 8 13:00:19 CEST 2008 - jsuchome@suse.cz
+
+- Run online update during autoinstallation (fate#301298)
+- 2.17.3
+
+-------------------------------------------------------------------
+Tue Jul 8 11:43:27 CEST 2008 - jsuchome@suse.cz
+
+- different progress caption for CD Update (bnc#385186)
+
+-------------------------------------------------------------------
Old:
----
yast2-online-update-2.17.2.tar.bz2
New:
----
yast2-online-update-2.17.3.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-online-update.spec ++++++
--- /var/tmp/diff_new_pack.u16664/_old 2008-07-16 22:47:36.000000000 +0200
+++ /var/tmp/diff_new_pack.u16664/_new 2008-07-16 22:47:36.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-online-update (Version 2.17.2)
+# spec file for package yast2-online-update (Version 2.17.3)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -12,12 +12,12 @@
Name: yast2-online-update
-Version: 2.17.2
+Version: 2.17.3
Release: 1
License: GPL v2 or later
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-online-update-2.17.2.tar.bz2
+Source0: yast2-online-update-2.17.3.tar.bz2
Prefix: /usr
BuildRequires: gcc-c++ libxcrypt-devel perl-XML-Writer pkg-config update-desktop-files yast2-bootloader yast2-devtools yast2-packager
PreReq: grep sed
@@ -51,7 +51,7 @@
Jiri Suchomel
%prep
-%setup -n yast2-online-update-2.17.2
+%setup -n yast2-online-update-2.17.3
%build
%{prefix}/bin/y2tool y2autoconf
@@ -117,6 +117,7 @@
/usr/share/YaST2/clients/online*.ycp
/usr/share/YaST2/clients/cd_update.ycp
/usr/share/YaST2/clients/inst_you.ycp
+/usr/share/YaST2/clients/do_online_update_auto.ycp
/usr/share/YaST2/modules/OnlineUpdate*.ycp
/usr/share/YaST2/modules/OnlineUpdate*.ybc
/usr/share/YaST2/modules/AutoOnlineUpdate*.ycp
@@ -155,6 +156,11 @@
/var/lib/YaST2/cd_update.desktop
%ghost %{prefix}/share/applications/YaST2/cd_update.desktop
%changelog
+* Tue Jul 08 2008 jsuchome@suse.cz
+- Run online update during autoinstallation (fate#301298)
+- 2.17.3
+* Tue Jul 08 2008 jsuchome@suse.cz
+- different progress caption for CD Update (bnc#385186)
* Mon Jul 07 2008 jsuchome@suse.cz
- when deleting packages, show correct progress info (bnc#403280)
- 2.17.2
++++++ yast2-online-update-2.17.2.tar.bz2 -> yast2-online-update-2.17.3.tar.bz2 ++++++
++++ 3558 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/yast2-online-update-2.17.2/configure.in new/yast2-online-update-2.17.3/configure.in
--- old/yast2-online-update-2.17.2/configure.in 2008-04-15 14:01:41.000000000 +0200
+++ new/yast2-online-update-2.17.3/configure.in 2008-07-08 13:31:04.000000000 +0200
@@ -1,9 +1,9 @@
dnl configure.in for yast2-online-update
dnl
-dnl -- This file is generated by y2autoconf 2.16.8 - DO NOT EDIT! --
+dnl -- This file is generated by y2autoconf 2.16.7 - DO NOT EDIT! --
dnl (edit configure.in.in instead)
-AC_INIT(yast2-online-update, 2.16.11, http://bugs.opensuse.org/, yast2-online-update)
+AC_INIT(yast2-online-update, 2.17.3, http://bugs.opensuse.org/, yast2-online-update)
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.16.11"
+VERSION="2.17.3"
RPMNAME="yast2-online-update"
MAINTAINER="Jiri Suchomel "
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/yast2-online-update-2.17.2/src/do_online_update_auto.ycp new/yast2-online-update-2.17.3/src/do_online_update_auto.ycp
--- old/yast2-online-update-2.17.2/src/do_online_update_auto.ycp 1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-online-update-2.17.3/src/do_online_update_auto.ycp 2008-07-08 12:59:26.000000000 +0200
@@ -0,0 +1,75 @@
+/**
+ * File: clients/do_online_update_auto.ycp
+ * Package: Configuration of online_update
+ * Summary: Run online update during autoinstallation
+ * Authors: Jiri Suchomel
+ *
+ * $Id:$
+ */
+
+{
+
+y2milestone("----------------------------------------");
+y2milestone("do_online_update auto started");
+
+
+any ret = nil;
+string func = "";
+map param = $[];
+
+/* Check arguments */
+if(size(WFM::Args()) > 0 && is(WFM::Args(0), string))
+{
+ func = (string)WFM::Args(0);
+ if(size(WFM::Args()) > 1 && is(WFM::Args(1), map))
+ param = (map) WFM::Args(1);
+}
+y2debug("func=%1", func);
+y2debug("param=%1", param);
+
+// Run the online update now: non-interactive version of
+// inst_you + online_update_install
+if (func == "Write") {
+
+ ret = `auto;
+
+ Pkg::TargetInit ("/", false);
+ Pkg::SourceStartManager (true);
+ Pkg::PkgEstablish ();
+
+ integer selected = Pkg::ResolvablePreselectPatches (`all);
+ y2milestone ("All preselected patches: %1", selected);
+
+ if (selected > 0)
+ {
+ foreach (map patch, Pkg::ResolvableProperties("", `patch, ""), {
+ if (patch["status"]:`none == `selected &&
+ patch["reboot_needed"]:false)
+ {
+ // patch requiring reboot should be installed in this run
+ ret = `reboot;
+ }
+ });
+ y2milestone ("PkgSolve result: %1", Pkg::PkgSolve (false));
+ list commit = Pkg::PkgCommit (0);
+ y2milestone ("PkgCommit result: %1", commit);
+ if (commit[1]:[] != [])
+ {
+ y2error ("Commit failed with %1 (%2).", Pkg::LastError (),
+ Pkg::LastErrorDetails ());
+ }
+ }
+}
+else {
+ y2error("Unknown function: %1", func);
+ ret = false;
+}
+
+y2debug("ret=%1", ret);
+y2milestone("do_online_update auto finished");
+y2milestone("----------------------------------------");
+
+return ret;
+
+/* EOF */
+}
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/yast2-online-update-2.17.2/src/Makefile.am new/yast2-online-update-2.17.3/src/Makefile.am
--- old/yast2-online-update-2.17.2/src/Makefile.am 2007-03-01 11:41:52.000000000 +0100
+++ new/yast2-online-update-2.17.3/src/Makefile.am 2008-07-08 13:23:14.000000000 +0200
@@ -10,7 +10,8 @@
online_update.ycp \
online_update_setup.ycp \
cd_update.ycp \
- inst_you.ycp
+ inst_you.ycp \
+ do_online_update_auto.ycp
module_DATA = \
OnlineUpdate.ycp \
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/yast2-online-update-2.17.2/src/online_update.ycp new/yast2-online-update-2.17.3/src/online_update.ycp
--- old/yast2-online-update-2.17.2/src/online_update.ycp 2008-06-17 15:18:24.000000000 +0200
+++ new/yast2-online-update-2.17.3/src/online_update.ycp 2008-07-08 11:42:54.000000000 +0200
@@ -57,8 +57,12 @@
_("Finished")
];
- // dialog caption
- Progress::New(_("Initializing Online Update"), " ", 2, stages, steps, "");
+ string caption = OnlineUpdate::cd_update ?
+ // dialog caption
+ _("Initializing CD Update") :
+ // dialog caption
+ _("Initializing Online Update");
+ Progress::New (caption, " ", 2, stages, steps, "");
// check whether running as root
// and having the packager for ourselves
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/yast2-online-update-2.17.2/VERSION new/yast2-online-update-2.17.3/VERSION
--- old/yast2-online-update-2.17.2/VERSION 2008-07-07 11:46:53.000000000 +0200
+++ new/yast2-online-update-2.17.3/VERSION 2008-07-08 13:00:43.000000000 +0200
@@ -1 +1 @@
-2.17.2
+2.17.3
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org