init base configs
This commit is contained in:
commit
deaca29f97
31 changed files with 556 additions and 0 deletions
5
README.md
Normal file
5
README.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
# Rocky Mock Configs
|
||||
|
||||
This repo contains mock configs (in templated form) for Rocky Linux and its
|
||||
build roots. The use of these require a system that has mock installed from EPEL
|
||||
or Fedora.
|
48
deploy.sh
Normal file
48
deploy.sh
Normal file
|
@ -0,0 +1,48 @@
|
|||
#!/bin/bash
|
||||
# Deploys mock config files to a user's config directory
|
||||
|
||||
# Latest Versions
|
||||
GREEN_OBSIDIAN=9
|
||||
BLUE_ONYX=3
|
||||
#RED_QUARTZ=0
|
||||
|
||||
GREEN_OBSIDIAN_ARCH=(x86_64 aarch64 i686)
|
||||
BLUE_ONYX_ARCH=(x86_64 aarch64 i686 ppc64le s390x)
|
||||
RED_QUARTZ_ARCH=(x86_64 aarch64 ppc64le s390x)
|
||||
|
||||
# vars
|
||||
MOCK_DIR="${HOME}/.config/mock"
|
||||
|
||||
mkdir -p "${MOCK_DIR}/templates"
|
||||
cp etc/mock/templates/*.tpl "${MOCK_DIR}/templates"
|
||||
|
||||
# green obsidian
|
||||
number=4
|
||||
while [[ $number -le $(( GREEN_OBSIDIAN - 1 )) ]]; do
|
||||
for arch in "${GREEN_OBSIDIAN_ARCH[@]}"; do
|
||||
sed "s|8\.X|8.$number|g" etc/mock/rl-8.X-$arch.cfg > ${MOCK_DIR}/rl-8.$number-$arch.cfg
|
||||
done
|
||||
(( number = number + 1 ))
|
||||
done
|
||||
|
||||
for arch in "${GREEN_OBSIDIAN_ARCH[@]}"; do
|
||||
cp etc/mock/rl-8-$arch.cfg ${MOCK_DIR}
|
||||
done
|
||||
|
||||
# blue onyx
|
||||
number=0
|
||||
while [[ $number -le $(( BLUE_ONYX - 1 )) ]]; do
|
||||
for arch in "${BLUE_ONYX_ARCH[@]}"; do
|
||||
sed "s|9\.X|9.$number|g" etc/mock/rl-9.X-$arch.cfg > ${MOCK_DIR}/rl-9.$number-$arch.cfg
|
||||
done
|
||||
(( number = number + 1 ))
|
||||
done
|
||||
|
||||
for arch in "${BLUE_ONYX_ARCH[@]}"; do
|
||||
cp etc/mock/rl-9-$arch.cfg ${MOCK_DIR}
|
||||
done
|
||||
|
||||
# red quartz
|
||||
for arch in "${RED_QUARTZ_ARCH[@]}"; do
|
||||
cp etc/mock/rl-10-lookahead-$arch.cfg ${MOCK_DIR}
|
||||
done
|
25
etc/mock/rl-10-lookahead-aarch64.cfg
Normal file
25
etc/mock/rl-10-lookahead-aarch64.cfg
Normal file
|
@ -0,0 +1,25 @@
|
|||
include('templates/rl-10-peridot.tpl')
|
||||
|
||||
config_opts['root'] = 'rl-10-lookahead-aarch64'
|
||||
config_opts['target_arch'] = 'aarch64'
|
||||
config_opts['legal_host_arches'] = ('aarch64',)
|
||||
config_opts['releasever'] = '10'
|
||||
config_opts['description'] = 'Rocky Linux 10-lookahead'
|
||||
config_opts['use_bootstrap_image'] = False
|
||||
config_opts['rpmbuild_command'] = '/usr/bin/rpmbuild'
|
||||
config_opts['package_manager'] = 'dnf'
|
||||
config_opts['dist'] = 'el10'
|
||||
|
||||
# Applicable Macros
|
||||
config_opts['macros']['%_rpmfilename'] = '%%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm'
|
||||
config_opts['macros']['%_host'] = 'aarch64-redhat-linux-gnu'
|
||||
config_opts['macros']['%_host_cpu'] = 'aarch64'
|
||||
config_opts['macros']['%_vendor'] = "redhat"
|
||||
config_opts['macros']['%_vendor_host'] = "redhat"
|
||||
# These are typically set from rocky-release and may not have an effect
|
||||
config_opts['macros']['%__bootstrap'] = '~bootstrap'
|
||||
config_opts['macros']['%distribution'] = 'Rocky Linux 10'
|
||||
config_opts['macros']['%dist'] = '%{!?distprefix0:%{?distprefix}}%{expand:%{lua:for i=0,9999 do print("%{?distprefix" .. i .."}") end}}.el10%{?with_bootstrap:~bootstrap}'
|
||||
config_opts['macros']['%rhel'] = '10'
|
||||
|
||||
# To set specialty macros, such as %vendor, please run 'rocky-mock-macros-setup'
|
25
etc/mock/rl-10-lookahead-ppc64le.cfg
Normal file
25
etc/mock/rl-10-lookahead-ppc64le.cfg
Normal file
|
@ -0,0 +1,25 @@
|
|||
include('templates/rl-10-peridot.tpl')
|
||||
|
||||
config_opts['root'] = 'rl-10-lookahead-ppc64le'
|
||||
config_opts['target_arch'] = 'ppc64le'
|
||||
config_opts['legal_host_arches'] = ('ppc64le',)
|
||||
config_opts['releasever'] = '10'
|
||||
config_opts['description'] = 'Rocky Linux 10-lookahead'
|
||||
config_opts['use_bootstrap_image'] = False
|
||||
config_opts['rpmbuild_command'] = '/usr/bin/rpmbuild'
|
||||
config_opts['package_manager'] = 'dnf'
|
||||
config_opts['dist'] = 'el10'
|
||||
|
||||
# Applicable Macros
|
||||
config_opts['macros']['%_rpmfilename'] = '%%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm'
|
||||
config_opts['macros']['%_host'] = 'ppc64le-redhat-linux-gnu'
|
||||
config_opts['macros']['%_host_cpu'] = 'ppc64le'
|
||||
config_opts['macros']['%_vendor'] = "redhat"
|
||||
config_opts['macros']['%_vendor_host'] = "redhat"
|
||||
# These are typically set from rocky-release and may not have an effect
|
||||
config_opts['macros']['%__bootstrap'] = '~bootstrap'
|
||||
config_opts['macros']['%distribution'] = 'Rocky Linux 10'
|
||||
config_opts['macros']['%dist'] = '%{!?distprefix0:%{?distprefix}}%{expand:%{lua:for i=0,9999 do print("%{?distprefix" .. i .."}") end}}.el10%{?with_bootstrap:~bootstrap}'
|
||||
config_opts['macros']['%rhel'] = '10'
|
||||
|
||||
# To set specialty macros, such as %vendor, please run 'rocky-mock-macros-setup'
|
25
etc/mock/rl-10-lookahead-s390x.cfg
Normal file
25
etc/mock/rl-10-lookahead-s390x.cfg
Normal file
|
@ -0,0 +1,25 @@
|
|||
include('templates/rl-10-peridot.tpl')
|
||||
|
||||
config_opts['root'] = 'rl-10-lookahead-s390x'
|
||||
config_opts['target_arch'] = 's390x'
|
||||
config_opts['legal_host_arches'] = ('s390x',)
|
||||
config_opts['releasever'] = '10'
|
||||
config_opts['description'] = 'Rocky Linux 10-lookahead'
|
||||
config_opts['use_bootstrap_image'] = False
|
||||
config_opts['rpmbuild_command'] = '/usr/bin/rpmbuild'
|
||||
config_opts['package_manager'] = 'dnf'
|
||||
config_opts['dist'] = 'el10'
|
||||
|
||||
# Applicable Macros
|
||||
config_opts['macros']['%_rpmfilename'] = '%%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm'
|
||||
config_opts['macros']['%_host'] = 's390x-redhat-linux-gnu'
|
||||
config_opts['macros']['%_host_cpu'] = 's390x'
|
||||
config_opts['macros']['%_vendor'] = "redhat"
|
||||
config_opts['macros']['%_vendor_host'] = "redhat"
|
||||
# These are typically set from rocky-release and may not have an effect
|
||||
config_opts['macros']['%__bootstrap'] = '~bootstrap'
|
||||
config_opts['macros']['%distribution'] = 'Rocky Linux 10'
|
||||
config_opts['macros']['%dist'] = '%{!?distprefix0:%{?distprefix}}%{expand:%{lua:for i=0,9999 do print("%{?distprefix" .. i .."}") end}}.el10%{?with_bootstrap:~bootstrap}'
|
||||
config_opts['macros']['%rhel'] = '10'
|
||||
|
||||
# To set specialty macros, such as %vendor, please run 'rocky-mock-macros-setup'
|
25
etc/mock/rl-10-lookahead-x86_64.cfg
Normal file
25
etc/mock/rl-10-lookahead-x86_64.cfg
Normal file
|
@ -0,0 +1,25 @@
|
|||
include('templates/rl-10-peridot.tpl')
|
||||
|
||||
config_opts['root'] = 'rl-10-lookahead-x86_64'
|
||||
config_opts['target_arch'] = 'x86_64'
|
||||
config_opts['legal_host_arches'] = ('x86_64',)
|
||||
config_opts['releasever'] = '10'
|
||||
config_opts['description'] = 'Rocky Linux 10-lookahead'
|
||||
config_opts['use_bootstrap_image'] = False
|
||||
config_opts['rpmbuild_command'] = '/usr/bin/rpmbuild'
|
||||
config_opts['package_manager'] = 'dnf'
|
||||
config_opts['dist'] = 'el10'
|
||||
|
||||
# Applicable Macros
|
||||
config_opts['macros']['%_rpmfilename'] = '%%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm'
|
||||
config_opts['macros']['%_host'] = 'x86_64-redhat-linux-gnu'
|
||||
config_opts['macros']['%_host_cpu'] = 'x86_64'
|
||||
config_opts['macros']['%_vendor'] = "redhat"
|
||||
config_opts['macros']['%_vendor_host'] = "redhat"
|
||||
# These are typically set from rocky-release and may not have an effect
|
||||
config_opts['macros']['%__bootstrap'] = '~bootstrap'
|
||||
config_opts['macros']['%distribution'] = 'Rocky Linux 10'
|
||||
config_opts['macros']['%dist'] = '%{!?distprefix0:%{?distprefix}}%{expand:%{lua:for i=0,9999 do print("%{?distprefix" .. i .."}") end}}.el10%{?with_bootstrap:~bootstrap}'
|
||||
config_opts['macros']['%rhel'] = '10'
|
||||
|
||||
# To set specialty macros, such as %vendor, please run 'rocky-mock-macros-setup'
|
25
etc/mock/rl-8-aarch64.cfg
Normal file
25
etc/mock/rl-8-aarch64.cfg
Normal file
|
@ -0,0 +1,25 @@
|
|||
include('templates/rl-8-pub.tpl')
|
||||
|
||||
config_opts['root'] = 'rl-8-aarch64'
|
||||
config_opts['target_arch'] = 'aarch64'
|
||||
config_opts['legal_host_arches'] = ('aarch64',)
|
||||
config_opts['releasever'] = '8'
|
||||
config_opts['description'] = 'Rocky Linux 8'
|
||||
config_opts['use_bootstrap_image'] = False
|
||||
config_opts['rpmbuild_command'] = '/usr/bin/rpmbuild'
|
||||
config_opts['package_manager'] = 'dnf'
|
||||
config_opts['dist'] = 'el8'
|
||||
|
||||
# Applicable Macros
|
||||
config_opts['macros']['%_rpmfilename'] = '%%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm'
|
||||
config_opts['macros']['%_host'] = 'aarch64-redhat-linux-gnu'
|
||||
config_opts['macros']['%_host_cpu'] = 'aarch64'
|
||||
config_opts['macros']['%_vendor'] = "redhat"
|
||||
config_opts['macros']['%_vendor_host'] = "redhat"
|
||||
# These are typically set from rocky-release and may not have an effect
|
||||
config_opts['macros']['%__bootstrap'] = '~bootstrap'
|
||||
config_opts['macros']['%distribution'] = 'Rocky Linux 8'
|
||||
config_opts['macros']['%dist'] = '%{!?distprefix0:%{?distprefix}}%{expand:%{lua:for i=0,9999 do print("%{?distprefix" .. i .."}") end}}.el8%{?with_bootstrap:~bootstrap}'
|
||||
config_opts['macros']['%rhel'] = '8'
|
||||
|
||||
# To set specialty macros, such as %vendor, please run 'rocky-mock-macros-setup'
|
25
etc/mock/rl-8-i686.cfg
Normal file
25
etc/mock/rl-8-i686.cfg
Normal file
|
@ -0,0 +1,25 @@
|
|||
include('templates/rl-8-pub.tpl')
|
||||
|
||||
config_opts['root'] = 'rl-8-i686'
|
||||
config_opts['target_arch'] = 'i686'
|
||||
config_opts['legal_host_arches'] = ('i686',)
|
||||
config_opts['releasever'] = '8'
|
||||
config_opts['description'] = 'Rocky Linux 8'
|
||||
config_opts['use_bootstrap_image'] = False
|
||||
config_opts['rpmbuild_command'] = '/usr/bin/rpmbuild'
|
||||
config_opts['package_manager'] = 'dnf'
|
||||
config_opts['dist'] = 'el8'
|
||||
|
||||
# Applicable Macros
|
||||
config_opts['macros']['%_rpmfilename'] = '%%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm'
|
||||
config_opts['macros']['%_host'] = 'i686-redhat-linux-gnu'
|
||||
config_opts['macros']['%_host_cpu'] = 'i686'
|
||||
config_opts['macros']['%_vendor'] = "redhat"
|
||||
config_opts['macros']['%_vendor_host'] = "redhat"
|
||||
# These are typically set from rocky-release and may not have an effect
|
||||
config_opts['macros']['%__bootstrap'] = '~bootstrap'
|
||||
config_opts['macros']['%distribution'] = 'Rocky Linux 8'
|
||||
config_opts['macros']['%dist'] = '%{!?distprefix0:%{?distprefix}}%{expand:%{lua:for i=0,9999 do print("%{?distprefix" .. i .."}") end}}.el8%{?with_bootstrap:~bootstrap}'
|
||||
config_opts['macros']['%rhel'] = '8'
|
||||
|
||||
# To set specialty macros, such as %vendor, please run 'rocky-mock-macros-setup'
|
25
etc/mock/rl-8-x86_64.cfg
Normal file
25
etc/mock/rl-8-x86_64.cfg
Normal file
|
@ -0,0 +1,25 @@
|
|||
include('templates/rl-8-pub.tpl')
|
||||
|
||||
config_opts['root'] = 'rl-8-x86_64'
|
||||
config_opts['target_arch'] = 'x86_64'
|
||||
config_opts['legal_host_arches'] = ('x86_64',)
|
||||
config_opts['releasever'] = '8'
|
||||
config_opts['description'] = 'Rocky Linux 8'
|
||||
config_opts['use_bootstrap_image'] = False
|
||||
config_opts['rpmbuild_command'] = '/usr/bin/rpmbuild'
|
||||
config_opts['package_manager'] = 'dnf'
|
||||
config_opts['dist'] = 'el8'
|
||||
|
||||
# Applicable Macros
|
||||
config_opts['macros']['%_rpmfilename'] = '%%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm'
|
||||
config_opts['macros']['%_host'] = 'x86_64-redhat-linux-gnu'
|
||||
config_opts['macros']['%_host_cpu'] = 'x86_64'
|
||||
config_opts['macros']['%_vendor'] = "redhat"
|
||||
config_opts['macros']['%_vendor_host'] = "redhat"
|
||||
# These are typically set from rocky-release and may not have an effect
|
||||
config_opts['macros']['%__bootstrap'] = '~bootstrap'
|
||||
config_opts['macros']['%distribution'] = 'Rocky Linux 8'
|
||||
config_opts['macros']['%dist'] = '%{!?distprefix0:%{?distprefix}}%{expand:%{lua:for i=0,9999 do print("%{?distprefix" .. i .."}") end}}.el8%{?with_bootstrap:~bootstrap}'
|
||||
config_opts['macros']['%rhel'] = '8'
|
||||
|
||||
# To set specialty macros, such as %vendor, please run 'rocky-mock-macros-setup'
|
25
etc/mock/rl-8.X-aarch64.cfg
Normal file
25
etc/mock/rl-8.X-aarch64.cfg
Normal file
|
@ -0,0 +1,25 @@
|
|||
include('templates/rl-8-vault.tpl')
|
||||
|
||||
config_opts['root'] = 'rl-8.X-aarch64'
|
||||
config_opts['target_arch'] = 'aarch64'
|
||||
config_opts['legal_host_arches'] = ('aarch64',)
|
||||
config_opts['releasever'] = '8.X'
|
||||
config_opts['description'] = 'Rocky Linux 8.X'
|
||||
config_opts['use_bootstrap_image'] = False
|
||||
config_opts['rpmbuild_command'] = '/usr/bin/rpmbuild'
|
||||
config_opts['package_manager'] = 'dnf'
|
||||
config_opts['dist'] = 'el8'
|
||||
|
||||
# Applicable Macros
|
||||
config_opts['macros']['%_rpmfilename'] = '%%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm'
|
||||
config_opts['macros']['%_host'] = 'aarch64-redhat-linux-gnu'
|
||||
config_opts['macros']['%_host_cpu'] = 'aarch64'
|
||||
config_opts['macros']['%_vendor'] = "redhat"
|
||||
config_opts['macros']['%_vendor_host'] = "redhat"
|
||||
# These are typically set from rocky-release and may not have an effect
|
||||
config_opts['macros']['%__bootstrap'] = '~bootstrap'
|
||||
config_opts['macros']['%distribution'] = 'Rocky Linux 8.X'
|
||||
config_opts['macros']['%dist'] = '%{!?distprefix0:%{?distprefix}}%{expand:%{lua:for i=0,9999 do print("%{?distprefix" .. i .."}") end}}.el8%{?with_bootstrap:~bootstrap}'
|
||||
config_opts['macros']['%rhel'] = '8'
|
||||
|
||||
# To set specialty macros, such as %vendor, please run 'rocky-mock-macros-setup'
|
25
etc/mock/rl-8.X-i686.cfg
Normal file
25
etc/mock/rl-8.X-i686.cfg
Normal file
|
@ -0,0 +1,25 @@
|
|||
include('templates/rl-8-devel-only.tpl')
|
||||
|
||||
config_opts['root'] = 'rl-8.X-i686'
|
||||
config_opts['target_arch'] = 'i686'
|
||||
config_opts['legal_host_arches'] = ('i386', 'i486', 'i586', 'i686', 'x86_64',)
|
||||
config_opts['releasever'] = '8.X'
|
||||
config_opts['description'] = 'Rocky Linux 8.X'
|
||||
config_opts['use_bootstrap_image'] = False
|
||||
config_opts['rpmbuild_command'] = '/usr/bin/rpmbuild'
|
||||
config_opts['package_manager'] = 'dnf'
|
||||
config_opts['dist'] = 'el8'
|
||||
|
||||
# Applicable Macros
|
||||
config_opts['macros']['%_rpmfilename'] = '%%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm'
|
||||
config_opts['macros']['%_host'] = 'i686-redhat-linux-gnu'
|
||||
config_opts['macros']['%_host_cpu'] = 'i686'
|
||||
config_opts['macros']['%_vendor'] = "redhat"
|
||||
config_opts['macros']['%_vendor_host'] = "redhat"
|
||||
# These are typically set from rocky-release and may not have an effect
|
||||
config_opts['macros']['%__bootstrap'] = '~bootstrap'
|
||||
config_opts['macros']['%distribution'] = 'Rocky Linux 8.X'
|
||||
config_opts['macros']['%dist'] = '%{!?distprefix0:%{?distprefix}}%{expand:%{lua:for i=0,9999 do print("%{?distprefix" .. i .."}") end}}.el8%{?with_bootstrap:~bootstrap}'
|
||||
config_opts['macros']['%rhel'] = '8'
|
||||
|
||||
# To set specialty macros, such as %vendor, please run 'rocky-mock-macros-setup'
|
25
etc/mock/rl-8.X-x86_64.cfg
Normal file
25
etc/mock/rl-8.X-x86_64.cfg
Normal file
|
@ -0,0 +1,25 @@
|
|||
include('templates/rl-8-vault.tpl')
|
||||
|
||||
config_opts['root'] = 'rl-8.X-x86_64'
|
||||
config_opts['target_arch'] = 'x86_64'
|
||||
config_opts['legal_host_arches'] = ('x86_64',)
|
||||
config_opts['releasever'] = '8.X'
|
||||
config_opts['description'] = 'Rocky Linux 8.X'
|
||||
config_opts['use_bootstrap_image'] = False
|
||||
config_opts['rpmbuild_command'] = '/usr/bin/rpmbuild'
|
||||
config_opts['package_manager'] = 'dnf'
|
||||
config_opts['dist'] = 'el8'
|
||||
|
||||
# Applicable Macros
|
||||
config_opts['macros']['%_rpmfilename'] = '%%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm'
|
||||
config_opts['macros']['%_host'] = 'x86_64-redhat-linux-gnu'
|
||||
config_opts['macros']['%_host_cpu'] = 'x86_64'
|
||||
config_opts['macros']['%_vendor'] = "redhat"
|
||||
config_opts['macros']['%_vendor_host'] = "redhat"
|
||||
# These are typically set from rocky-release and may not have an effect
|
||||
config_opts['macros']['%__bootstrap'] = '~bootstrap'
|
||||
config_opts['macros']['%distribution'] = 'Rocky Linux 8.X'
|
||||
config_opts['macros']['%dist'] = '%{!?distprefix0:%{?distprefix}}%{expand:%{lua:for i=0,9999 do print("%{?distprefix" .. i .."}") end}}.el8%{?with_bootstrap:~bootstrap}'
|
||||
config_opts['macros']['%rhel'] = '8'
|
||||
|
||||
# To set specialty macros, such as %vendor, please run 'rocky-mock-macros-setup'
|
25
etc/mock/rl-9-aarch64.cfg
Normal file
25
etc/mock/rl-9-aarch64.cfg
Normal file
|
@ -0,0 +1,25 @@
|
|||
include('templates/rl-9-pub.tpl')
|
||||
|
||||
config_opts['root'] = 'rl-9.X-aarch64'
|
||||
config_opts['target_arch'] = 'aarch64'
|
||||
config_opts['legal_host_arches'] = ('aarch64',)
|
||||
config_opts['releasever'] = '9.X'
|
||||
config_opts['description'] = 'Rocky Linux 9.X'
|
||||
config_opts['use_bootstrap_image'] = False
|
||||
config_opts['rpmbuild_command'] = '/usr/bin/rpmbuild'
|
||||
config_opts['package_manager'] = 'dnf'
|
||||
config_opts['dist'] = 'el9'
|
||||
|
||||
# Applicable Macros
|
||||
config_opts['macros']['%_rpmfilename'] = '%%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm'
|
||||
config_opts['macros']['%_host'] = 'aarch64-redhat-linux-gnu'
|
||||
config_opts['macros']['%_host_cpu'] = 'aarch64'
|
||||
config_opts['macros']['%_vendor'] = "redhat"
|
||||
config_opts['macros']['%_vendor_host'] = "redhat"
|
||||
# These are typically set from rocky-release and may not have an effect
|
||||
config_opts['macros']['%__bootstrap'] = '~bootstrap'
|
||||
config_opts['macros']['%distribution'] = 'Rocky Linux 9.X'
|
||||
config_opts['macros']['%dist'] = '%{!?distprefix0:%{?distprefix}}%{expand:%{lua:for i=0,9999 do print("%{?distprefix" .. i .."}") end}}.el9%{?with_bootstrap:~bootstrap}'
|
||||
config_opts['macros']['%rhel'] = '9'
|
||||
|
||||
# To set specialty macros, such as %vendor, please run 'rocky-mock-macros-setup'
|
25
etc/mock/rl-9-i686.cfg
Normal file
25
etc/mock/rl-9-i686.cfg
Normal file
|
@ -0,0 +1,25 @@
|
|||
include('templates/rl-9-pub.tpl')
|
||||
|
||||
config_opts['root'] = 'rl-9.X-i686'
|
||||
config_opts['target_arch'] = 'i686'
|
||||
config_opts['legal_host_arches'] = ('i686',)
|
||||
config_opts['releasever'] = '9.X'
|
||||
config_opts['description'] = 'Rocky Linux 9.X'
|
||||
config_opts['use_bootstrap_image'] = False
|
||||
config_opts['rpmbuild_command'] = '/usr/bin/rpmbuild'
|
||||
config_opts['package_manager'] = 'dnf'
|
||||
config_opts['dist'] = 'el9'
|
||||
|
||||
# Applicable Macros
|
||||
config_opts['macros']['%_rpmfilename'] = '%%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm'
|
||||
config_opts['macros']['%_host'] = 'i686-redhat-linux-gnu'
|
||||
config_opts['macros']['%_host_cpu'] = 'i686'
|
||||
config_opts['macros']['%_vendor'] = "redhat"
|
||||
config_opts['macros']['%_vendor_host'] = "redhat"
|
||||
# These are typically set from rocky-release and may not have an effect
|
||||
config_opts['macros']['%__bootstrap'] = '~bootstrap'
|
||||
config_opts['macros']['%distribution'] = 'Rocky Linux 9.X'
|
||||
config_opts['macros']['%dist'] = '%{!?distprefix0:%{?distprefix}}%{expand:%{lua:for i=0,9999 do print("%{?distprefix" .. i .."}") end}}.el9%{?with_bootstrap:~bootstrap}'
|
||||
config_opts['macros']['%rhel'] = '9'
|
||||
|
||||
# To set specialty macros, such as %vendor, please run 'rocky-mock-macros-setup'
|
25
etc/mock/rl-9-ppc64le.cfg
Normal file
25
etc/mock/rl-9-ppc64le.cfg
Normal file
|
@ -0,0 +1,25 @@
|
|||
include('templates/rl-9-pub.tpl')
|
||||
|
||||
config_opts['root'] = 'rl-9.X-ppc64le'
|
||||
config_opts['target_arch'] = 'ppc64le'
|
||||
config_opts['legal_host_arches'] = ('ppc64le',)
|
||||
config_opts['releasever'] = '9.X'
|
||||
config_opts['description'] = 'Rocky Linux 9.X'
|
||||
config_opts['use_bootstrap_image'] = False
|
||||
config_opts['rpmbuild_command'] = '/usr/bin/rpmbuild'
|
||||
config_opts['package_manager'] = 'dnf'
|
||||
config_opts['dist'] = 'el9'
|
||||
|
||||
# Applicable Macros
|
||||
config_opts['macros']['%_rpmfilename'] = '%%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm'
|
||||
config_opts['macros']['%_host'] = 'ppc64le-redhat-linux-gnu'
|
||||
config_opts['macros']['%_host_cpu'] = 'ppc64le'
|
||||
config_opts['macros']['%_vendor'] = "redhat"
|
||||
config_opts['macros']['%_vendor_host'] = "redhat"
|
||||
# These are typically set from rocky-release and may not have an effect
|
||||
config_opts['macros']['%__bootstrap'] = '~bootstrap'
|
||||
config_opts['macros']['%distribution'] = 'Rocky Linux 9.X'
|
||||
config_opts['macros']['%dist'] = '%{!?distprefix0:%{?distprefix}}%{expand:%{lua:for i=0,9999 do print("%{?distprefix" .. i .."}") end}}.el9%{?with_bootstrap:~bootstrap}'
|
||||
config_opts['macros']['%rhel'] = '9'
|
||||
|
||||
# To set specialty macros, such as %vendor, please run 'rocky-mock-macros-setup'
|
25
etc/mock/rl-9-s390x.cfg
Normal file
25
etc/mock/rl-9-s390x.cfg
Normal file
|
@ -0,0 +1,25 @@
|
|||
include('templates/rl-9-pub.tpl')
|
||||
|
||||
config_opts['root'] = 'rl-9.X-s390x'
|
||||
config_opts['target_arch'] = 's390x'
|
||||
config_opts['legal_host_arches'] = ('s390x',)
|
||||
config_opts['releasever'] = '9.X'
|
||||
config_opts['description'] = 'Rocky Linux 9.X'
|
||||
config_opts['use_bootstrap_image'] = False
|
||||
config_opts['rpmbuild_command'] = '/usr/bin/rpmbuild'
|
||||
config_opts['package_manager'] = 'dnf'
|
||||
config_opts['dist'] = 'el9'
|
||||
|
||||
# Applicable Macros
|
||||
config_opts['macros']['%_rpmfilename'] = '%%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm'
|
||||
config_opts['macros']['%_host'] = 's390x-redhat-linux-gnu'
|
||||
config_opts['macros']['%_host_cpu'] = 's390x'
|
||||
config_opts['macros']['%_vendor'] = "redhat"
|
||||
config_opts['macros']['%_vendor_host'] = "redhat"
|
||||
# These are typically set from rocky-release and may not have an effect
|
||||
config_opts['macros']['%__bootstrap'] = '~bootstrap'
|
||||
config_opts['macros']['%distribution'] = 'Rocky Linux 9.X'
|
||||
config_opts['macros']['%dist'] = '%{!?distprefix0:%{?distprefix}}%{expand:%{lua:for i=0,9999 do print("%{?distprefix" .. i .."}") end}}.el9%{?with_bootstrap:~bootstrap}'
|
||||
config_opts['macros']['%rhel'] = '9'
|
||||
|
||||
# To set specialty macros, such as %vendor, please run 'rocky-mock-macros-setup'
|
25
etc/mock/rl-9-x86_64.cfg
Normal file
25
etc/mock/rl-9-x86_64.cfg
Normal file
|
@ -0,0 +1,25 @@
|
|||
include('templates/rl-9-pub.tpl')
|
||||
|
||||
config_opts['root'] = 'rl-9.X-x86_64'
|
||||
config_opts['target_arch'] = 'x86_64'
|
||||
config_opts['legal_host_arches'] = ('x86_64',)
|
||||
config_opts['releasever'] = '9.X'
|
||||
config_opts['description'] = 'Rocky Linux 9.X'
|
||||
config_opts['use_bootstrap_image'] = False
|
||||
config_opts['rpmbuild_command'] = '/usr/bin/rpmbuild'
|
||||
config_opts['package_manager'] = 'dnf'
|
||||
config_opts['dist'] = 'el9'
|
||||
|
||||
# Applicable Macros
|
||||
config_opts['macros']['%_rpmfilename'] = '%%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm'
|
||||
config_opts['macros']['%_host'] = 'x86_64-redhat-linux-gnu'
|
||||
config_opts['macros']['%_host_cpu'] = 'x86_64'
|
||||
config_opts['macros']['%_vendor'] = "redhat"
|
||||
config_opts['macros']['%_vendor_host'] = "redhat"
|
||||
# These are typically set from rocky-release and may not have an effect
|
||||
config_opts['macros']['%__bootstrap'] = '~bootstrap'
|
||||
config_opts['macros']['%distribution'] = 'Rocky Linux 9.X'
|
||||
config_opts['macros']['%dist'] = '%{!?distprefix0:%{?distprefix}}%{expand:%{lua:for i=0,9999 do print("%{?distprefix" .. i .."}") end}}.el9%{?with_bootstrap:~bootstrap}'
|
||||
config_opts['macros']['%rhel'] = '9'
|
||||
|
||||
# To set specialty macros, such as %vendor, please run 'rocky-mock-macros-setup'
|
25
etc/mock/rl-9.X-aarch64.cfg
Normal file
25
etc/mock/rl-9.X-aarch64.cfg
Normal file
|
@ -0,0 +1,25 @@
|
|||
include('templates/rl-9-vault.tpl')
|
||||
|
||||
config_opts['root'] = 'rl-9.X-aarch64'
|
||||
config_opts['target_arch'] = 'aarch64'
|
||||
config_opts['legal_host_arches'] = ('aarch64',)
|
||||
config_opts['releasever'] = '9.X'
|
||||
config_opts['description'] = 'Rocky Linux 9.X'
|
||||
config_opts['use_bootstrap_image'] = False
|
||||
config_opts['rpmbuild_command'] = '/usr/bin/rpmbuild'
|
||||
config_opts['package_manager'] = 'dnf'
|
||||
config_opts['dist'] = 'el9'
|
||||
|
||||
# Applicable Macros
|
||||
config_opts['macros']['%_rpmfilename'] = '%%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm'
|
||||
config_opts['macros']['%_host'] = 'aarch64-redhat-linux-gnu'
|
||||
config_opts['macros']['%_host_cpu'] = 'aarch64'
|
||||
config_opts['macros']['%_vendor'] = "redhat"
|
||||
config_opts['macros']['%_vendor_host'] = "redhat"
|
||||
# These are typically set from rocky-release and may not have an effect
|
||||
config_opts['macros']['%__bootstrap'] = '~bootstrap'
|
||||
config_opts['macros']['%distribution'] = 'Rocky Linux 9.X'
|
||||
config_opts['macros']['%dist'] = '%{!?distprefix0:%{?distprefix}}%{expand:%{lua:for i=0,9999 do print("%{?distprefix" .. i .."}") end}}.el9%{?with_bootstrap:~bootstrap}'
|
||||
config_opts['macros']['%rhel'] = '9'
|
||||
|
||||
# To set specialty macros, such as %vendor, please run 'rocky-mock-macros-setup'
|
25
etc/mock/rl-9.X-i686.cfg
Normal file
25
etc/mock/rl-9.X-i686.cfg
Normal file
|
@ -0,0 +1,25 @@
|
|||
include('templates/rl-9-vault.tpl')
|
||||
|
||||
config_opts['root'] = 'rl-9.X-i686'
|
||||
config_opts['target_arch'] = 'i686'
|
||||
config_opts['legal_host_arches'] = ('i386', 'i486', 'i586', 'i686', 'x86_64',)
|
||||
config_opts['releasever'] = '9.X'
|
||||
config_opts['description'] = 'Rocky Linux 9.X'
|
||||
config_opts['use_bootstrap_image'] = False
|
||||
config_opts['rpmbuild_command'] = '/usr/bin/rpmbuild'
|
||||
config_opts['package_manager'] = 'dnf'
|
||||
config_opts['dist'] = 'el9'
|
||||
|
||||
# Applicable Macros
|
||||
config_opts['macros']['%_rpmfilename'] = '%%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm'
|
||||
config_opts['macros']['%_host'] = 'i686-redhat-linux-gnu'
|
||||
config_opts['macros']['%_host_cpu'] = 'i686'
|
||||
config_opts['macros']['%_vendor'] = "redhat"
|
||||
config_opts['macros']['%_vendor_host'] = "redhat"
|
||||
# These are typically set from rocky-release and may not have an effect
|
||||
config_opts['macros']['%__bootstrap'] = '~bootstrap'
|
||||
config_opts['macros']['%distribution'] = 'Rocky Linux 9.X'
|
||||
config_opts['macros']['%dist'] = '%{!?distprefix0:%{?distprefix}}%{expand:%{lua:for i=0,9999 do print("%{?distprefix" .. i .."}") end}}.el9%{?with_bootstrap:~bootstrap}'
|
||||
config_opts['macros']['%rhel'] = '9'
|
||||
|
||||
# To set specialty macros, such as %vendor, please run 'rocky-mock-macros-setup'
|
25
etc/mock/rl-9.X-ppc64le.cfg
Normal file
25
etc/mock/rl-9.X-ppc64le.cfg
Normal file
|
@ -0,0 +1,25 @@
|
|||
include('templates/rl-9-vault.tpl')
|
||||
|
||||
config_opts['root'] = 'rl-9.X-ppc64le'
|
||||
config_opts['target_arch'] = 'ppc64le'
|
||||
config_opts['legal_host_arches'] = ('ppc64le',)
|
||||
config_opts['releasever'] = '9.X'
|
||||
config_opts['description'] = 'Rocky Linux 9.X'
|
||||
config_opts['use_bootstrap_image'] = False
|
||||
config_opts['rpmbuild_command'] = '/usr/bin/rpmbuild'
|
||||
config_opts['package_manager'] = 'dnf'
|
||||
config_opts['dist'] = 'el9'
|
||||
|
||||
# Applicable Macros
|
||||
config_opts['macros']['%_rpmfilename'] = '%%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm'
|
||||
config_opts['macros']['%_host'] = 'ppc64le-redhat-linux-gnu'
|
||||
config_opts['macros']['%_host_cpu'] = 'ppc64le'
|
||||
config_opts['macros']['%_vendor'] = "redhat"
|
||||
config_opts['macros']['%_vendor_host'] = "redhat"
|
||||
# These are typically set from rocky-release and may not have an effect
|
||||
config_opts['macros']['%__bootstrap'] = '~bootstrap'
|
||||
config_opts['macros']['%distribution'] = 'Rocky Linux 9.X'
|
||||
config_opts['macros']['%dist'] = '%{!?distprefix0:%{?distprefix}}%{expand:%{lua:for i=0,9999 do print("%{?distprefix" .. i .."}") end}}.el9%{?with_bootstrap:~bootstrap}'
|
||||
config_opts['macros']['%rhel'] = '9'
|
||||
|
||||
# To set specialty macros, such as %vendor, please run 'rocky-mock-macros-setup'
|
25
etc/mock/rl-9.X-s390x.cfg
Normal file
25
etc/mock/rl-9.X-s390x.cfg
Normal file
|
@ -0,0 +1,25 @@
|
|||
include('templates/rl-9-vault.tpl')
|
||||
|
||||
config_opts['root'] = 'rl-9.X-s390x'
|
||||
config_opts['target_arch'] = 's390x'
|
||||
config_opts['legal_host_arches'] = ('s390x',)
|
||||
config_opts['releasever'] = '9.X'
|
||||
config_opts['description'] = 'Rocky Linux 9.X'
|
||||
config_opts['use_bootstrap_image'] = False
|
||||
config_opts['rpmbuild_command'] = '/usr/bin/rpmbuild'
|
||||
config_opts['package_manager'] = 'dnf'
|
||||
config_opts['dist'] = 'el9'
|
||||
|
||||
# Applicable Macros
|
||||
config_opts['macros']['%_rpmfilename'] = '%%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm'
|
||||
config_opts['macros']['%_host'] = 's390x-redhat-linux-gnu'
|
||||
config_opts['macros']['%_host_cpu'] = 's390x'
|
||||
config_opts['macros']['%_vendor'] = "redhat"
|
||||
config_opts['macros']['%_vendor_host'] = "redhat"
|
||||
# These are typically set from rocky-release and may not have an effect
|
||||
config_opts['macros']['%__bootstrap'] = '~bootstrap'
|
||||
config_opts['macros']['%distribution'] = 'Rocky Linux 9.X'
|
||||
config_opts['macros']['%dist'] = '%{!?distprefix0:%{?distprefix}}%{expand:%{lua:for i=0,9999 do print("%{?distprefix" .. i .."}") end}}.el9%{?with_bootstrap:~bootstrap}'
|
||||
config_opts['macros']['%rhel'] = '9'
|
||||
|
||||
# To set specialty macros, such as %vendor, please run 'rocky-mock-macros-setup'
|
25
etc/mock/rl-9.X-x86_64.cfg
Normal file
25
etc/mock/rl-9.X-x86_64.cfg
Normal file
|
@ -0,0 +1,25 @@
|
|||
include('templates/rl-9-vault.tpl')
|
||||
|
||||
config_opts['root'] = 'rl-9.X-x86_64'
|
||||
config_opts['target_arch'] = 'x86_64'
|
||||
config_opts['legal_host_arches'] = ('x86_64',)
|
||||
config_opts['releasever'] = '9.X'
|
||||
config_opts['description'] = 'Rocky Linux 9.X'
|
||||
config_opts['use_bootstrap_image'] = False
|
||||
config_opts['rpmbuild_command'] = '/usr/bin/rpmbuild'
|
||||
config_opts['package_manager'] = 'dnf'
|
||||
config_opts['dist'] = 'el9'
|
||||
|
||||
# Applicable Macros
|
||||
config_opts['macros']['%_rpmfilename'] = '%%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm'
|
||||
config_opts['macros']['%_host'] = 'x86_64-redhat-linux-gnu'
|
||||
config_opts['macros']['%_host_cpu'] = 'x86_64'
|
||||
config_opts['macros']['%_vendor'] = "redhat"
|
||||
config_opts['macros']['%_vendor_host'] = "redhat"
|
||||
# These are typically set from rocky-release and may not have an effect
|
||||
config_opts['macros']['%__bootstrap'] = '~bootstrap'
|
||||
config_opts['macros']['%distribution'] = 'Rocky Linux 9.X'
|
||||
config_opts['macros']['%dist'] = '%{!?distprefix0:%{?distprefix}}%{expand:%{lua:for i=0,9999 do print("%{?distprefix" .. i .."}") end}}.el9%{?with_bootstrap:~bootstrap}'
|
||||
config_opts['macros']['%rhel'] = '9'
|
||||
|
||||
# To set specialty macros, such as %vendor, please run 'rocky-mock-macros-setup'
|
0
etc/mock/templates/rl-10-peridot.tpl
Normal file
0
etc/mock/templates/rl-10-peridot.tpl
Normal file
0
etc/mock/templates/rl-8-devel-only.tpl
Normal file
0
etc/mock/templates/rl-8-devel-only.tpl
Normal file
0
etc/mock/templates/rl-8-koji.tpl
Normal file
0
etc/mock/templates/rl-8-koji.tpl
Normal file
0
etc/mock/templates/rl-8-pub.tpl
Normal file
0
etc/mock/templates/rl-8-pub.tpl
Normal file
0
etc/mock/templates/rl-8-vault.tpl
Normal file
0
etc/mock/templates/rl-8-vault.tpl
Normal file
0
etc/mock/templates/rl-9-peridot.tpl
Normal file
0
etc/mock/templates/rl-9-peridot.tpl
Normal file
0
etc/mock/templates/rl-9-pub.tpl
Normal file
0
etc/mock/templates/rl-9-pub.tpl
Normal file
0
etc/mock/templates/rl-9-vault.tpl
Normal file
0
etc/mock/templates/rl-9-vault.tpl
Normal file
3
usr/bin/rocky-mock-macros-setup
Normal file
3
usr/bin/rocky-mock-macros-setup
Normal file
|
@ -0,0 +1,3 @@
|
|||
#!/usr/bin/env python3
|
||||
# Helps setup custom user macros for Rocky Linux users who wish to build/develop
|
||||
# against a common build root.
|
Loading…
Reference in a new issue