forked from rpm-software-management/mock
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
91 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
include('templates/openeuler-24.03.tpl') | ||
|
||
config_opts['root'] = 'openeuler-24.03-aarch64' | ||
config_opts['target_arch'] = 'aarch64' | ||
config_opts['legal_host_arches'] = ('aarch64',) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
include('templates/openeuler-24.03.tpl') | ||
|
||
config_opts['root'] = 'openeuler-24.03-x86_64' | ||
config_opts['target_arch'] = 'x86_64' | ||
config_opts['legal_host_arches'] = ('x86_64',) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
config_opts['chroot_setup_cmd'] = 'install tar gcc-c++ openEuler-rpm-config openEuler-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'] = 'oe2403' # only useful for --resultdir variable subst | ||
config_opts['releasever'] = '24.03LTS' | ||
config_opts['package_manager'] = 'dnf' | ||
config_opts['description'] = 'openEuler 24.03 LTS' | ||
config_opts['extra_chroot_dirs'] = [ '/run/lock', ] | ||
config_opts['bootstrap_image'] = 'docker.io/openeuler/openeuler:24.03-lts' | ||
|
||
config_opts['dnf.conf'] = """ | ||
[main] | ||
keepcache=1 | ||
debuglevel=2 | ||
reposdir=/dev/null | ||
logfile=/var/log/yum.log | ||
retries=20 | ||
obsoletes=1 | ||
gpgcheck=0 | ||
assumeyes=1 | ||
syslog_ident=mock | ||
syslog_device= | ||
metadata_expire=0 | ||
mdpolicy=group:primary | ||
best=1 | ||
install_weak_deps=0 | ||
protected_packages= | ||
module_platform_id=platform:oe2403 | ||
user_agent={{ user_agent }} | ||
|
||
# all openEuler LTS release will continue developing and releasing SPx version | ||
# such as 24.03-LTS -> 24.03-LTS-SP1 -> 24.03-LTS-SP2 ... | ||
# all LTS-SPx is compatible with its LTS release | ||
[OS] | ||
name=OS | ||
metalink=https://mirrors.openeuler.org/metalink?repo=$releasever/OS&arch=$basearch | ||
enabled=1 | ||
gpgcheck=1 | ||
gpgkey=file:///usr/share/distribution-gpg-keys/openeuler/RPM-GPG-KEY-openEuler-EulerMaker | ||
|
||
[everything] | ||
name=everything | ||
metalink=https://mirrors.openeuler.org/metalink?repo=$releasever/everything&arch=$basearch | ||
enabled=1 | ||
gpgcheck=1 | ||
gpgkey=file:///usr/share/distribution-gpg-keys/openeuler/RPM-GPG-KEY-openEuler-EulerMaker | ||
|
||
[EPOL] | ||
name=EPOL | ||
metalink=https://mirrors.openeuler.org/metalink?repo=$releasever/EPOL/main&arch=$basearch | ||
enabled=1 | ||
gpgcheck=1 | ||
gpgkey=file:///usr/share/distribution-gpg-keys/openeuler/RPM-GPG-KEY-openEuler-EulerMaker | ||
|
||
[debuginfo] | ||
name=debuginfo | ||
metalink=https://mirrors.openeuler.org/metalink?repo=$releasever/debuginfo&arch=$basearch | ||
enabled=0 | ||
gpgcheck=1 | ||
gpgkey=file:///usr/share/distribution-gpg-keys/openeuler/RPM-GPG-KEY-openEuler-EulerMaker | ||
|
||
[source] | ||
name=source | ||
metalink=https://mirrors.openeuler.org/metalink?path=openeuler/$releasever/source/repodata/repomd.xml | ||
enabled=0 | ||
gpgcheck=1 | ||
gpgkey=file:///usr/share/distribution-gpg-keys/openeuler/RPM-GPG-KEY-openEuler-EulerMaker | ||
|
||
[update] | ||
name=update | ||
metalink=https://mirrors.openeuler.org/metalink?repo=$releasever/update&arch=$basearch | ||
enabled=1 | ||
gpgcheck=1 | ||
gpgkey=file:///usr/share/distribution-gpg-keys/openeuler/RPM-GPG-KEY-openEuler-EulerMaker | ||
|
||
[update-source] | ||
name=update-source | ||
metalink=https://mirrors.openeuler.org/metalink?path=openeuler/$releasever/update/source/repodata/repomd.xml | ||
enabled=0 | ||
gpgcheck=1 | ||
gpgkey=file:///usr/share/distribution-gpg-keys/openeuler/RPM-GPG-KEY-openEuler-EulerMaker | ||
""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Add configuration for openEuler 24.03 LTS. |