[yast-commit] r64429 - in /branches/SuSE-Code-11-SP2-Branch/autoinstallation: ./ VERSION package/autoyast2.changes src/modules/AutoinstStorage.ycp
![](https://seccdn.libravatar.org/avatar/bb376bca2c19e74eb46fa87c724f1105.jpg?s=120&d=mm&r=g)
Author: fehr Date: Thu Jun 16 16:30:31 2011 New Revision: 64429 URL: http://svn.opensuse.org/viewcvs/yast?rev=64429&view=rev Log: - backport support for install on NFS as root device (fate#311135) - version 2.17.45 Modified: branches/SuSE-Code-11-SP2-Branch/autoinstallation/ (props changed) branches/SuSE-Code-11-SP2-Branch/autoinstallation/VERSION branches/SuSE-Code-11-SP2-Branch/autoinstallation/package/autoyast2.changes branches/SuSE-Code-11-SP2-Branch/autoinstallation/src/modules/AutoinstStorage.ycp Modified: branches/SuSE-Code-11-SP2-Branch/autoinstallation/VERSION URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/autoinstallation/VERSION?rev=64429&r1=64428&r2=64429&view=diff ============================================================================== --- branches/SuSE-Code-11-SP2-Branch/autoinstallation/VERSION (original) +++ branches/SuSE-Code-11-SP2-Branch/autoinstallation/VERSION Thu Jun 16 16:30:31 2011 @@ -1 +1 @@ -2.17.44 +2.17.45 Modified: branches/SuSE-Code-11-SP2-Branch/autoinstallation/package/autoyast2.changes URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/autoinstallation/package/autoyast2.changes?rev=64429&r1=64428&r2=64429&view=diff ============================================================================== --- branches/SuSE-Code-11-SP2-Branch/autoinstallation/package/autoyast2.changes (original) +++ branches/SuSE-Code-11-SP2-Branch/autoinstallation/package/autoyast2.changes Thu Jun 16 16:30:31 2011 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Thu Jun 16 16:22:41 CEST 2011 - fehr@suse.de + +- backport support for install on NFS as root device (fate#311135) +- version 2.17.45 + +------------------------------------------------------------------- Tue Jun 7 11:24:16 CEST 2011 - ug@suse.de - Some machines can't boot with the new alignment that parted uses Modified: branches/SuSE-Code-11-SP2-Branch/autoinstallation/src/modules/AutoinstStorage.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/autoinstallation/src/modules/AutoinstStorage.ycp?rev=64429&r1=64428&r2=64429&view=diff ============================================================================== --- branches/SuSE-Code-11-SP2-Branch/autoinstallation/src/modules/AutoinstStorage.ycp (original) +++ branches/SuSE-Code-11-SP2-Branch/autoinstallation/src/modules/AutoinstStorage.ycp Thu Jun 16 16:30:31 2011 @@ -700,6 +700,27 @@ } }); + if( haskey(AutoTargetMap, "/dev/nfs") ) + { + y2milestone( "nfs:%1", AutoTargetMap["/dev/nfs"]:$[] ); + foreach( map p, AutoTargetMap["/dev/nfs","partitions"]:[], + ``{ + integer sizek = Storage::CheckNfsVolume( p["device"]:"", + p["fstopt"]:"", + p["nfs4"]:false ); + y2milestone( "nfs size:%1", sizek ); + boolean ok = Storage::AddNfsVolume( p["device"]:"", p["fstopt"]:"", + sizek, p["mount"]:"", + p["nfs4"]:false ); + y2milestone( "nfs ok:%1", ok ); + if( ok ) + Storage::ChangeVolumeProperties( p ); + if( !result ) + result = ok && p["mount"]:""=="/"; + }); + y2milestone( "nfs result:%1", result ); + } + return result; } -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
fehr@svn2.opensuse.org