pass platform_name into builder, fix use_extr_tests always enabled state
This commit is contained in:
parent
96c1d2e3f5
commit
c35d42c6fb
|
@ -526,7 +526,8 @@ class BuildList < ActiveRecord::Base
|
||||||
'EXTRA_CFG_OPTIONS' => extra_params['cfg_options'],
|
'EXTRA_CFG_OPTIONS' => extra_params['cfg_options'],
|
||||||
'EXTRA_CFG_URPM_OPTIONS' => extra_params['cfg_urpm_options'],
|
'EXTRA_CFG_URPM_OPTIONS' => extra_params['cfg_urpm_options'],
|
||||||
'EXTRA_BUILD_SRC_RPM_OPTIONS' => extra_params['build_src_rpm'],
|
'EXTRA_BUILD_SRC_RPM_OPTIONS' => extra_params['build_src_rpm'],
|
||||||
'EXTRA_BUILD_RPM_OPTIONS' => extra_params['build_rpm']
|
'EXTRA_BUILD_RPM_OPTIONS' => extra_params['build_rpm'],
|
||||||
|
'PLATFORM_NAME' => build_for_platform.name
|
||||||
}
|
}
|
||||||
cmd_params.merge!(
|
cmd_params.merge!(
|
||||||
'RERUN_TESTS' => true,
|
'RERUN_TESTS' => true,
|
||||||
|
|
|
@ -27,9 +27,7 @@ h4.offset10= t("activerecord.attributes.build_list.preferences")
|
||||||
label
|
label
|
||||||
- checked = params[:build_list].try(:[], kind) || kind == :use_cached_chroot
|
- checked = params[:build_list].try(:[], kind) || kind == :use_cached_chroot
|
||||||
- checked = @build_list.send(kind) if checked.nil?
|
- checked = @build_list.send(kind) if checked.nil?
|
||||||
input[type= 'checkbox'
|
= f.check_box kind, {}, "true", "false"
|
||||||
checked= checked
|
|
||||||
name= "build_list[#{kind}]" ]
|
|
||||||
= BuildList.human_attribute_name kind
|
= BuildList.human_attribute_name kind
|
||||||
|
|
||||||
- selected = params[:build_list].try(:[], :external_nodes)
|
- selected = params[:build_list].try(:[], :external_nodes)
|
||||||
|
|
Loading…
Reference in New Issue