diff --git a/loader2/loader.c b/loader2/loader.c
index 91dbbe1..db22da3 100644
--- a/loader2/loader.c
+++ b/loader2/loader.c
@@ -99,6 +99,8 @@
/* maximum number of extra arguments that can be passed to the second stage */
#define MAX_EXTRA_ARGS 128
static char * extraArgs[MAX_EXTRA_ARGS];
+char **cmdline_argv = NULL;
+int cmdline_argc = 0;
static int hasGraphicalOverride();
+ /* Save for later use by other functions */
+ cmdline_argv = argv;
+ cmdline_argc = argc;
+
/* we want to default to graphical and allow override with 'text' */
flags |= LOADER_FLAGS_GRAPHICAL;
--
1.7.4
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list