From e2eb09157ee4e40b383319cfcf16ad69fc5d73d5 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Mon, 30 Sep 2013 21:00:15 +0200 Subject: [PATCH] Remove /var/ipfire/firebuild. This file provides lots of bogous information and information about the build system that is not of much interest. --- config/cfgroot/header.pl | 9 --------- config/rootfiles/common/armv5tel/installer | 1 - config/rootfiles/common/configroot | 1 - make.sh | 9 +-------- 4 files changed, 1 insertion(+), 19 deletions(-) diff --git a/config/cfgroot/header.pl b/config/cfgroot/header.pl index fb5748222..299d76645 100644 --- a/config/cfgroot/header.pl +++ b/config/cfgroot/header.pl @@ -88,15 +88,6 @@ if ( -d "/var/ipfire/langs/${language}/" ) { }; }; -### Read IPFire Buildversion -$FIREBUILD = "File not found: firebuild\n"; -if (open(MYFile, "<${swroot}/firebuild")) { - $FIREBUILD = ; - chomp($FIREBUILD); - $FIREBUILD = "(Build: $FIREBUILD)"; - close(MYFile); -}; - require "${swroot}/langs/en.pl"; require "${swroot}/langs/${language}.pl"; eval `/bin/cat /srv/web/ipfire/html/themes/$settings{'THEME'}/include/functions.pl`; diff --git a/config/rootfiles/common/armv5tel/installer b/config/rootfiles/common/armv5tel/installer index ef5e90154..59b5a022a 100644 --- a/config/rootfiles/common/armv5tel/installer +++ b/config/rootfiles/common/armv5tel/installer @@ -1,3 +1,2 @@ #etc/system-release #opt/pakfire/db/core/mine -#var/ipfire/firebuild diff --git a/config/rootfiles/common/configroot b/config/rootfiles/common/configroot index 0e2cbb67b..07916611e 100644 --- a/config/rootfiles/common/configroot +++ b/config/rootfiles/common/configroot @@ -199,5 +199,4 @@ var/ipfire/wakeonlan var/ipfire/wireless #var/ipfire/wireless/config #var/ipfire/wireless/settings -var/ipfire/firebuild etc/system-release diff --git a/make.sh b/make.sh index 5cea8bb72..e80a95108 100755 --- a/make.sh +++ b/make.sh @@ -773,14 +773,7 @@ buildipfire() { ipfiremake wavemon ipfiremake iptraf-ng ipfiremake iotop - echo Build on $HOSTNAME > $BASEDIR/build/var/ipfire/firebuild - cat /proc/version >> $BASEDIR/build/var/ipfire/firebuild - echo >> $BASEDIR/build/var/ipfire/firebuild - git log -1 >> $BASEDIR/build/var/ipfire/firebuild - echo >> $BASEDIR/build/var/ipfire/firebuild - git status >> $BASEDIR/build/var/ipfire/firebuild - echo >> $BASEDIR/build/var/ipfire/firebuild - cat /proc/cpuinfo >> $BASEDIR/build/var/ipfire/firebuild + echo $PAKFIRE_CORE > $BASEDIR/build/opt/pakfire/db/core/mine if [ "$(git status -s | wc -l)" == "0" ]; then GIT_STATUS="" -- 2.39.2