Hello community,
here is the log from the commit of package yast2-repair
checked in at Sat May 31 12:12:33 CEST 2008.
--------
--- yast2-repair/yast2-repair.changes 2008-05-22 15:10:07.000000000 +0200
+++ /mounts/work_src_done/NOARCH/yast2-repair/yast2-repair.changes 2008-05-29 12:16:21.847648000 +0200
@@ -1,0 +2,6 @@
+Thu May 29 11:00:17 CEST 2008 - jsuchome@suse.cz
+
+- mount /proc, /dev, /sys before writing new bootloader (bnc#395302)
+- 2.16.12
+
+-------------------------------------------------------------------
Old:
----
yast2-repair-2.16.11.tar.bz2
New:
----
yast2-repair-2.16.12.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-repair.spec ++++++
--- /var/tmp/diff_new_pack.m31174/_old 2008-05-31 12:12:19.000000000 +0200
+++ /var/tmp/diff_new_pack.m31174/_new 2008-05-31 12:12:19.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-repair (Version 2.16.11)
+# spec file for package yast2-repair (Version 2.16.12)
#
# 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-repair
-Version: 2.16.11
+Version: 2.16.12
Release: 1
License: GPL v2 or later
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-repair-2.16.11.tar.bz2
+Source0: yast2-repair-2.16.12.tar.bz2
Prefix: /usr
BuildRequires: perl-XML-Writer update-desktop-files yast2 yast2-bootloader yast2-devtools yast2-packager yast2-storage yast2-testsuite
Requires: yast2 gpart reiserfs e2fsprogs yast2-bootloader yast2-storage
@@ -35,7 +35,7 @@
Jiri Suchomel
%prep
-%setup -n yast2-repair-2.16.11
+%setup -n yast2-repair-2.16.12
%build
%{prefix}/bin/y2tool y2autoconf
@@ -69,6 +69,9 @@
/usr/share/YaST2/include/repair/*
%doc %{prefix}/share/doc/packages/yast2-repair
%changelog
+* Thu May 29 2008 jsuchome@suse.cz
+- mount /proc, /dev, /sys before writing new bootloader (bnc#395302)
+- 2.16.12
* Thu May 22 2008 jsuchome@suse.cz
- more checks if partitions are mounted (bnc#372238)
- 2.16.11
++++++ yast2-repair-2.16.11.tar.bz2 -> yast2-repair-2.16.12.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-repair-2.16.11/src/OSRBoot.ycp new/yast2-repair-2.16.12/src/OSRBoot.ycp
--- old/yast2-repair-2.16.11/src/OSRBoot.ycp 2007-10-25 13:37:43.000000000 +0200
+++ new/yast2-repair-2.16.12/src/OSRBoot.ycp 2008-05-29 12:15:46.000000000 +0200
@@ -4,7 +4,7 @@
* Summary: Bootloader checks
* Authors: Johannes Buchhold
*
- * $Id: OSRBoot.ycp 41564 2007-10-25 11:37:43Z jsuchome $
+ * $Id: OSRBoot.ycp 47936 2008-05-29 10:15:53Z jsuchome $
*
* Provide osr mode information.
*/
@@ -1270,11 +1270,12 @@
Wizard::CreateDialog ();
// prepare environment for saving boot loader settings
- string destproc = "/proc";
- SCR::Execute (.target.mkdir, destproc, 0755);
- SCR::Execute (.target.mount, ["proc", destproc], "-t proc");
- SCR::Execute (.target.bash, "/sbin/SuSEconfig --module bootsplash");
-
+ WFM::Execute (.local.bash,
+ sformat ("mount --bind /proc %1/proc", root_mountpoint));
+ WFM::Execute (.local.bash,
+ sformat ("mount --bind /sys %1/sys", root_mountpoint));
+ WFM::Execute (.local.bash,
+ sformat ("mount --bind /dev %1/dev", root_mountpoint));
boolean g_ret = Bootloader::Write();
Wizard::CloseDialog();
@@ -1282,8 +1283,9 @@
// message popup
Report::Message(_("The boot loader was installed successfully."));
- SCR::Execute (.target.umount, "/proc");
- WFM::Execute(.local.umount, root_mountpoint + "/proc" );
+ WFM::Execute (.local.umount, root_mountpoint + "/proc");
+ WFM::Execute (.local.umount, root_mountpoint + "/sys");
+ WFM::Execute (.local.umount, root_mountpoint + "/dev");
}
return ret;
}
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-repair-2.16.11/VERSION new/yast2-repair-2.16.12/VERSION
--- old/yast2-repair-2.16.11/VERSION 2008-05-22 14:53:51.000000000 +0200
+++ new/yast2-repair-2.16.12/VERSION 2008-05-29 11:00:46.000000000 +0200
@@ -1 +1 @@
-2.16.11
+2.16.12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org