From a01fc4746ba7fa8257e94300b4396fd6c4662f4f Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Mon, 16 Feb 2009 00:11:51 +0100 Subject: [PATCH 1/1] Add core version to all imagenames --- lfs/cdrom | 4 +--- lfs/usb-stick | 4 ++-- make.sh | 2 ++ tools/make-functions | 1 + 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/lfs/cdrom b/lfs/cdrom index 45de6f7a7..0773547ae 100644 --- a/lfs/cdrom +++ b/lfs/cdrom @@ -48,8 +48,6 @@ md5 : $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) rm -rf /install/cdrom /tmp/* - cp -f $(DIR_SRC)/config/rootfiles/cdrom_corever /opt/pakfire/db/core/mine - # Compress root filesystem # Reason for this tar+untar+tar is removing of entries listed two or more in src/ROOTFILES mkdir -p /install/cdrom/doc @@ -91,4 +89,4 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) xargs md5sum > md5sum.txt; \ cd /install/cdrom && mkisofs -J -r -V "$(NAME)_$(VERSION)" \ -b boot/isolinux/isolinux.bin -no-emul-boot -boot-load-size 4 -boot-info-table \ - -c boot/isolinux/boot.catalog . > /install/images/$(SNAME)-$(VERSION).$(MACHINE)-$(ED).iso + -c boot/isolinux/boot.catalog . > /install/images/$(SNAME)-$(VERSION).$(MACHINE)-$(ED)-core$(CORE).iso diff --git a/lfs/usb-stick b/lfs/usb-stick index 29486103b..76b97024f 100644 --- a/lfs/usb-stick +++ b/lfs/usb-stick @@ -44,8 +44,8 @@ md5 : ############################################################################### # Installation Details ############################################################################### -IMGfdd := /install/images/$(SNAME)-$(VERSION)-install-usb-fdd.$(MACHINE).img -IMGhdd := /install/images/$(SNAME)-$(VERSION)-install-usb-hdd.$(MACHINE).img +IMGfdd := /install/images/$(SNAME)-$(VERSION)-install-usb-fdd.$(MACHINE)-$(ED)-core$(CORE).img +IMGhdd := /install/images/$(SNAME)-$(VERSION)-install-usb-hdd.$(MACHINE)-$(ED)-core$(CORE).img IMGfs := /install/images/fs ifeq "$(ED)" "devel" diff --git a/make.sh b/make.sh index 2f938dd7a..5263f5c7d 100755 --- a/make.sh +++ b/make.sh @@ -25,6 +25,7 @@ NAME="IPFire" # Software name SNAME="ipfire" # Short name VERSION="2.3" +CORE="27" GIT_BRANCH=master:master # Version number SLOGAN="www.ipfire.org" # Software slogan CONFIG_ROOT=/var/ipfire # Configuration rootdir @@ -597,6 +598,7 @@ buildipfire() { git status >> $BASEDIR/build/var/ipfire/firebuild echo >> $BASEDIR/build/var/ipfire/firebuild cat /proc/cpuinfo >> $BASEDIR/build/var/ipfire/firebuild + echo $(CORE) > $BASEDIR/build/opt/pakfire/db/core/mine } buildinstaller() { diff --git a/tools/make-functions b/tools/make-functions index a357d0620..00d7d337c 100644 --- a/tools/make-functions +++ b/tools/make-functions @@ -397,6 +397,7 @@ ipfiremake() { TERM=$TERM PS1='\u:\w\$ ' \ PATH=/usr/local/bin:/bin:/usr/bin:/sbin:/usr/sbin \ VERSION=$VERSION \ + CORE=$CORE \ CONFIG_ROOT=$CONFIG_ROOT \ NAME="$NAME" SNAME="$SNAME" SLOGAN="$SLOGAN" \ CFLAGS="$C2FLAGS" CXXFLAGS="$CXX2FLAGS" \ -- 2.39.2