Remove /var/ipfire/firebuild.

This file provides lots of bogous information and information
about the build system that is not of much interest.
This commit is contained in:
Michael Tremer
2013-09-30 21:00:15 +02:00
parent 0d655f6cd5
commit e2eb09157e
4 changed files with 1 additions and 19 deletions

View File

@@ -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 = <MYFile>;
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`;

View File

@@ -1,3 +1,2 @@
#etc/system-release
#opt/pakfire/db/core/mine
#var/ipfire/firebuild

View File

@@ -199,5 +199,4 @@ var/ipfire/wakeonlan
var/ipfire/wireless
#var/ipfire/wireless/config
#var/ipfire/wireless/settings
var/ipfire/firebuild
etc/system-release

View File

@@ -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=""