Skip to content

Commit

Permalink
Merge pull request #218 from mmilev-rh/patch-1
Browse files Browse the repository at this point in the history
Add arch explanation to rpms.in.yaml
  • Loading branch information
ralphbean authored Jan 31, 2025
2 parents fd122f1 + 529021d commit b7c890f
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -344,9 +344,11 @@ To prefetch dependencies for a component build, complete the following steps:
packages: [nethack] <1>
contentOrigin:
repofiles: ["./fedora.repo"] <2>
arches: [x86_64, aarch64] <3>
----
<1> The `*packages*` list is the list of packages you want to install in your Container. You don't have to declare transitive dependencies here. The rpm-lockfile-prototype tool will resolve them for you.
<2> This should be a reference to a repo file, like those found in `/etc/yum.repos.d/`. This tells the tooling where to find your rpm and its dependencies.
<3> The `arches` array allows you to specify which architectures the dependencies should be downloaded for. If you're building a multi-arch container this array is mandatory, otherwise the build task will fail.

. Copy any necessary yum/dnf repo files into your git repository. If you are using a fedora rawhide base image, that looks like:

Expand Down

0 comments on commit b7c890f

Please sign in to comment.