summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index c0d340d6c..88ee6e013 100644
--- a/Makefile
+++ b/Makefile
@@ -26,7 +26,7 @@ UPLOAD_DEST_CONTRIB = $(UPLOAD_DEST_)/contrib
AUTOBOOT = $(ROOTDEST)/dosutils/autoboot/mdkinst
-.PHONY: dirs $(FLOPPY_IMG)
+.PHONY: dirs $(FLOPPY_IMG) install
install: build autoboot
for i in images misc Mandrake Mandrake/base; do install -d $(ROOTDEST)/$$i ; done
@@ -34,6 +34,12 @@ install: build autoboot
ifeq (alpha,$(ARCH))
cp -f $(BOOT_RDZ) $(ROOTDEST)/boot
cp -f vmlinux.gz $(ROOTDEST)/boot/instboot.gz
+ sudo install -d /mnt/loop
+ for i in $(ROOTDEST)/images/disks/*; do \
+ sudo mount $$i /mnt/loop -o loop ;\
+ sudo cp -f vmlinux.gz /mnt/loop ;\
+ sudo umount $$i ;\
+ done
make -C tools/$(ARCH)/cd install ROOTDEST=$(ROOTDEST)
endif
make -C perl-install full_stage2