mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 08:12:05 +00:00
Adding support for user comments, mozconfig.
This commit is contained in:
parent
f437cac002
commit
13d4e4e415
@ -18,7 +18,7 @@ use POSIX qw(sys_wait_h strftime);
|
||||
use Cwd;
|
||||
use File::Basename; # for basename();
|
||||
use Config; # for $Config{sig_name} and $Config{sig_num}
|
||||
$::UtilsVersion = '$Revision: 1.37 $ ';
|
||||
$::UtilsVersion = '$Revision: 1.38 $ ';
|
||||
|
||||
package TinderUtils;
|
||||
|
||||
@ -581,6 +581,11 @@ sub BuildIt {
|
||||
print_log "current dir is -- " . $ENV{HOST} . ":$build_dir\n";
|
||||
print_log "Build Administrator is $Settings::BuildAdministrator\n";
|
||||
|
||||
# Print user comment if there is one.
|
||||
if ($Settings::UserComment) {
|
||||
print_log "$Settings::UserComment\n";
|
||||
}
|
||||
|
||||
# System id
|
||||
print_log "uname -a = " . `uname -a`;
|
||||
|
||||
|
@ -42,6 +42,10 @@ $Tinderbox_server = 'tinderbox-daemon@tinderbox.mozilla.org';
|
||||
#- Set if you want to build in a separate object tree
|
||||
$ObjDir = '';
|
||||
|
||||
# User comment, eg. ip address for dhcp builds.
|
||||
# ex: $UserComment = "ip = 208.12.36.108";
|
||||
$UserComment = 0;
|
||||
|
||||
#-
|
||||
#- The rest should not need to be changed
|
||||
#-
|
||||
|
@ -26,7 +26,10 @@
|
||||
# Assumes that at most two tinderboxes are running
|
||||
# simultaneously, depend and clobber.
|
||||
#
|
||||
# Assumes that if mozconfig exists, use it.
|
||||
# Assumes that if mozconfig exists, use it. Format:
|
||||
# mk_add_options MOZ_MAKE_FLAGS=j8
|
||||
# ac_add_options --disable-debug
|
||||
# ac_add_options --enable-optimize
|
||||
#
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user