summaryrefslogtreecommitdiffstats
path: root/rescue/Makefile
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2001-06-10 21:08:33 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2001-06-10 21:08:33 +0000
commit5e08e5a12f3a890b9622e7fe9c6ec96d7aff4b41 (patch)
tree0bd479dbe1cbff81634a1d73aaae1378bdd95fa4 /rescue/Makefile
parent7602c9f67bac536046cc9ab34f254cae35b72eef (diff)
downloaddrakx-5e08e5a12f3a890b9622e7fe9c6ec96d7aff4b41.tar
drakx-5e08e5a12f3a890b9622e7fe9c6ec96d7aff4b41.tar.gz
drakx-5e08e5a12f3a890b9622e7fe9c6ec96d7aff4b41.tar.bz2
drakx-5e08e5a12f3a890b9622e7fe9c6ec96d7aff4b41.tar.xz
drakx-5e08e5a12f3a890b9622e7fe9c6ec96d7aff4b41.zip
- add 'guessmounts' that mimics RH's detecting of partitions when rescue starts
Diffstat (limited to 'rescue/Makefile')
-rw-r--r--rescue/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/rescue/Makefile b/rescue/Makefile
index 4d3015b81..59de38f3d 100644
--- a/rescue/Makefile
+++ b/rescue/Makefile
@@ -1,9 +1,13 @@
+ARCH := $(patsubst i%86,i386,$(shell uname -m))
+ARCH := $(patsubst sparc%,sparc,$(ARCH))
+
+
ROOTDEST = /export
install: rescue_stage2.bz2
cp -f $< $(ROOTDEST)/Mandrake/base
-rescue_stage2.bz2: kernel_read_part list
+rescue_stage2.bz2: kernel_read_part list list.$(ARCH) drvinst guessmounts make_rescue_img
./make_rescue_img
clean: