@@ -254,10 +254,16 @@ sub setup ($) {
HELP => 'Path to aptitude binary'
},
'XAPT' => {
+ TYPE => 'STRING',
+ VARNAME => 'xapt',
+ GROUP => 'Programs',
CHECK => $validate_program,
DEFAULT => 'xapt'
},
'EMBUILDDEPS' => {
+ TYPE => 'STRING',
+ VARNAME => 'xapt',
+ GROUP => 'Programs',
CHECK => $validate_program,
DEFAULT => 'embuilddeps'
},
@@ -151,22 +151,23 @@ sub init_allowed_keys {
# ARCH is the native (system) architecture. Not used for host/build.
'ARCH' => {
TYPE => 'STRING',
+ VARNAME => 'arch',
GROUP => '__INTERNAL',
- DEFAULT => $native_arch
+ DEFAULT => $native_arch,
HELP => 'Build architecture.'
},
'HOST_ARCH' => {
TYPE => 'STRING',
VARNAME => 'host_arch',
GROUP => 'Build options',
- DEFAULT => $native_arch
+ DEFAULT => $native_arch,
HELP => 'Host architecture'
},
'BUILD_ARCH' => {
TYPE => 'STRING',
VARNAME => 'build_arch',
GROUP => 'Build options',
- DEFAULT => $native_arch
+ DEFAULT => $native_arch,
HELP => 'Build architecture.'
},
'HOSTNAME' => {
From: Wookey <wookey@wookware.org> --- lib/Sbuild/Conf.pm | 6 ++++++ lib/Sbuild/ConfBase.pm | 7 ++++--- 2 files changed, 10 insertions(+), 3 deletions(-)