summaryrefslogtreecommitdiffstats
path: root/mdk-stage1
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-11-04 13:01:45 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-11-04 13:01:45 +0000
commit66e056989f225fcf0edc751b40b17bf1c1190f39 (patch)
treec3103a9d19b40db0b4841efb1941f73abab258d4 /mdk-stage1
parentf990efc31615da523ba99809dc1c771b8555d3a1 (diff)
downloaddrakx-66e056989f225fcf0edc751b40b17bf1c1190f39.tar
drakx-66e056989f225fcf0edc751b40b17bf1c1190f39.tar.gz
drakx-66e056989f225fcf0edc751b40b17bf1c1190f39.tar.bz2
drakx-66e056989f225fcf0edc751b40b17bf1c1190f39.tar.xz
drakx-66e056989f225fcf0edc751b40b17bf1c1190f39.zip
MODE_RAMDISK is now unused
Diffstat (limited to 'mdk-stage1')
-rw-r--r--mdk-stage1/stage1.h2
-rw-r--r--mdk-stage1/tools.c2
2 files changed, 0 insertions, 4 deletions
diff --git a/mdk-stage1/stage1.h b/mdk-stage1/stage1.h
index 1d6fb9413..99bc1b485 100644
--- a/mdk-stage1/stage1.h
+++ b/mdk-stage1/stage1.h
@@ -35,7 +35,6 @@ extern char * interactive_fifo;
#define MODE_RESCUE (1 << 3)
#define MODE_AUTOMATIC (1 << 4)
#define MODE_DEBUGSTAGE1 (1 << 6)
-#define MODE_RAMDISK (1 << 9)
#define MODE_CHANGEDISK (1 << 10)
#define MODE_UPDATEMODULES (1 << 11)
#define MODE_NOAUTO (1 << 12)
@@ -47,7 +46,6 @@ extern char * interactive_fifo;
#define IS_RESCUE (get_param(MODE_RESCUE))
#define IS_AUTOMATIC (get_param(MODE_AUTOMATIC))
#define IS_DEBUGSTAGE1 (get_param(MODE_DEBUGSTAGE1))
-#define IS_RAMDISK (get_param(MODE_RAMDISK))
#define IS_CHANGEDISK (get_param(MODE_CHANGEDISK))
#define IS_UPDATEMODULES (get_param(MODE_UPDATEMODULES))
#define IS_NOAUTO (get_param(MODE_NOAUTO))
diff --git a/mdk-stage1/tools.c b/mdk-stage1/tools.c
index ddc939012..eeef7e8d7 100644
--- a/mdk-stage1/tools.c
+++ b/mdk-stage1/tools.c
@@ -354,8 +354,6 @@ enum return_type load_ramdisk_fd(int ramdisk_fd, int size)
if (my_mount(ramdisk, STAGE2_LOCATION, "ext2", 1))
return RETURN_ERROR;
- set_param(MODE_RAMDISK);
-
if (IS_RESCUE) {
save_stuff_for_rescue();
if (umount(STAGE2_LOCATION)) {