FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora User

 
 
LinkBack Thread Tools
 
Old 02-10-2010, 09:14 PM
David Cantrell
 
Default Prompt user for install method when going back to STEP_METHOD.

In STEP_DRIVER, if the user selects Back from the dialog saying no
devices of that type were found, we go back to STEP_LANG. The problem
is that loaderData->method isn't reset to 1 in STEP_DRIVER when we go
back to STEP_METHOD. That causes us to skip over the method selection
and since dir is still -1, we go back up to STEP_LANG.
---
loader/loader.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/loader/loader.c b/loader/loader.c
index 1729af1..b42eb71 100644
--- a/loader/loader.c
+++ b/loader/loader.c
@@ -1399,6 +1399,7 @@ static char *doLoaderMain(struct loaderData_s *loaderData,
break;
} else if (rc == 3) {
step = STEP_METHOD;
+ loaderData->method = -1;
dir = -1;
break;
}
--
1.6.6

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 02-11-2010, 07:29 AM
Ales Kozumplik
 
Default Prompt user for install method when going back to STEP_METHOD.

Ack.

On 02/10/2010 11:14 PM, David Cantrell wrote:

In STEP_DRIVER, if the user selects Back from the dialog saying no
devices of that type were found, we go back to STEP_LANG. The problem
is that loaderData->method isn't reset to 1 in STEP_DRIVER when we go
back to STEP_METHOD. That causes us to skip over the method selection
and since dir is still -1, we go back up to STEP_LANG.
---
loader/loader.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/loader/loader.c b/loader/loader.c
index 1729af1..b42eb71 100644
--- a/loader/loader.c
+++ b/loader/loader.c
@@ -1399,6 +1399,7 @@ static char *doLoaderMain(struct loaderData_s *loaderData,
break;
} else if (rc == 3) {
step = STEP_METHOD;
+ loaderData->method = -1;
dir = -1;
break;
}


_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 10:18 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org