Author: ug Date: Tue Jun 16 15:19:28 2009 New Revision: 57589 URL: http://svn.opensuse.org/viewcvs/yast?rev=57589&view=rev Log: autoyast=usb://... could fail to find profile on logical partitions Modified: trunk/autoinstallation/package/autoyast2.changes trunk/autoinstallation/src/include/io.ycp Modified: trunk/autoinstallation/package/autoyast2.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/autoinstallation/package/autoyast2.changes?rev=57589&r1=57588&r2=57589&view=diff ============================================================================== --- trunk/autoinstallation/package/autoyast2.changes (original) +++ trunk/autoinstallation/package/autoyast2.changes Tue Jun 16 15:19:28 2009 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Tue Jun 16 15:16:49 CEST 2009 - ug@suse.de + +- autoyast=usb://... could fail to find profile on logical + partitions + +------------------------------------------------------------------- Tue Jun 16 14:10:29 CEST 2009 - ug@suse.de - cloning striped LVM fixed Modified: trunk/autoinstallation/src/include/io.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/autoinstallation/src/include/io.ycp?rev=57589&r1=57588&r2=57589&view=diff ============================================================================== --- trunk/autoinstallation/src/include/io.ycp (original) +++ trunk/autoinstallation/src/include/io.ycp Tue Jun 16 15:19:28 2009 @@ -247,8 +247,11 @@ if( d["bus"]:"USB" == "SCSI" && haskey(d, "dev_name") ) { integer i = 0; string dev = d["dev_name"]:""; - while( SCR::Read(.target.lstat, dev) != $[] ) { - WFM::Execute(.local.mount, [ dev, mount_point ]); + while( SCR::Read(.target.lstat, dev) != $[] || i < 5 ) { + if( !(boolean)WFM::Execute(.local.mount, [ dev, mount_point ]) ) { + y2milestone("mount failed for %1", dev); + continue; + } if (WFM::Execute (.local.bash, "/bin/cp " + mount_point + "/" + Path + " " + Localfile) != 0) { y2milestone("not found on %1",dev); } else { -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org