mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-13 04:22:58 +02:00
Fix devel-images build
This commit is contained in:
@@ -242,6 +242,7 @@
|
||||
* 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
|
||||
@@ -266,7 +267,7 @@
|
||||
* 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
|
||||
|
||||
@@ -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)
|
||||
|
||||
4
make.sh
4
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
|
||||
|
||||
Reference in New Issue
Block a user