[yast-commit] r66236 - /branches/SuSE-Code-11-SP2-Branch/repair/src/OSRDirect.ycp
Author: jreidinger Date: Tue Oct 4 15:26:32 2011 New Revision: 66236 URL: http://svn.opensuse.org/viewcvs/yast?rev=66236&view=rev Log: fix direct boot of installed system (bnc#700323) fixed problem was, that when user select repair from boot menu, then installation destdir is not set, but it is used Modified: branches/SuSE-Code-11-SP2-Branch/repair/src/OSRDirect.ycp Modified: branches/SuSE-Code-11-SP2-Branch/repair/src/OSRDirect.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/repair/src/OSRDirect.ycp?rev=66236&r1=66235&r2=66236&view=diff ============================================================================== --- branches/SuSE-Code-11-SP2-Branch/repair/src/OSRDirect.ycp (original) +++ branches/SuSE-Code-11-SP2-Branch/repair/src/OSRDirect.ycp Tue Oct 4 15:26:32 2011 @@ -16,6 +16,7 @@ import "HTML"; import "Stage"; import "Storage"; + import "Installation"; import "OSRCommon"; import "OSRSystem"; @@ -153,12 +154,13 @@ `Label(_("Reading system settings..."))); //initialize storage to get lock http://lists.opensuse.org/yast-devel/2008-08/msg00004.html and https://bugzilla.novell.com/show_bug.cgi?id=700323#c5 - Storage::InitLibstorage(true); + Storage::InitLibstorage(true); OSRFstab::Reset(); OSRFsck::LoadAllFsModules(); Storage::ReReadTargetMap(); OSRFstab::UmountAllFrom(OSRSystem::TargetRoot()); OSRSystem::SetOrgRoot(); + Installation::destdir = "/mnt"; // mount target system if needed list<map> mounted = []; -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
jreidinger@svn2.opensuse.org