Hello community,
here is the log from the commit of package yast2-live-installer
checked in at Tue Nov 18 17:00:00 CET 2008.
--------
--- yast2-live-installer/yast2-live-installer.changes 2008-11-04 11:07:17.000000000 +0100
+++ /mounts/work_src_done/STABLE/yast2-live-installer/yast2-live-installer.changes 2008-11-18 00:13:26.608113000 +0100
@@ -1,0 +2,7 @@
+Thu Nov 13 16:33:33 CET 2008 - jsrain@suse.cz
+
+- disable desktop automounter and warn if removable medias are
+ mounted (bnc #437235)
+- 2.17.2
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
yast2-live-installer-2.17.1.tar.bz2
New:
----
yast2-live-installer-2.17.2.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-live-installer.spec ++++++
--- /var/tmp/diff_new_pack.c19287/_old 2008-11-18 16:59:41.000000000 +0100
+++ /var/tmp/diff_new_pack.c19287/_new 2008-11-18 16:59:41.000000000 +0100
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-live-installer (Version 2.17.1)
+# spec file for package yast2-live-installer (Version 2.17.2)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -19,12 +19,12 @@
Name: yast2-live-installer
-Version: 2.17.1
+Version: 2.17.2
Release: 1
License: GPL v2 or later
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-live-installer-2.17.1.tar.bz2
+Source0: yast2-live-installer-2.17.2.tar.bz2
Prefix: /usr
# Internet and InternetDevices
Requires: yast2 >= 2.16.6
@@ -45,7 +45,7 @@
Jiri Srain
%prep
-%setup -n yast2-live-installer-2.17.1
+%setup -n yast2-live-installer-2.17.2
%build
%{prefix}/bin/y2tool y2autoconf
@@ -74,7 +74,12 @@
/usr/share/YaST2/modules/LiveInstaller.*
%{prefix}/share/applications/YaST2/live-installer.desktop
%doc %{prefix}/share/doc/packages/yast2-live-installer
+
%changelog
+* Thu Nov 13 2008 jsrain@suse.cz
+- disable desktop automounter and warn if removable medias are
+ mounted (bnc #437235)
+- 2.17.2
* Tue Nov 04 2008 jsrain@suse.cz
- display a warning if low amount of memory is detected
(bnc #434561)
++++++ yast2-live-installer-2.17.1.tar.bz2 -> yast2-live-installer-2.17.2.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-live-installer-2.17.1/configure new/yast2-live-installer-2.17.2/configure
--- old/yast2-live-installer-2.17.1/configure 2008-11-04 12:06:58.000000000 +0100
+++ new/yast2-live-installer-2.17.2/configure 2008-11-13 16:40:35.000000000 +0100
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.63 for yast2-live-installer 2.17.1.
+# Generated by GNU Autoconf 2.63 for yast2-live-installer 2.17.2.
#
# Report bugs to http://bugs.opensuse.org/.
#
@@ -596,8 +596,8 @@
# Identity of this package.
PACKAGE_NAME='yast2-live-installer'
PACKAGE_TARNAME='yast2-live-installer'
-PACKAGE_VERSION='2.17.1'
-PACKAGE_STRING='yast2-live-installer 2.17.1'
+PACKAGE_VERSION='2.17.2'
+PACKAGE_STRING='yast2-live-installer 2.17.2'
PACKAGE_BUGREPORT='http://bugs.opensuse.org/'
ac_unique_file="RPMNAME"
@@ -1276,7 +1276,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 yast2-live-installer 2.17.1 to adapt to many kinds of systems.
+\`configure' configures yast2-live-installer 2.17.2 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1348,7 +1348,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of yast2-live-installer 2.17.1:";;
+ short | recursive ) echo "Configuration of yast2-live-installer 2.17.2:";;
esac
cat <<\_ACEOF
@@ -1428,7 +1428,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-yast2-live-installer configure 2.17.1
+yast2-live-installer configure 2.17.2
generated by GNU Autoconf 2.63
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
@@ -1442,7 +1442,7 @@
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by yast2-live-installer $as_me 2.17.1, which was
+It was created by yast2-live-installer $as_me 2.17.2, which was
generated by GNU Autoconf 2.63. Invocation command line was
$ $0 $@
@@ -2289,7 +2289,7 @@
# Define the identity of the package.
PACKAGE='yast2-live-installer'
- VERSION='2.17.1'
+ VERSION='2.17.2'
cat >>confdefs.h <<_ACEOF
@@ -2513,7 +2513,7 @@
-VERSION="2.17.1"
+VERSION="2.17.2"
RPMNAME="yast2-live-installer"
MAINTAINER="Jiri Srain "
@@ -3547,7 +3547,7 @@
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by yast2-live-installer $as_me 2.17.1, which was
+This file was extended by yast2-live-installer $as_me 2.17.2, which was
generated by GNU Autoconf 2.63. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -3597,7 +3597,7 @@
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_version="\\
-yast2-live-installer config.status 2.17.1
+yast2-live-installer config.status 2.17.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/yast2-live-installer-2.17.1/configure.in new/yast2-live-installer-2.17.2/configure.in
--- old/yast2-live-installer-2.17.1/configure.in 2008-11-04 12:06:51.000000000 +0100
+++ new/yast2-live-installer-2.17.2/configure.in 2008-11-13 16:40:28.000000000 +0100
@@ -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(yast2-live-installer, 2.17.1, http://bugs.opensuse.org/, yast2-live-installer)
+AC_INIT(yast2-live-installer, 2.17.2, http://bugs.opensuse.org/, yast2-live-installer)
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.17.1"
+VERSION="2.17.2"
RPMNAME="yast2-live-installer"
MAINTAINER="Jiri Srain "
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-live-installer-2.17.1/live-installer.pot new/yast2-live-installer-2.17.2/live-installer.pot
--- old/yast2-live-installer-2.17.1/live-installer.pot 2008-10-30 14:38:22.000000000 +0100
+++ new/yast2-live-installer-2.17.2/live-installer.pot 2008-11-06 15:39:29.000000000 +0100
@@ -8,7 +8,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2008-10-30 14:38+0100\n"
+"POT-Creation-Date: 2008-11-06 15:39+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME \n"
"Language-Team: LANGUAGE \n"
@@ -157,8 +157,18 @@
msgid "There is no user interface available for this module."
msgstr ""
+#. pop-up, %1 is memory size, currently hardcoded "1 GB"
+#: src/live-installer.ycp:40
+#, ycp-format
+msgid ""
+"Your computer has less than %1 of memory. This may not be\n"
+"sufficient for the live installation, especially when installing\n"
+"while running other applications.\n"
+"Before continuing, finish all running applications."
+msgstr ""
+
#. continue-cancel popup
-#: src/live-installer.ycp:54
+#: src/live-installer.ycp:72
msgid ""
"openSUSE installer detected DMRAID array.\n"
"It is not supported by the openSUSE live installer.\n"
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-live-installer-2.17.1/src/live-installer.ycp new/yast2-live-installer-2.17.2/src/live-installer.ycp
--- old/yast2-live-installer-2.17.1/src/live-installer.ycp 2008-11-04 11:58:57.000000000 +0100
+++ new/yast2-live-installer-2.17.2/src/live-installer.ycp 2008-11-13 16:22:10.000000000 +0100
@@ -51,6 +51,25 @@
Installation::scr_destdir = "/mnt";
import "Storage";
+ Storage::SwitchUiAutomounter(false);
+
+ // detect removable media, if they are mounted, they cannot be used for installation (bnc #437235)
+ // this is a hack, since partitioner cannot provide information which partitions will be resized,
+ // removed or formatted and thus mustn't be mounted during installation
+ string cmd = "cat /proc/mounts |grep '\/media\/'";
+ if (0 == (integer)SCR::Execute (.target.bash, cmd))
+ {
+ // continue/cancel pop-up
+ if (! Popup::ContinueCancel (_("YaST detected a mounted removable media. YaST cannot install
+the system on media which is mounted.
+To install the system on these media, unmount them first.")))
+ {
+ Storage::SwitchUiAutomounter(true);
+ UI::CloseDialog();
+ return nil;
+ }
+ }
+
// do several checks because of DMRAID problems - bug #328388
map out = (map)SCR::Execute (.target.bash_output, "
/etc/init.d/boot.device-mapper start
@@ -73,6 +92,7 @@
It is not supported by the openSUSE live installer.
Continuing the installation may cause data loss.")))
{
+ Storage::SwitchUiAutomounter(true);
UI::CloseDialog ();
return `back;
}
@@ -103,6 +123,7 @@
Pkg::SourceFinishAll();
Pkg::TargetFinish();
+ Storage::SwitchUiAutomounter(true);
UI::CloseDialog();
return ret;
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-live-installer-2.17.1/VERSION new/yast2-live-installer-2.17.2/VERSION
--- old/yast2-live-installer-2.17.1/VERSION 2008-11-04 11:59:44.000000000 +0100
+++ new/yast2-live-installer-2.17.2/VERSION 2008-11-13 16:34:01.000000000 +0100
@@ -1 +1 @@
-2.17.1
+2.17.2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org