summaryrefslogtreecommitdiffstats
path: root/loader
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2000-12-01 16:44:06 +0000
committerMike Fulbright <msf@redhat.com>2000-12-01 16:44:06 +0000
commite4e3aa002d7011f79475d70944169446dba2a702 (patch)
tree4dc5a2fa6182ab29e64d8b49093679f4080c5341 /loader
parent0c82aacb46e8ed9b9a332d2caff1874bf7351876 (diff)
downloadanaconda-e4e3aa002d7011f79475d70944169446dba2a702.tar.gz
anaconda-e4e3aa002d7011f79475d70944169446dba2a702.tar.xz
anaconda-e4e3aa002d7011f79475d70944169446dba2a702.zip
Added loader support for --lowres mode of anaconda
Diffstat (limited to 'loader')
-rw-r--r--loader/loader.c4
-rw-r--r--loader/loader.h2
2 files changed, 6 insertions, 0 deletions
diff --git a/loader/loader.c b/loader/loader.c
index 2e8be2a93..69c81f1f6 100644
--- a/loader/loader.c
+++ b/loader/loader.c
@@ -1933,6 +1933,8 @@ static int parseCmdLineFlags(int flags, char * cmdLine, char ** ksSource,
LOADER_FLAGS_MODDISK;
else if (!strcasecmp(argv[i], "noshell"))
flags |= LOADER_FLAGS_NOSHELL;
+ else if (!strcasecmp(argv[i], "lowres"))
+ flags |= LOADER_FLAGS_LOWRES;
else if (!strcasecmp(argv[i], "nousb"))
flags |= LOADER_FLAGS_NOUSB;
else if (!strcasecmp(argv[i], "noprobe"))
@@ -2796,6 +2798,8 @@ logMessage("found url image %s", url);
*argptr++ = "-T";
if (FL_EXPERT(flags))
*argptr++ = "--expert";
+ if (FL_LOWRES(flags))
+ *argptr++ = "--lowres";
if (FL_KICKSTART(flags)) {
*argptr++ = "--kickstart";
diff --git a/loader/loader.h b/loader/loader.h
index 60c9551a8..2d1d229fb 100644
--- a/loader/loader.h
+++ b/loader/loader.h
@@ -21,6 +21,7 @@
#define LOADER_FLAGS_KSNFS (1 << 15)
#define LOADER_FLAGS_NOUSB (1 << 16)
#define LOADER_FLAGS_NOSHELL (1 << 17)
+#define LOADER_FLAGS_LOWRES (1 << 18)
#define FL_TESTING(a) ((a) & LOADER_FLAGS_TESTING)
#define FL_EXPERT(a) ((a) & LOADER_FLAGS_EXPERT)
@@ -40,6 +41,7 @@
#define FL_KSNFS(a) ((a) & LOADER_FLAGS_KSNFS)
#define FL_NOUSB(a) ((a) & LOADER_FLAGS_NOUSB)
#define FL_NOSHELL(a) ((a) & LOADER_FLAGS_NOSHELL)
+#define FL_LOWRES(a) ((a) & LOADER_FLAGS_LOWRES)
#define CODE_PCMCIA 1