From e79950d93af06b735b86548120dc60b2c5be6ee0 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Thu, 13 May 2004 08:34:50 +0000 Subject: instead of keeping stage1 (mostly as temporary space but with a fixed size, and for the background init), exit the stage1 giving hand to stage2 in a tmpfs (same as what was done for Mandrakemove) --- mdk-stage1/dhcp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mdk-stage1/dhcp.c') diff --git a/mdk-stage1/dhcp.c b/mdk-stage1/dhcp.c index 3dbefa0bb..d55bc04dd 100644 --- a/mdk-stage1/dhcp.c +++ b/mdk-stage1/dhcp.c @@ -213,7 +213,7 @@ static void parse_reply(struct bootp_request * breq, struct interface_info * int if (breq->bootfile && strlen(breq->bootfile) > 0) { if (IS_NETAUTO) - stage2_kickstart = strdup(breq->bootfile); + add_to_env("KICKSTART", breq->bootfile); else log_message("warning: ignoring `bootfile' DHCP server parameter, since `netauto' boot parameter was not given; reboot with `linux netauto' (and anymore useful boot parameters) if you want `bootfile' to be used as a `auto_inst.cfg.pl' stage2 configuration file"); } -- cgit v1.2.1