summaryrefslogtreecommitdiffstats
path: root/loader2/cdinstall.c
diff options
context:
space:
mode:
Diffstat (limited to 'loader2/cdinstall.c')
-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 */