mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
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:
@@ -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`;
|
||||
|
||||
@@ -1,3 +1,2 @@
|
||||
#etc/system-release
|
||||
#opt/pakfire/db/core/mine
|
||||
#var/ipfire/firebuild
|
||||
|
||||
@@ -199,5 +199,4 @@ var/ipfire/wakeonlan
|
||||
var/ipfire/wireless
|
||||
#var/ipfire/wireless/config
|
||||
#var/ipfire/wireless/settings
|
||||
var/ipfire/firebuild
|
||||
etc/system-release
|
||||
|
||||
9
make.sh
9
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=""
|
||||
|
||||
Reference in New Issue
Block a user