Skip to content

Commit 5637f46

Browse files
committed
osbuild/nvidiabluefield: don't depsolve for mlxbf packages
We can't depsolve here because the depsolve happens as part of a preprocess step and essentially does it from a blank slate, so it tries to pull in everything needed for a from scratch root. We already have a tree as our starting point so this doesn't really work for us IIUC. We just need to install the two RPMs and not consider deps here (i.e. nodeps: true).
1 parent 6a316a5 commit 5637f46

1 file changed

Lines changed: 18 additions & 15 deletions

File tree

src/osbuild-manifests/platform.nvidiabluefield.yaml

Lines changed: 18 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# This file defines the pipeline for building the NVIDIA Bluefield artifacts.
22
version: '2'
3+
sources:
4+
org.osbuild.curl:
5+
items:
6+
sha256:31291585b25881f633e9f4d7e97367d10413dd7877117fbf16b8eda5cb425ccc:
7+
url: https://linux.mellanox.com/public/repo/doca/3.3.0/rhel9.6/arm64-dpu/mlxbf-bfscripts-3.6.0-1.el9.noarch.rpm
8+
sha256:b35ad0f987fd3870e11ad5dbec3340a019a456b7879caa4b82c944c4ff6841b4:
9+
url: https://linux.mellanox.com/public/repo/doca/3.3.0/rhel9.6/arm64-dpu/mlxbf-bootimages-signed-4.14.0-13878.aarch64.rpm
310
pipelines:
411
- name: nvidiabluefield-buildroot
512
stages:
@@ -21,22 +28,18 @@ pipelines:
2128
packages:
2229
type: org.osbuild.files
2330
origin: org.osbuild.source
24-
mpp-depsolve:
25-
architecture:
26-
mpp-format-string: '{arch}'
27-
repos:
28-
- id: mellanox
29-
# Using `rhel-9.6` here because the packages we need aren't in the rhel 10 versions of the repos yet.
30-
baseurl: https://linux.mellanox.com/public/repo/doca/3.3.0/rhel9.6/arm64-dpu
31-
packages:
32-
# mlxbf-bfscripts contains the mlx-mkbfb.py, a python script that runs well with the stdlib
33-
- mlxbf-bfscripts
34-
# mlxbf-bootimages-signed contains the binary blobs we use to build the BFB
35-
- mlxbf-bootimages-signed
36-
excludes:
37-
- binutils
38-
- mlxbf-bootctl
31+
references:
32+
# mlxbf-bfscripts contains the mlx-mkbfb.py, a python script that runs well with the stdlib
33+
# Using `rhel-9.6` here because the packages we need aren't in the rhel 10 versions of the repos yet.
34+
# https://linux.mellanox.com/public/repo/doca/3.3.0/rhel9.6/arm64-dpu/mlxbf-bfscripts-3.6.0-1.el9.noarch.rpm
35+
sha256:31291585b25881f633e9f4d7e97367d10413dd7877117fbf16b8eda5cb425ccc: {}
36+
# mlxbf-bootimages-signed contains the binary blobs we use to build the BFB
37+
# https://linux.mellanox.com/public/repo/doca/3.3.0/rhel9.6/arm64-dpu/mlxbf-bootimages-signed-4.14.0-13878.aarch64.rpm
38+
sha256:b35ad0f987fd3870e11ad5dbec3340a019a456b7879caa4b82c944c4ff6841b4: {}
3939
options:
40+
# The two RPMS above pull in more deps than we actually need for mlx-mkbfb.py like
41+
# binutils and mlxbf-bootctl. Let's just install them without considering missing deps.
42+
nodeps: true
4043
exclude:
4144
docs: true
4245
gpgkeys:

0 commit comments

Comments
 (0)