summaryrefslogtreecommitdiffstats
path: root/mdk-stage1
diff options
context:
space:
mode:
authorColin Guthrie <colin@mageia.org>2013-10-19 19:06:42 +0100
committerColin Guthrie <colin@mageia.org>2013-10-29 20:25:59 +0000
commitacc1cc950e31bd02fda968bb6c40f85efa7bc3a2 (patch)
tree5e0d665e1e0552b69bcb0ecab63e519ff30b584d /mdk-stage1
parentdb29bcb5503f4ddc3dc367a27a503e2f27f5b1d1 (diff)
downloaddrakx-acc1cc950e31bd02fda968bb6c40f85efa7bc3a2.tar
drakx-acc1cc950e31bd02fda968bb6c40f85efa7bc3a2.tar.gz
drakx-acc1cc950e31bd02fda968bb6c40f85efa7bc3a2.tar.bz2
drakx-acc1cc950e31bd02fda968bb6c40f85efa7bc3a2.tar.xz
drakx-acc1cc950e31bd02fda968bb6c40f85efa7bc3a2.zip
stage1: Do not hard code STAGE2 path
Diffstat (limited to 'mdk-stage1')
-rw-r--r--mdk-stage1/ka.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdk-stage1/ka.c b/mdk-stage1/ka.c
index 670abe5af..7b9d98fbe 100644
--- a/mdk-stage1/ka.c
+++ b/mdk-stage1/ka.c
@@ -44,7 +44,7 @@ static void my_pause(void) {
static enum return_type ka_wait_for_stage2(int count)
{
char * ramdisk = "/dev/ram3"; /* warning, verify that this file exists in the initrd*/
- char * ka_launch[] = { "/ka/ka-d-client", "-w","-s","getstage2","-e","(cd /tmp/stage2; tar -x -f - )", NULL }; /* The command line for ka_launch */
+ char * ka_launch[] = { "/ka/ka-d-client", "-w","-s","getstage2","-e","(cd " STAGE2_LOCATION "; tar -x -f - )", NULL }; /* The command line for ka_launch */
char * mkfs_launch[] = { "/sbin/mke2fs", "-m", "0", ramdisk, NULL}; /* The mkfs command for formating the ramdisk */
log_message("KA: Preparing to receive stage 2....");