root/build-tools
Scott Little 77576b7207 Add support CentOS-8/dnf/mock-2.6 based builds
This update will retain support for CentOS-7/yum/mock-1.4 based builds.
The build environment will be queried to discover which environment
it is building in, and modify the commands we issue accordingly.

In CentOS 8, DNF replaces both YUM and REPOQUERY.
While DNF tries to be a transparent replacement of the old tools,
there are also subtle changes to the supported arguments.

I will provide independent mock.cfg.prototypes for centos7 vs centos8.
Changes in generate-centos-repo.sh under stx-tools will be required to
select the correct prototype.

Add support for mock 2.6. Mock 2.6 is python 3, and it processes the
'root' and 'rootdir' arguments slightly differently.

Also change the order of arguments to tar within default_build_srpm.
The latest tar only honors '--exclude' if it precedes other arguments.

Story: 2006729
Depends-On: https://review.opendev.org/762700
Signed-off-by: Scott Little <scott.little@windriver.com>
Change-Id: I826be2051e535e6a4c08ad17124f453b04210668
2020-12-08 14:13:28 -05:00
..
branching remove leading path from branch name 2020-06-17 11:02:38 -07:00
build_guest build-tools: Convert wrsroot -> sysadmin 2019-06-14 14:48:25 -07:00
build_iso Add support CentOS-8/dnf/mock-2.6 based builds 2020-12-08 14:13:28 -05:00
build_minimal_iso Add support CentOS-8/dnf/mock-2.6 based builds 2020-12-08 14:13:28 -05:00
build-docker-images Update tag for rvmc image to stx.5.0-v1.0.0 2020-11-03 08:31:13 -05:00
build-wheels Build script readiness for renaming cgcs-centos-repo to centos-repo 2020-09-24 11:59:55 -04:00
certificates StarlingX open source release updates 2018-06-01 07:45:23 -07:00
mk Uprev grub2 and shim 2018-06-27 13:04:02 -04:00
repo_files Add support CentOS-8/dnf/mock-2.6 based builds 2020-12-08 14:13:28 -05:00
signing StarlingX open source release updates 2018-06-01 07:45:23 -07:00
audit-pkgs Build script readiness for renaming cgcs-centos-repo to centos-repo 2020-09-24 11:59:55 -04:00
build-avoidance-utils.sh Build avoidance for all build-type values 2020-03-30 16:52:13 -04:00
build-guest Prepare the build tools for code restucturing 2019-09-05 15:18:10 -04:00
build-helm-charts.sh Parse YAML with as YAML1.1 standard 2020-10-26 10:43:18 -04:00
build-img Add option to create an image compatible with AWS 2020-11-26 16:01:43 -05:00
build-iso Add support CentOS-8/dnf/mock-2.6 based builds 2020-12-08 14:13:28 -05:00
build-pkg-srpm StarlingX open source release updates 2018-06-01 07:45:23 -07:00
build-pkgs Add support CentOS-8/dnf/mock-2.6 based builds 2020-12-08 14:13:28 -05:00
build-pkgs-parallel Remove references to cgcs-3rd-party-repo 2020-10-27 14:26:03 -04:00
build-pkgs-serial Remove references to cgcs-3rd-party-repo 2020-10-27 14:26:03 -04:00
build-remote-cli.sh Support custom docker registries for remote cli 2020-03-18 16:29:49 +02:00
build-rpms Build Avoidance 2018-09-17 16:41:31 -04:00
build-rpms-parallel Add support CentOS-8/dnf/mock-2.6 based builds 2020-12-08 14:13:28 -05:00
build-rpms-serial Add support CentOS-8/dnf/mock-2.6 based builds 2020-12-08 14:13:28 -05:00
build-srpms Build Avoidance 2018-09-17 16:41:31 -04:00
build-srpms-common.sh Eliminate intermediate .tox files during build 2020-08-27 11:01:45 -05:00
build-srpms-parallel Fix ERROR(1419) Bad path '#cert-manager-helm' in file 'centos_pkg_dirs' 2020-12-02 08:36:35 +08:00
build-srpms-serial Fix ERROR(1419) Bad path '#cert-manager-helm' in file 'centos_pkg_dirs' 2020-12-02 08:36:35 +08:00
Cached_Data.txt StarlingX open source release updates 2018-06-01 07:45:23 -07:00
classify Build: Improved logging, error handling, and other small fixes 2018-08-29 16:31:09 -04:00
create_dependancy_cache.py Build script readiness for renaming cgcs-tis-repo to local-repo 2020-09-24 12:03:00 -04:00
create-yum-conf Build script readiness for renaming cgcs-centos-repo to centos-repo 2020-09-24 11:59:55 -04:00
default_build_srpm Add support CentOS-8/dnf/mock-2.6 based builds 2020-12-08 14:13:28 -05:00
find_klm StarlingX open source release updates 2018-06-01 07:45:23 -07:00
find_patched_srpms_needing_upgrade StarlingX open source release updates 2018-06-01 07:45:23 -07:00
git-repo-utils.sh use single '=' for string equality in repo forall 2020-06-16 11:44:44 -07:00
git-utils.sh fix sed in context test 2020-10-27 14:33:28 -04:00
helm_chart_modify.py Parse YAML with as YAML1.1 standard 2020-10-26 10:43:18 -04:00
image-utils.sh Update to build tools to support Build layering. 2020-02-07 16:36:40 -05:00
ip_report.py Remove references to cgcs-3rd-party-repo 2020-10-27 14:26:03 -04:00
make-installer-images.sh Add lz4 to squashfs img and clean unused rpm 2018-09-18 18:28:42 +08:00
mock_cfg_to_yum_conf.py Python 3 compatibility: use print as a function. 2018-10-12 13:42:44 +00:00
mockchain-parallel Add support CentOS-8/dnf/mock-2.6 based builds 2020-12-08 14:13:28 -05:00
mockchain-parallel-1.3.4 Update to build tools to support Build layering. 2020-02-07 16:36:40 -05:00
mockchain-parallel-1.4.16 Update to build tools to support Build layering. 2020-02-07 16:36:40 -05:00
mockchain-parallel-2.6 Add support CentOS-8/dnf/mock-2.6 based builds 2020-12-08 14:13:28 -05:00
modify-build-cfg Add support CentOS-8/dnf/mock-2.6 based builds 2020-12-08 14:13:28 -05:00
patch_rebase_1 Build script readiness for renaming cgcs-centos-repo to centos-repo 2020-09-24 11:59:55 -04:00
patch_rebase_2 Build script readiness for renaming cgcs-centos-repo to centos-repo 2020-09-24 11:59:55 -04:00
patch_rebase_3 Build script readiness for renaming cgcs-centos-repo to centos-repo 2020-09-24 11:59:55 -04:00
patch_rebase_4 Build script readiness for renaming cgcs-centos-repo to centos-repo 2020-09-24 11:59:55 -04:00
patch-iso Fix patch-iso pxe-network-installer handling 2020-08-20 17:52:54 -04:00
pkg-manager-utils.sh Add support CentOS-8/dnf/mock-2.6 based builds 2020-12-08 14:13:28 -05:00
repo-utils.sh use single '=' for string equality in repo forall 2020-06-16 11:44:44 -07:00
sign_iso_formal.sh cleanup signing scripts 2018-09-07 14:44:37 -04:00
sign_patch_formal.sh cleanup signing scripts 2018-09-07 14:44:37 -04:00
sign-rpms Prepare the build tools for code restucturing 2019-09-05 15:18:10 -04:00
sign-secure-boot Build Avoidance 2018-09-17 16:41:31 -04:00
source_lookup.txt Drop smartpm reference from source_lookup.txt 2020-01-15 23:46:00 -05:00
spec-utils enable pbr version 2020-06-08 16:54:14 +08:00
srpm-utils Build script readiness for renaming cgcs-centos-repo to centos-repo 2020-09-24 11:59:55 -04:00
stxRpmUtils.py Correct build failure after mock updrade 2019-06-06 13:39:34 -04:00
sync_jenkins.sh Remove references to cgcs-3rd-party-repo 2020-10-27 14:26:03 -04:00
sync-jenkins Remove references to cgcs-3rd-party-repo 2020-10-27 14:26:03 -04:00
tis.macros StarlingX open source release updates 2018-06-01 07:45:23 -07:00
update-efiboot-image Merge "Fix update-efiboot-image loop device leak" 2020-10-28 13:46:04 +00:00
update-pxe-network-installer fix typo that breaks update-pxe-network-installer 2020-10-14 10:28:23 -04:00
wheel-utils.sh Enable build of docker images, charts and wheels from a layered build 2020-04-08 13:58:41 -04:00
wrs_orig.txt StarlingX open source release updates 2018-06-01 07:45:23 -07:00