Skip to content

Commit

Permalink
feat: add UM 40 mock configs
Browse files Browse the repository at this point in the history
  • Loading branch information
lleyton committed Mar 8, 2024
1 parent 08250c3 commit 649afbc
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 10 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
config_opts['releasever'] = '39'
config_opts['target_arch'] = 'aarch64'
config_opts['legal_host_arches'] = ('aarch64',)

include('templates/ultramarine.tpl')
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
config_opts['releasever'] = '39'
config_opts['target_arch'] = 'x86_64'
config_opts['legal_host_arches'] = ('x86_64',)

include('templates/ultramarine.tpl')
20 changes: 11 additions & 9 deletions ultramarine/ultramarine-mock-configs/ultramarine-mock-configs.spec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Name: ultramarine-mock-configs
Version: 1.0
Release: 6%{?dist}
Summary: Ultramarine Linux mock configs
Version: 1.1
Release: 1%{?dist}
Summary: Mock configs for`ultramarine-linux`

License: MIT
URL: https://ultramarine-linux.org
Expand All @@ -15,16 +15,17 @@ Source7: ultramarine-38-x86_64.cfg
Source8: ultramarine-38-aarch64.cfg
Source9: ultramarine-39-x86_64.cfg
Source10: ultramarine-39-aarch64.cfg
Source11: ultramarine-40-x86_64.cfg
Source12: ultramarine-40-aarch64.cfg
BuildArch: noarch

%description
%{summary}

%prep


%build


%install
mkdir -p %{buildroot}/etc/mock/templates
cp -v %{SOURCE0} %{buildroot}/etc/mock
Expand All @@ -37,14 +38,15 @@ cp -v %{SOURCE7} %{buildroot}/etc/mock/
cp -v %{SOURCE8} %{buildroot}/etc/mock/
cp -v %{SOURCE9} %{buildroot}/etc/mock/
cp -v %{SOURCE10} %{buildroot}/etc/mock/

cp -v %{SOURCE11} %{buildroot}/etc/mock/
cp -v %{SOURCE12} %{buildroot}/etc/mock/

%files
/etc/mock/*
/etc/mock/templates/*



%changelog
* Thu Mar 07 2024 Lleyton Gray <[email protected]>
- Add configs for 40
* Fri Oct 07 2022 Cappy Ishihara <[email protected]>
-
- Initial package release
8 changes: 7 additions & 1 deletion ultramarine/ultramarine-mock-configs/ultramarine.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,15 @@ config_opts['macros']['%dist'] = '.um{{ releasever }}'
config_opts['macros']['%ultramarine'] = '{{ releasever }}'
config_opts['chroot_setup_cmd'] = 'install @buildsys-build'
config_opts['buildroot_pkgs'] = 'ultramarine-release ultramarine-release-basic'
config_opts['package_manager'] = 'dnf'
config_opts['package_manager'] = 'dnf5'
config_opts['extra_chroot_dirs'] = [ '/run/lock', ]
config_opts['mirrored'] = config_opts['target_arch'] != 'i686'
config_opts['plugin_conf']['root_cache_enable'] = True
config_opts['plugin_conf']['yum_cache_enable'] = True
config_opts['plugin_conf']['ccache_enable'] = True
config_opts['plugin_conf']['ccache_opts']['compress'] = 'on'
config_opts['plugin_conf']['ccache_opts']['max_cache_size'] = '10G'

# repos
config_opts['dnf.conf'] = """

Expand Down

0 comments on commit 649afbc

Please sign in to comment.