diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2001-04-12 22:13:38 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2001-04-12 22:13:38 +0000 |
commit | aa4337b2eea96e677e4e94f9f474620d6a023dc3 (patch) | |
tree | fe1e65c537297db90f7a77ac26576aabaf53d1ab | |
parent | cfbdfbe13b73fd6e1d92eb5702aea667b7d1cc2c (diff) | |
download | drakx-aa4337b2eea96e677e4e94f9f474620d6a023dc3.tar drakx-aa4337b2eea96e677e4e94f9f474620d6a023dc3.tar.gz drakx-aa4337b2eea96e677e4e94f9f474620d6a023dc3.tar.bz2 drakx-aa4337b2eea96e677e4e94f9f474620d6a023dc3.tar.xz drakx-aa4337b2eea96e677e4e94f9f474620d6a023dc3.zip |
work when I have no alternatives kernel
-rw-r--r-- | Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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 |