Updapted for MSVSphere 8

i8e changed/i8e/mock-core-configs-39.3-1.el8.inferit
Sergey Cherevko 11 months ago
parent 1a1f4ab608
commit 756cca9669
Signed by: scherevko
GPG Key ID: D87CBBC16D2E4A72

@ -0,0 +1,5 @@
include('msvsphere-8-x86_64.cfg')
include('templates/epel-8.tpl')
config_opts['root'] = "msvsphere+epel-8-{{ target_arch }}"
config_opts['description'] = 'MSVSphere 8 + EPEL'

@ -1,5 +0,0 @@
include('msvsphere-9-x86_64.cfg')
include('templates/epel-9.tpl')
config_opts['root'] = "msvsphere+epel-9-{{ target_arch }}"
config_opts['description'] = 'MSVSphere 9 + EPEL'

@ -0,0 +1,6 @@
include('templates/msvsphere-8.tpl')
config_opts['root'] = 'msvsphere-8-x86_64'
config_opts['description'] = 'MSVSphere 8'
config_opts['target_arch'] = 'x86_64'
config_opts['legal_host_arches'] = ('x86_64',)

@ -1,9 +1,9 @@
config_opts['chroot_setup_cmd'] = 'install bash bzip2 coreutils cpio diffutils redhat-release findutils gawk glibc-minimal-langpack grep gzip info patch redhat-rpm-config rpm-build sed shadow-utils tar unzip util-linux which xz'
config_opts['dist'] = 'el9.inferit' # only useful for --resultdir variable subst
config_opts['releasever'] = '9'
config_opts['chroot_setup_cmd'] = 'install tar gcc-c++ redhat-rpm-config redhat-release which xz sed make bzip2 gzip gcc coreutils unzip diffutils cpio bash gawk rpm-build info patch util-linux findutils grep'
config_opts['dist'] = 'el8.inferit' # only useful for --resultdir variable subst
config_opts['releasever'] = '8'
config_opts['package_manager'] = 'dnf'
config_opts['extra_chroot_dirs'] = [ '/run/lock', ]
config_opts['bootstrap_image'] = 'docker.io/inferit/msvsphere'
config_opts['bootstrap_image'] = 'docker.io/inferit/msvsphere:8'
config_opts['dnf.conf'] = """
@ -33,7 +33,7 @@ mirrorlist=https://mirrors.inferitos.ru/mirrorlist/$releasever/appstream
enabled=1
gpgcheck=1
countme=1
gpgkey=file:///usr/share/distribution-gpg-keys/msvsphere/RPM-GPG-KEY-MSVSphere-9
gpgkey=file:///usr/share/distribution-gpg-keys/msvsphere/RPM-GPG-KEY-MSVSphere-8
metadata_expire=86400
enabled_metadata=1
@ -43,7 +43,7 @@ mirrorlist=https://mirrors.inferitos.ru/mirrorlist/$releasever/appstream-debug
# baseurl=https://repo.inferitos.ru/msvsphere/$releasever/AppStream/debug/$basearch/
enabled=0
gpgcheck=1
gpgkey=file:///usr/share/distribution-gpg-keys/msvsphere/RPM-GPG-KEY-MSVSphere-9
gpgkey=file:///usr/share/distribution-gpg-keys/msvsphere/RPM-GPG-KEY-MSVSphere-8
metadata_expire=86400
enabled_metadata=0
@ -53,7 +53,7 @@ mirrorlist=https://mirrors.inferitos.ru/mirrorlist/$releasever/appstream-source
# baseurl=https://repo.inferitos.ru/msvsphere/$releasever/AppStream/Source/
enabled=0
gpgcheck=1
gpgkey=file:///usr/share/distribution-gpg-keys/msvsphere/RPM-GPG-KEY-MSVSphere-9
gpgkey=file:///usr/share/distribution-gpg-keys/msvsphere/RPM-GPG-KEY-MSVSphere-8
metadata_expire=86400
enabled_metadata=0
@ -64,7 +64,7 @@ mirrorlist=https://mirrors.inferitos.ru/mirrorlist/$releasever/baseos
enabled=1
gpgcheck=1
countme=1
gpgkey=file:///usr/share/distribution-gpg-keys/msvsphere/RPM-GPG-KEY-MSVSphere-9
gpgkey=file:///usr/share/distribution-gpg-keys/msvsphere/RPM-GPG-KEY-MSVSphere-8
metadata_expire=86400
enabled_metadata=1
@ -74,7 +74,7 @@ mirrorlist=https://mirrors.inferitos.ru/mirrorlist/$releasever/baseos-debug
# baseurl=https://repo.inferitos.ru/msvsphere/$releasever/BaseOS/debug/$basearch/
enabled=0
gpgcheck=1
gpgkey=file:///usr/share/distribution-gpg-keys/msvsphere/RPM-GPG-KEY-MSVSphere-9
gpgkey=file:///usr/share/distribution-gpg-keys/msvsphere/RPM-GPG-KEY-MSVSphere-8
metadata_expire=86400
enabled_metadata=0
@ -84,7 +84,7 @@ mirrorlist=https://mirrors.inferitos.ru/mirrorlist/$releasever/baseos-source
# baseurl=https://repo.inferitos.ru/msvsphere/$releasever/BaseOS/Source/
enabled=0
gpgcheck=1
gpgkey=file:///usr/share/distribution-gpg-keys/msvsphere/RPM-GPG-KEY-MSVSphere-9
gpgkey=file:///usr/share/distribution-gpg-keys/msvsphere/RPM-GPG-KEY-MSVSphere-8
metadata_expire=86400
enabled_metadata=0
@ -95,7 +95,7 @@ mirrorlist=https://mirrors.inferitos.ru/mirrorlist/$releasever/crb
enabled=1
gpgcheck=1
countme=1
gpgkey=file:///usr/share/distribution-gpg-keys/msvsphere/RPM-GPG-KEY-MSVSphere-9
gpgkey=file:///usr/share/distribution-gpg-keys/msvsphere/RPM-GPG-KEY-MSVSphere-8
metadata_expire=86400
enabled_metadata=1
@ -105,7 +105,7 @@ mirrorlist=https://mirrors.inferitos.ru/mirrorlist/$releasever/crb-debug
# baseurl=https://repo.inferitos.ru/msvsphere/$releasever/CRB/debug/$basearch/
enabled=0
gpgcheck=1
gpgkey=file:///usr/share/distribution-gpg-keys/msvsphere/RPM-GPG-KEY-MSVSphere-9
gpgkey=file:///usr/share/distribution-gpg-keys/msvsphere/RPM-GPG-KEY-MSVSphere-8
metadata_expire=86400
enabled_metadata=0
@ -115,7 +115,7 @@ mirrorlist=https://mirrors.inferitos.ru/mirrorlist/$releasever/crb-source
# baseurl=https://repo.inferitos.ru/msvsphere/$releasever/CRB/Source/
enabled=0
gpgcheck=1
gpgkey=file:///usr/share/distribution-gpg-keys/msvsphere/RPM-GPG-KEY-MSVSphere-9
gpgkey=file:///usr/share/distribution-gpg-keys/msvsphere/RPM-GPG-KEY-MSVSphere-8
metadata_expire=86400
enabled_metadata=0
@ -126,7 +126,7 @@ mirrorlist=https://mirrors.inferitos.ru/mirrorlist/$releasever/extras
enabled=1
gpgcheck=1
countme=1
gpgkey=file:///usr/share/distribution-gpg-keys/msvsphere/RPM-GPG-KEY-MSVSphere-9
gpgkey=file:///usr/share/distribution-gpg-keys/msvsphere/RPM-GPG-KEY-MSVSphere-8
metadata_expire=86400
enabled_metadata=1
@ -136,7 +136,7 @@ mirrorlist=https://mirrors.inferitos.ru/mirrorlist/$releasever/extras-debug
# baseurl=https://repo.inferitos.ru/msvsphere/$releasever/Extras/debug/$basearch/
enabled=0
gpgcheck=1
gpgkey=file:///usr/share/distribution-gpg-keys/msvsphere/RPM-GPG-KEY-MSVSphere-9
gpgkey=file:///usr/share/distribution-gpg-keys/msvsphere/RPM-GPG-KEY-MSVSphere-8
metadata_expire=86400
enabled_metadata=0
@ -146,7 +146,7 @@ mirrorlist=https://mirrors.inferitos.ru/mirrorlist/$releasever/extras-source
# baseurl=https://repo.inferitos.ru/msvsphere/$releasever/Extras/Source/
enabled=0
gpgcheck=1
gpgkey=file:///usr/share/distribution-gpg-keys/msvsphere/RPM-GPG-KEY-MSVSphere-9
gpgkey=file:///usr/share/distribution-gpg-keys/msvsphere/RPM-GPG-KEY-MSVSphere-8
metadata_expire=86400
enabled_metadata=0

@ -1,6 +0,0 @@
include('templates/msvsphere-9.tpl')
config_opts['root'] = 'msvsphere-9-x86_64'
config_opts['description'] = 'MSVSphere 9'
config_opts['target_arch'] = 'x86_64'
config_opts['legal_host_arches'] = ('x86_64',)

@ -16,9 +16,9 @@ URL: https://github.com/rpm-software-management/mock/
# tito build --tgz
Source: https://github.com/rpm-software-management/mock/releases/download/%{name}-%{version}-1/%{name}-%{version}.tar.gz
## MSVSphere
Source100: msvsphere-9.tpl
Source101: msvsphere-9-x86_64.cfg
Source102: msvsphere+epel-9-x86_64.cfg
Source100: msvsphere-8.tpl
Source101: msvsphere-8-x86_64.cfg
Source102: msvsphere+epel-8-x86_64.cfg
BuildArch: noarch
# The mock.rpm requires this. Other packages may provide this if they tend to

Loading…
Cancel
Save