]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
Fix devel-images build
authorArne Fitzenreiter <arne_f@ipfire.org>
Mon, 22 Dec 2008 14:33:24 +0000 (15:33 +0100)
committerArne Fitzenreiter <arne_f@ipfire.org>
Mon, 22 Dec 2008 14:33:24 +0000 (15:33 +0100)
doc/packages-list.txt
lfs/usb-stick
make.sh

index 061af4173deaea3ed97352f69b496b96dbf6a9fb..7c8f6b68f5decaa577f8dde7ed22367bc221d7f8 100644 (file)
 * portmap_5beta
 * postfix-2.5.5
 * ppp-2.4.4
+* pptp-1.7.2
 * procps-3.2.6
 * psmisc-22.2
 * qemu-0.9.1
 * snort-2.6.1.5
 * sox-12.18.1
 * spandsp-0.0.4pre15
-* splix-1.1.1
+* splix-2.0.0-rc2
 * squashfs3.4
 * squid-2.7.STABLE5
 * squidGuard-1.3
index 6a62e271903e90d7e30a156ecfc14f0b8640d123..29486103b5c412b1d0d613f94054e40c0dadee20 100644 (file)
@@ -48,6 +48,12 @@ IMGfdd := /install/images/$(SNAME)-$(VERSION)-install-usb-fdd.$(MACHINE).img
 IMGhdd := /install/images/$(SNAME)-$(VERSION)-install-usb-hdd.$(MACHINE).img
 IMGfs  := /install/images/fs
 
+ifeq "$(ED)" "devel"
+       DISKSIZE=480000
+else
+       DISKSIZE=120000
+endif
+
 define COPY_TO_IMG
        mkdosfs -n IPFIRE -F 16 -I $$IMAGE && \
        for i in /0 `seq 0 7`; do \
@@ -80,7 +86,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        # Partitionned images : make a file system bigger than iso size
        # that fit on 128MB key to let free space available
        # on the unique partition. Image will be compressed later
-       dd bs=1k if=/dev/zero of=$(IMGfs) count=120000
+       dd bs=1k if=/dev/zero of=$(IMGfs) count=$(DISKSIZE)
        IMAGE=$(IMGfs); $(COPY_TO_IMG)
        
        # usb-hdd (64 heads, 32 sectors geometry, on a partition 1)
diff --git a/make.sh b/make.sh
index d1eecd0ca4bc12c52c5aa3f671b695d40586d6ae..36fd5a051ae603bf503ccb22eefb03500d705997 100755 (executable)
--- a/make.sh
+++ b/make.sh
@@ -662,11 +662,11 @@ buildpackages() {
   $0 git log
 
   # Create images for install
-       ipfiremake cdrom ED=full
+       ipfiremake cdrom ED=$IPFVER
        
   # Check if there is a loop device for building in virtual environments
   if [ -e /dev/loop/0 ] || [ -e /dev/loop0 ]; then
-       ipfiremake usb-stick
+       ipfiremake usb-stick ED=$IPFVER
   fi
 
   # Create updater package