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 > Ubuntu > Ubuntu User

 
 
LinkBack Thread Tools
 
Old 07-23-2008, 07:15 AM
Alexander Todorov
 
Default loader will always pass the --kickstart option to stage2

diff --git a/loader2/loader.c b/loader2/loader.c
index 3b68a93..052cff9 100644
--- a/loader2/loader.c
+++ b/loader2/loader.c
@@ -2000,6 +2000,11 @@ int main(int argc, char ** argv) {
if (FL_NOIPV6(flags))
*argptr++ = "--noipv6";

+ if (FL_KICKSTART(flags)) {
+ *argptr++ = "--kickstart";
+ *argptr++ = loaderData.ksFile;
+ }
+
if (FL_RESCUE(flags)) {
*argptr++ = "--rescue";
if (FL_SERIAL(flags))
@@ -2020,11 +2025,6 @@ int main(int argc, char ** argv) {
else if (FL_SELINUX(flags))
*argptr++ = "--selinux";

- if (FL_KICKSTART(flags)) {
- *argptr++ = "--kickstart";
- *argptr++ = loaderData.ksFile;
- }
-
if (FL_VIRTPCONSOLE(flags)) {
*argptr++ = "--virtpconsole";
*argptr++ = virtpcon;

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 07-25-2008, 11:35 AM
Alexander Todorov
 
Default loader will always pass the --kickstart option to stage2

Can this one get applied? It's clear we're going to support kickstart in rescue
mode so passing always the --kickstart to stage2 sounds sane now, isn't it?
Even in the case if we choose not to support ks.cfg in rescue mode passing the
parameter doesn't hurt, right?

---
diff --git a/loader2/loader.c b/loader2/loader.c
index 3b68a93..052cff9 100644
--- a/loader2/loader.c
+++ b/loader2/loader.c
@@ -2000,6 +2000,11 @@ int main(int argc, char ** argv) {
if (FL_NOIPV6(flags))
*argptr++ = "--noipv6";

+ if (FL_KICKSTART(flags)) {
+ *argptr++ = "--kickstart";
+ *argptr++ = loaderData.ksFile;
+ }
+
if (FL_RESCUE(flags)) {
*argptr++ = "--rescue";
if (FL_SERIAL(flags))
@@ -2020,11 +2025,6 @@ int main(int argc, char ** argv) {
else if (FL_SELINUX(flags))
*argptr++ = "--selinux";

- if (FL_KICKSTART(flags)) {
- *argptr++ = "--kickstart";
- *argptr++ = loaderData.ksFile;
- }
-
if (FL_VIRTPCONSOLE(flags)) {
*argptr++ = "--virtpconsole";
*argptr++ = virtpcon;



Thanks,
Alexander.

_______________________________________________
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 07:33 PM.

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