X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=mock%2Fmock.cfg.template;h=26ce44e21c51ba8359f7d056950a6c994131a4de;hb=d159b279bb2aa295f9c78ca61e7e86aee7cd2840;hp=e2db78ba470b1464c7b2d7ebe5369fb6e8d0493b;hpb=4ded4f2a805e9447be90751d7d4fb7e11552e545;p=ta%2Fbuild-tools.git diff --git a/mock/mock.cfg.template b/mock/mock.cfg.template index e2db78b..26ce44e 100644 --- a/mock/mock.cfg.template +++ b/mock/mock.cfg.template @@ -15,8 +15,8 @@ # Root name to be used for chroot and caching, must differ between products config_opts['root'] = 'akrainolite' -config_opts['target_arch'] = 'x86_64' -config_opts['legal_host_arches'] = ('x86_64',) +config_opts['target_arch'] = #RPM_ARCH# +config_opts['legal_host_arches'] = ('x86_64','aarch64',) config_opts['dist'] = 'el7' # only useful for --resultdir variable subst config_opts['chroot_setup_cmd'] = 'install createrepo yum-utils bison byacc cscope ctags cvs diffstat doxygen flex gcc gcc-c++ gcc-gfortran gettext git indent intltool libtool patch patchutils rcs redhat-rpm-config rpm-build subversion swig systemtap sudo' config_opts['plugin_conf']['yum_cache_enable'] = False @@ -32,6 +32,8 @@ config_opts['exclude_from_homedir_cleanup'] = ('build/SOURCES', '.bash_history', # Common RPM directive values config_opts['macros']['%packager'] = #RPM_PACKAGER# config_opts['macros']['%dist'] = ".el7.centos%{_platform_product}" +config_opts['macros']['%_platform_product_release_build_id'] = #PRODUCT_RELEASE_BUILD_ID# +config_opts['macros']['%_platform_product_release_label'] = #PRODUCT_RELEASE_LABEL# config_opts['macros']['%_platform_product'] = #RPM_RELEASE_ID# config_opts['macros']['%_platform_dist'] = ".el7.centos" config_opts['macros']['%_platform_vendor'] = #RPM_VENDOR# @@ -48,10 +50,17 @@ config_opts['macros']['%_provisioning_path'] = "%{_installation_root_path}/provi config_opts['macros']['%_postconfig_path'] = "%{_installation_root_path}/postconfig" config_opts['macros']['%_finalize_path'] = "%{_installation_root_path}/finalize" config_opts['macros']['%_ansible_filter_plugins_path'] = "%{_roles_path}/plugins/filter" +config_opts['macros']['%_ansible_modules_path'] = "%{_roles_path}/plugins/library" config_opts['macros']['%_caas_path'] = "/var/lib/caas" config_opts['macros']['%_caas_container_tar_path'] = "%{_caas_path}/images" config_opts['macros']['%_caas_manifest_path'] = "%{_caas_path}/manifests" -config_opts['macros']['%_caas_chart_path'] = "${_caas_path}/chart/" +config_opts['macros']['%_caas_chart_path'] = "%{_caas_path}/infra-charts" +config_opts['macros']['%_caas_libexec_path'] = "%{_libexecdir}/caas" +config_opts['macros']['%_caas_rbac_manifests_path'] = "%{_caas_path}/rbac_manifests" +config_opts['macros']['%_caas_danm_crd_path'] = "%{_caas_path}/crds" +config_opts['macros']['%_cm_config_dir'] = "%{_platform_etc_path}/cmframework/config" +config_opts['macros']['%_cm_caas_config_file'] = "%{_cm_config_dir}/caas.yaml" +config_opts['macros']['%_caas_lcm_path'] = "/opt/caas_lcm/" config_opts['macros']['%_platform_bin_path'] = "/usr/local/bin" config_opts['macros']['%_platform_lib_path'] = "/usr/local/lib" config_opts['macros']['%_platform_etc_path'] = "/etc"