@@ -861,8 +861,7 @@ sub selecthost ($) {
Info => [],
};
if (defined $job) {
- $ho->{Suite} = get_runvar_default("${ident}_suite",$job,
- $c{DebianSuite});
+ $ho->{Suite} = target_var($ho, "suite") // $c{DebianSuite};
}
#----- handle hosts which are themselves guests (nested) -----
@@ -123,11 +123,7 @@ create_build_jobs () {
*) suite=$defsuite;;
esac
- if [ $suite != $defsuite ] ; then
- hostos_runvars="host_suite=$suite"
- else
- hostos_runvars=
- fi
+ hostos_runvars="all_host_suite=$suite"
# In 4.4 onwards xend is off by default. If necessary we build a
# separate set of binaries with xend enabled in order to run those
@@ -409,11 +405,7 @@ test_matrix_iterate () {
*) suite=$defsuite; guestsuite=$defguestsuite;;
esac
- if [ $suite != $defsuite ] ; then
- hostos_runvars="host_suite=$suite"
- else
- hostos_runvars=
- fi
+ hostos_runvars="all_host_suite=$suite"
for kern in ''; do