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/config-stage1.h | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) (limited to 'mdk-stage1/config-stage1.h') diff --git a/mdk-stage1/config-stage1.h b/mdk-stage1/config-stage1.h index 5d42bab1a..d66fa25dc 100644 --- a/mdk-stage1/config-stage1.h +++ b/mdk-stage1/config-stage1.h @@ -29,23 +29,26 @@ #define LIVE_LOCATION "/Mandrake/mdkinst/" #define RAMDISK_LOCATION "/Mandrake/base/" -#define STAGE2_LOCATION "/tmp/stage2" +#define SLASH_LOCATION "/sysroot" +#define STAGE2_LOCATION SLASH_LOCATION "/tmp/stage2" #ifdef MANDRAKE_MOVE #define MEM_LIMIT_MOVE 120 #define DISTRIB_NAME "Mandrakemove" -#define IMAGE_LOCATION "/sysroot/cdrom" -#define IMAGE_LOCATION_REAL "/sysroot/image" -#define SLASH_LOCATION "/sysroot" +#define IMAGE_LOCATION SLASH_LOCATION "/cdrom" +#define IMAGE_LOCATION_REAL SLASH_LOCATION "/image" #define RAW_LOCATION_REL "/cdrom" -#define LIVE_LOCATION_REL "/image" -#define BOOT_LOCATION "/sysroot/image_boot" -#define ALWAYS_LOCATION "/sysroot/image_always" -#define TOTEM_LOCATION "/sysroot/image_totem" +#define STAGE2_LOCATION_REL "/image" +#define BOOT_LOCATION SLASH_LOCATION "/image_boot" +#define ALWAYS_LOCATION SLASH_LOCATION "/image_always" +#define TOTEM_LOCATION SLASH_LOCATION "/image_totem" + #else + #define DISTRIB_NAME "Mandrake Linux" -#define IMAGE_LOCATION "/tmp/image" +#define IMAGE_LOCATION SLASH_LOCATION "/tmp/image" #define IMAGE_LOCATION_REAL "/tmp/image" +#define STAGE2_LOCATION_REL "/tmp/stage2" #endif -- cgit v1.2.1