merge config files; all setting can be overwritten by putting them into ezbuild.conf or ezsync.conf

このコミットが含まれているのは:
belliash 2012-01-10 10:52:50 +01:00
コミット 1c9f883f15
4個のファイルの変更31行の追加58行の削除

29
config/common.conf ノーマルファイル
ファイルの表示

@ -0,0 +1,29 @@
# A time designation representing the time in seconds that you allow the connection to
# the server to take. This only limits the connection phase, once curl has connected
# this option is of no more use. Setting a timeout to 0 disables it altogether. Unless
# you know what you are doing, it is best not to change the default timeout settings.
FETCHTIMEOUT="180"
# Sets the number of times EzBuild will attempt to download files and retrieve portage
# and overlays before it exits with an error. This allows for a more successful retrieval
# without user intervention most times.
FETCHTRIES="3"
# Specifies where EzBuild will store everything that it builds, and also where it will
# put all its temporary files and caches.
TEMPDIR="/var/tmp/ezbuild"
# When enabled, causes EzBuild to save every information about progress and all executed
# commands output in the log file. This might provide many useful information necessary
# for debugging purposes.
LOGGING="yes"
# Using this, the default log date format can be changed according to the requirement.
# This customizable format may be needed when you want to perform analysis on the logs
# stored in the log file.
LOGDATEFORMAT="%d/%m/%Y %H:%M:%S"
# Specifies an e-mail address, where all notifications will be sent to. If this variable
# is empty, none notification will be sent at all. This option requires logging to be
# also enabled.
NOTIFY=""

ファイルの表示

@ -1,29 +0,0 @@
# A time designation representing the time in seconds that you allow the connection to
# the server to take. This only limits the connection phase, once curl has connected
# this option is of no more use. Setting a timeout to 0 disables it altogether. Unless
# you know what you are doing, it is best not to change the default timeout settings.
FETCHTIMEOUT="180"
# Sets the number of times EzBuild will attempt to download files and retrieve portage
# and overlays before it exits with an error. This allows for a more successful retrieval
# without user intervention most times.
FETCHTRIES="3"
# Specifies where EzBuild will store everything that it builds, and also where it will
# put all its temporary files and caches.
TEMPDIR="/var/tmp/ezbuild"
# When enabled, causes EzBuild to save every information about progress and all executed
# commands output in the log file. This might provide many useful information necessary
# for debugging purposes.
LOGGING="yes"
# Using this, the default log date format can be changed according to the requirement.
# This customizable format may be needed when you want to perform analysis on the logs
# stored in the log file.
LOGDATEFORMAT="%d/%m/%Y %H:%M:%S"
# Specifies an e-mail address, where all notifications will be sent to. If this variable
# is empty, none notification will be sent at all. This option requires logging to be
# also enabled.
NOTIFY=""

ファイルの表示

@ -1,29 +0,0 @@
# A time designation representing the time in seconds that you allow the connection to
# the server to take. This only limits the connection phase, once curl has connected
# this option is of no more use. Setting a timeout to 0 disables it altogether. Unless
# you know what you are doing, it is best not to change the default timeout settings.
FETCHTIMEOUT="180"
# Sets the number of times EzBuild will attempt to download files and retrieve portage
# and overlays before it exits with an error. This allows for a more successful retrieval
# without user intervention most times.
FETCHTRIES="3"
# Specifies where EzBuild will store everything that it builds, and also where it will
# put all its temporary files and caches.
TEMPDIR="/var/tmp/ezbuild"
# When enabled, causes EzBuild to save every information about progress and all executed
# commands output in the log file. This might provide many useful information necessary
# for debugging purposes.
LOGGING="yes"
# Using this, the default log date format can be changed according to the requirement.
# This customizable format may be needed when you want to perform analysis on the logs
# stored in the log file.
LOGDATEFORMAT="%d/%m/%Y %H:%M:%S"
# Specifies an e-mail address, where all notifications will be sent to. If this variable
# is empty, none notification will be sent at all. This option requires logging to be
# also enabled.
NOTIFY=""

ファイルの表示

@ -123,8 +123,10 @@ function isSet() {
# Loads EzBuild configuration
#-------------------------------------------------------------------------------
function loadConfiguration() {
source ${EZROOT}/config/common.conf &> /dev/null || panic
source ${EZROOT}/config/${EZNAME}.conf &> /dev/null || panic
source ${EZROOT}/config/layout.conf &> /dev/null || panic
source /etc/ezbuild/common.conf &> /dev/null || panic
source /etc/ezbuild/${EZNAME}.conf &> /dev/null || panic
source /etc/ezbuild/layout.conf &> /dev/null || panic
}