Mailinglist Archive: yast-commit (723 mails)

< Previous Next >
[yast-commit] r47281 - in /trunk/storage: VERSION libstorage/src/Storage.cc libstorage/src/Storage.h libstorage/src/Volume.cc package/yast2-storage.changes
  • From: aschnell@xxxxxxxxxxxxxxxx
  • Date: Mon, 05 May 2008 14:00:50 -0000
  • Message-id: <20080505140051.41BF72708C@xxxxxxxxxxxxxxxx>
Author: aschnell
Date: Mon May 5 16:00:50 2008
New Revision: 47281

URL: http://svn.opensuse.org/viewcvs/yast?rev=47281&view=rev
Log:
- fixed mount point during installation (bnc #386435)

Modified:
trunk/storage/VERSION
trunk/storage/libstorage/src/Storage.cc
trunk/storage/libstorage/src/Storage.h
trunk/storage/libstorage/src/Volume.cc
trunk/storage/package/yast2-storage.changes

Modified: trunk/storage/VERSION
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/storage/VERSION?rev=47281&r1=47280&r2=47281&view=diff
==============================================================================
--- trunk/storage/VERSION (original)
+++ trunk/storage/VERSION Mon May 5 16:00:50 2008
@@ -1 +1 @@
-2.16.19
+2.16.20

Modified: trunk/storage/libstorage/src/Storage.cc
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/storage/libstorage/src/Storage.cc?rev=47281&r1=47280&r2=47281&view=diff
==============================================================================
--- trunk/storage/libstorage/src/Storage.cc (original)
+++ trunk/storage/libstorage/src/Storage.cc Mon May 5 16:00:50 2008
@@ -1010,6 +1010,14 @@
rootprefix = root;
}

+string Storage::prependRoot(const string& mp) const
+{
+ string ret = mp;
+ if (mp != "swap")
+ ret.insert(0, rootprefix);
+ return ret;
+}
+
void Storage::setDetectMountedVolumes( bool val )
{
y2milestone( "val:%d", val );

Modified: trunk/storage/libstorage/src/Storage.h
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/storage/libstorage/src/Storage.h?rev=47281&r1=47280&r2=47281&view=diff
==============================================================================
--- trunk/storage/libstorage/src/Storage.h (original)
+++ trunk/storage/libstorage/src/Storage.h Mon May 5 16:00:50 2008
@@ -218,6 +218,7 @@
int checkCache();
const string& tDir() const { return( testdir ); }
const string& root() const { return( rootprefix ); }
+ string prependRoot(const string& mp) const;
const string& tmpDir() const;
static const string& arch() { return( proc_arch ); }
static const string& sysfsDir() { return( sysfs_dir ); }

Modified: trunk/storage/libstorage/src/Volume.cc
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/storage/libstorage/src/Volume.cc?rev=47281&r1=47280&r2=47281&view=diff
==============================================================================
--- trunk/storage/libstorage/src/Volume.cc (original)
+++ trunk/storage/libstorage/src/Volume.cc Mon May 5 16:00:50 2008
@@ -2524,7 +2524,7 @@
y2mil( "remount umount:" << r );
if( r==0 )
{
- ret = mount( mp );
+ ret = mount(cont->getStorage()->prependRoot(mp));
y2mil( "remount mount:" << ret );
}
else

Modified: trunk/storage/package/yast2-storage.changes
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/storage/package/yast2-storage.changes?rev=47281&r1=47280&r2=47281&view=diff
==============================================================================
--- trunk/storage/package/yast2-storage.changes (original)
+++ trunk/storage/package/yast2-storage.changes Mon May 5 16:00:50 2008
@@ -1,4 +1,9 @@
-------------------------------------------------------------------
+Mon May 05 15:56:16 CEST 2008 - aschnell@xxxxxxx
+
+- fixed mount point during installation (bnc #386435)
+
+-------------------------------------------------------------------
Wed Apr 30 12:03:42 CEST 2008 - aschnell@xxxxxxx

- fixed seg. fault during evms activation (bnc #383646)

--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages