Mailinglist Archive: yast-commit (477 mails)
| < Previous | Next > |
[yast-commit] r57591 - in /branches/tmp/SLE-11-SP1-Stash/autoinstallation: package/autoyast2.changes src/include/io.ycp
- From: ug@xxxxxxxxxxxxxxxx
- Date: Tue, 16 Jun 2009 13:29:37 -0000
- Message-id: <E1MGYjJ-0001Pn-BQ@xxxxxxxxxxxxxxxx>
Author: ug
Date: Tue Jun 16 15:29:36 2009
New Revision: 57591
URL: http://svn.opensuse.org/viewcvs/yast?rev=57591&view=rev
Log:
autoyast=usb://... could fail to find profile on logical partitions (bnc#513536)
Modified:
branches/tmp/SLE-11-SP1-Stash/autoinstallation/package/autoyast2.changes
branches/tmp/SLE-11-SP1-Stash/autoinstallation/src/include/io.ycp
Modified:
branches/tmp/SLE-11-SP1-Stash/autoinstallation/package/autoyast2.changes
URL:
http://svn.opensuse.org/viewcvs/yast/branches/tmp/SLE-11-SP1-Stash/autoinstallation/package/autoyast2.changes?rev=57591&r1=57590&r2=57591&view=diff
==============================================================================
--- branches/tmp/SLE-11-SP1-Stash/autoinstallation/package/autoyast2.changes
(original)
+++ branches/tmp/SLE-11-SP1-Stash/autoinstallation/package/autoyast2.changes
Tue Jun 16 15:29:36 2009
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Tue Jun 16 15:28:58 CEST 2009 - ug@xxxxxxx
+
+- autoyast=usb://... could fail to find profile on logical
+ partitions (bnc#513536)
+
+-------------------------------------------------------------------
Tue Jun 16 13:44:19 CEST 2009 - ug@xxxxxxx
- cloning striped LVM fixed (bnc#513509)
Modified: branches/tmp/SLE-11-SP1-Stash/autoinstallation/src/include/io.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/branches/tmp/SLE-11-SP1-Stash/autoinstallation/src/include/io.ycp?rev=57591&r1=57590&r2=57591&view=diff
==============================================================================
--- branches/tmp/SLE-11-SP1-Stash/autoinstallation/src/include/io.ycp (original)
+++ branches/tmp/SLE-11-SP1-Stash/autoinstallation/src/include/io.ycp Tue Jun
16 15:29:36 2009
@@ -216,8 +216,12 @@
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);
+ i = i + 1;
+ 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@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx
Date: Tue Jun 16 15:29:36 2009
New Revision: 57591
URL: http://svn.opensuse.org/viewcvs/yast?rev=57591&view=rev
Log:
autoyast=usb://... could fail to find profile on logical partitions (bnc#513536)
Modified:
branches/tmp/SLE-11-SP1-Stash/autoinstallation/package/autoyast2.changes
branches/tmp/SLE-11-SP1-Stash/autoinstallation/src/include/io.ycp
Modified:
branches/tmp/SLE-11-SP1-Stash/autoinstallation/package/autoyast2.changes
URL:
http://svn.opensuse.org/viewcvs/yast/branches/tmp/SLE-11-SP1-Stash/autoinstallation/package/autoyast2.changes?rev=57591&r1=57590&r2=57591&view=diff
==============================================================================
--- branches/tmp/SLE-11-SP1-Stash/autoinstallation/package/autoyast2.changes
(original)
+++ branches/tmp/SLE-11-SP1-Stash/autoinstallation/package/autoyast2.changes
Tue Jun 16 15:29:36 2009
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Tue Jun 16 15:28:58 CEST 2009 - ug@xxxxxxx
+
+- autoyast=usb://... could fail to find profile on logical
+ partitions (bnc#513536)
+
+-------------------------------------------------------------------
Tue Jun 16 13:44:19 CEST 2009 - ug@xxxxxxx
- cloning striped LVM fixed (bnc#513509)
Modified: branches/tmp/SLE-11-SP1-Stash/autoinstallation/src/include/io.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/branches/tmp/SLE-11-SP1-Stash/autoinstallation/src/include/io.ycp?rev=57591&r1=57590&r2=57591&view=diff
==============================================================================
--- branches/tmp/SLE-11-SP1-Stash/autoinstallation/src/include/io.ycp (original)
+++ branches/tmp/SLE-11-SP1-Stash/autoinstallation/src/include/io.ycp Tue Jun
16 15:29:36 2009
@@ -216,8 +216,12 @@
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);
+ i = i + 1;
+ 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@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx
| < Previous | Next > |