summaryrefslogtreecommitdiffstats
path: root/loader2
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2007-11-19 14:50:41 -0500
committerChris Lumens <clumens@redhat.com>2007-11-19 14:50:41 -0500
commit4902731000bebfdadeb5ef0bb5a869f92ec4554a (patch)
treef811f93b21af29252cb7a29de94721ada6d55528 /loader2
parentc9900b914449f732c185e821c6486a8ef485b8a2 (diff)
downloadanaconda-4902731000bebfdadeb5ef0bb5a869f92ec4554a.tar.gz
anaconda-4902731000bebfdadeb5ef0bb5a869f92ec4554a.tar.xz
anaconda-4902731000bebfdadeb5ef0bb5a869f92ec4554a.zip
Only run media check if we're installing off the CD (#362561).
Diffstat (limited to 'loader2')
-rw-r--r--loader2/cdinstall.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/loader2/cdinstall.c b/loader2/cdinstall.c
index a4c7eedaa..e1f88e2eb 100644
--- a/loader2/cdinstall.c
+++ b/loader2/cdinstall.c
@@ -356,7 +356,8 @@ char * setupCdrom(char * location, struct loaderData_s * loaderData,
}
/* do the media check */
- queryCDMediaCheck(devices[i]->device, location);
+ if (requirepkgs)
+ queryCDMediaCheck(devices[i]->device, location);
/* if in rescue mode and we copied stage2 to RAM */
/* we can now unmount the CD */