Author: ug Date: Tue Apr 14 15:32:26 2009 New Revision: 56774 URL: http://svn.opensuse.org/viewcvs/yast?rev=56774&view=rev Log: reuse old partition_id when create=false Modified: trunk/autoinstallation/package/autoyast2.changes trunk/autoinstallation/src/include/autopart.ycp Modified: trunk/autoinstallation/package/autoyast2.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/autoinstallation/package/autoyast2.changes?rev=56774&r1=56773&r2=56774&view=diff ============================================================================== --- trunk/autoinstallation/package/autoyast2.changes (original) +++ trunk/autoinstallation/package/autoyast2.changes Tue Apr 14 15:32:26 2009 @@ -1,4 +1,9 @@ ------------------------------------------------------------------- +Tue Apr 14 15:32:36 CEST 2009 - ug@suse.de + +- reuse old partition_id when create=false + +------------------------------------------------------------------- Wed Apr 8 14:22:54 CEST 2009 - ug@suse.de - don't log the answers of ask dialogs via milestone Modified: trunk/autoinstallation/src/include/autopart.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/autoinstallation/src/include/autopart.ycp?rev=56774&r1=56773&r2=56774&view=diff ============================================================================== --- trunk/autoinstallation/src/include/autopart.ycp (original) +++ trunk/autoinstallation/src/include/autopart.ycp Tue Apr 14 15:32:26 2009 @@ -402,7 +402,8 @@ integer index = 0; integer pindex = e["added",0,0]:0; string mount = solution["partitions",pindex,"mount"]:""; - integer fsid = Partitions::fsid_native; +// integer fsid = Partitions::fsid_native; + integer fsid = disk["partitions",pindex,"fsid"]:Partitions::fsid_native; if( mount == "swap" ) { fsid = Partitions::fsid_swap; @@ -421,7 +422,7 @@ p["region"] = solution["partitions",pindex,"region"]:[]; } p["mount"] = mount; - if (e["reuse"]:false) + if (e["reuse"]:false) p["used_fs"] = solution["partitions",pindex,"filesystem"]:p["detected_fs"]:`ext3; else p["used_fs"] = solution["partitions",pindex,"filesystem"]:`ext3; -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org