Skip to content

Commit

Permalink
example/centos: per-arch repositories
Browse files Browse the repository at this point in the history
Make the repositories being included per architecture.

Signed-off-by: Simon de Vlieger <[email protected]>
  • Loading branch information
supakeen authored and achilleas-k committed Sep 26, 2024
1 parent bb5385e commit 810deed
Show file tree
Hide file tree
Showing 12 changed files with 28 additions and 16 deletions.
4 changes: 2 additions & 2 deletions example/centos/centos-9-aarch64-ami.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ otk.define:
module_platform_id: c9s
releasever: "9"
repositories:
otk.include: "common/repositories.yaml"
otk.include: "common/repositories/aarch64.yaml"
packages:
include:
- coreutils
Expand All @@ -35,7 +35,7 @@ otk.define:
module_platform_id: c9s
releasever: "9"
repositories:
otk.include: "common/repositories.yaml"
otk.include: "common/repositories/aarch64.yaml"
packages:
include:
# https://github.com/osbuild/images/blob/v0.86.0/pkg/distro/rhel/rhel9/ami.go#L189
Expand Down
4 changes: 2 additions & 2 deletions example/centos/centos-9-aarch64-qcow2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ otk.define:
module_platform_id: c9s
releasever: "9"
repositories:
otk.include: "common/repositories.yaml"
otk.include: "common/repositories/x86_64.yaml"
packages:
include:
- coreutils
Expand All @@ -35,7 +35,7 @@ otk.define:
module_platform_id: c9s
releasever: "9"
repositories:
otk.include: "common/repositories.yaml"
otk.include: "common/repositories/x86_64.yaml"
packages:
include:
- "@core"
Expand Down
4 changes: 2 additions & 2 deletions example/centos/centos-9-aarch64-tar.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ otk.define:
module_platform_id: c9s
releasever: "9"
repositories:
otk.include: "common/repositories.yaml"
otk.include: "common/repositories/aarch64.yaml"
packages:
include:
- coreutils
Expand All @@ -30,7 +30,7 @@ otk.define:
module_platform_id: c9s
releasever: "9"
repositories:
otk.include: "common/repositories.yaml"
otk.include: "common/repositories/aarch64.yaml"
packages:
include:
- selinux-policy-targeted
Expand Down
4 changes: 2 additions & 2 deletions example/centos/centos-9-ppc64le-tar.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ otk.define:
module_platform_id: c9s
releasever: "9"
repositories:
otk.include: "common/repositories.yaml"
otk.include: "common/repositories/s390x.yaml"
packages:
include:
- coreutils
Expand All @@ -30,7 +30,7 @@ otk.define:
module_platform_id: c9s
releasever: "9"
repositories:
otk.include: "common/repositories.yaml"
otk.include: "common/repositories/s390x.yaml"
packages:
include:
- selinux-policy-targeted
Expand Down
4 changes: 2 additions & 2 deletions example/centos/centos-9-s390x-tar.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ otk.define:
module_platform_id: c9s
releasever: "9"
repositories:
otk.include: "common/repositories.yaml"
otk.include: "common/repositories/s390x.yaml"
packages:
include:
- coreutils
Expand All @@ -30,7 +30,7 @@ otk.define:
module_platform_id: c9s
releasever: "9"
repositories:
otk.include: "common/repositories.yaml"
otk.include: "common/repositories/s390x.yaml"
packages:
include:
- selinux-policy-targeted
Expand Down
4 changes: 2 additions & 2 deletions example/centos/centos-9-x86_64-ami.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ otk.define:
module_platform_id: c9s
releasever: "9"
repositories:
otk.include: "common/repositories.yaml"
otk.include: "common/repositories/x86_64.yaml"
packages:
include:
- coreutils
Expand All @@ -36,7 +36,7 @@ otk.define:
module_platform_id: c9s
releasever: "9"
repositories:
otk.include: "common/repositories.yaml"
otk.include: "common/repositories/x86_64.yaml"
packages:
include:
# https://github.com/osbuild/images/blob/v0.86.0/pkg/distro/rhel/rhel9/ami.go#L189
Expand Down
4 changes: 2 additions & 2 deletions example/centos/centos-9-x86_64-qcow2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ otk.define:
module_platform_id: c9s
releasever: "9"
repositories:
otk.include: "common/repositories.yaml"
otk.include: "common/repositories/x86_64.yaml"
packages:
include:
- coreutils
Expand All @@ -36,7 +36,7 @@ otk.define:
module_platform_id: c9s
releasever: "9"
repositories:
otk.include: "common/repositories.yaml"
otk.include: "common/repositories/x86_64.yaml"
packages:
include:
- "@core"
Expand Down
4 changes: 2 additions & 2 deletions example/centos/centos-9-x86_64-tar.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ otk.define:
module_platform_id: c9s
releasever: "9"
repositories:
otk.include: "common/repositories.yaml"
otk.include: "common/repositories/x86_64.yaml"
packages:
include:
- coreutils
Expand All @@ -30,7 +30,7 @@ otk.define:
module_platform_id: c9s
releasever: "9"
repositories:
otk.include: "common/repositories.yaml"
otk.include: "common/repositories/x86_64.yaml"
packages:
include:
- selinux-policy-targeted
Expand Down
4 changes: 4 additions & 0 deletions example/centos/common/repositories/aarch64.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
- id: "AppStream"
baseurl: "https://rpmrepo.osbuild.org/v2/mirror/public/el9/cs9-aarch64-appstream-20240901"
- id: "BaseOS"
baseurl: "https://rpmrepo.osbuild.org/v2/mirror/public/el9/cs9-aarch64-baseos-20240901"
4 changes: 4 additions & 0 deletions example/centos/common/repositories/ppc64le.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
- id: "AppStream"
baseurl: "https://rpmrepo.osbuild.org/v2/mirror/public/el9/cs9-ppc64le-appstream-20240901"
- id: "BaseOS"
baseurl: "https://rpmrepo.osbuild.org/v2/mirror/public/el9/cs9-ppc64le-baseos-20240901"
4 changes: 4 additions & 0 deletions example/centos/common/repositories/s390x.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
- id: "AppStream"
baseurl: "https://rpmrepo.osbuild.org/v2/mirror/public/el9/cs9-s390x-appstream-20240901"
- id: "BaseOS"
baseurl: "https://rpmrepo.osbuild.org/v2/mirror/public/el9/cs9-s390x-baseos-20240901"
File renamed without changes.

0 comments on commit 810deed

Please sign in to comment.