Changeset 80
- Timestamp:
- 07/26/05 18:19:20 (3 years ago)
- Files:
-
- trunk/server/base/BUILD (added)
- trunk/server/base/Makefile (modified) (3 diffs)
- trunk/server/base/revoboot/debian/changelog (modified) (1 diff)
- trunk/server/base/revoboot/imgbase/Backup-B/conf.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/server/base/Makefile
r18 r80 4 4 5 5 SRCDIR = ./revoboot 6 DESTDIR = ../dist 7 LBLDIR = ../dist 6 DESTDIR = $(shell pwd)/../dist 7 LRSCD = /tmp/lrscd 8 SHELL = /bin/bash 9 BUILD = $(shell cat BUILD) 10 BUILDRB = $(shell grep VERSION ../../client/src_revoboot/config.h|tr -dc [0-9]) 8 11 9 12 TMPBASE = base.tgz … … 11 14 TODAY = $(shell date '+%Y%m%d') 12 15 13 VERSION=../dist/Version14 15 FILES=`cat $(VERSION) | awk '{print $$1}'`16 LINKS=`cat $(VERSION) | awk '{print $$2}'`17 16 BASE=../base/revoboot/bin 18 17 19 18 all: dist 20 19 21 mini: 20 mini: update_build 22 21 (cd revoboot/bin;tar -czvf ../../bin-miniupdate_$(TODAY).tgz initrd* bzI*) 23 22 24 23 $(TMPBASE): $(REVOBOOT_FILES) 25 24 26 dist: 27 # get the last kernel compile 25 update_build: 28 26 rm -f $(BASE)/revoboot.pxe* 29 27 rm -f $(BASE)/initrd* 30 28 rm -f $(BASE)/bzImage* 31 29 rm -f $(BASE)/lbl.cdrom* 32 (cd $(LBLDIR);rm -f $(LINKS)) 33 (cd $(LBLDIR);while read f l; do if test $$l; then ln -s $$f $$l; fi; done) < $(VERSION) 34 rdev $(LBLDIR)/bzImage.initrd /dev/ram0 35 (cd $(LBLDIR)/; tar -cf - $(FILES) $(LINKS) ) | (cd $(BASE) ; tar -xf -) 30 # get the last kernel compile 31 for i in ../../client/src_kernel/bzImage ../../client/src_initrd/initrd.gz ;do \ 32 [ ! -f $$i.$(BUILD) ] && cp $$i $$i.$(BUILD); \ 33 cp -f $$i.$(BUILD) $(BASE); \ 34 done 35 cp -f ../../client/src_revoboot/revoboot.pxe.$(BUILDRB) $(BASE) 36 (cd $(BASE);\ 37 ln -sf bzImage.$(BUILD) bzImage.initrd;\ 38 ln -sf initrd.gz.$(BUILD) initrd.gz;\ 39 ln -sf revoboot.pxe.$(BUILDRB) revoboot.pxe) 40 rdev $(BASE)/bzImage.initrd /dev/ram0 41 42 dist: update_build 36 43 # latest utilities 37 44 ./copy … … 42 49 tar cvzf $(TMPBASE) --exclude ./revoboot/debian --exclude CVS --exclude .svn $(SRCDIR) 43 50 cp $(TMPBASE) $(DESTDIR)/base_$(TODAY).tgz 44 (cd revoboot;tar -czvf ../$(DESTDIR)/bin-update_$(TODAY).tgz --exclude .svn --exclude BASENUM --exclude CVS bin lib images/data images/templates imgbase)51 (cd revoboot;tar -czvf $(DESTDIR)/base-update_$(TODAY).tgz --exclude .svn --exclude BASENUM --exclude CVS bin lib images/data images/templates imgbase) 45 52 rm $(TMPBASE) 46 53 trunk/server/base/revoboot/debian/changelog
r31 r80 1 lbs (20050 331.1gpl) stable; urgency=low1 lbs (20050726.1gpl) stable; urgency=low 2 2 3 3 * New upstream release trunk/server/base/revoboot/imgbase/Backup-B/conf.txt
r37 r80 3 3 kernel (nd)/tftpboot/revoboot/bin/bzImage.initrd revosavedir=/imgbase/Base-BASENUM quiet 4 4 initrd (nd)/tftpboot/revoboot/bin/initrd.gz 5
