From aa4337b2eea96e677e4e94f9f474620d6a023dc3 Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Thu, 12 Apr 2001 22:13:38 +0000 Subject: work when I have no alternatives kernel --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index a6c79c9a9..c236fb65f 100644 --- a/Makefile +++ b/Makefile @@ -43,9 +43,11 @@ ifeq (alpha,$(ARCH)) cp -f vmlinux.gz $(ROOTDEST)/boot/instboot.gz make -C tools/$(ARCH)/cd install ROOTDEST=$(ROOTDEST) endif - cd $(ROOTDEST)/images; rm -rf alternatives ; mkdir alternatives ; mv *.img-* alternatives + cd $(ROOTDEST)/images; rm -rf alternatives + if [ `ls $(ROOTDEST)/images/*.img-* 2>/dev/null | wc -l` -gt 0 ]; then \ + cd $(ROOTDEST)/images; mkdir alternatives; cd alternatives; mv ../*.img-* .; md5sum *.img-* > MD5SUM; \ + fi cd $(ROOTDEST)/images; md5sum *.img* > MD5SUM - cd $(ROOTDEST)/images/alternatives; md5sum *.img* > MD5SUM install live_update $(ROOTDEST)/live_update make -C perl-install full_stage2 -- cgit v1.2.1