# This file defines the pipeline for building the NVIDIA Bluefield artifacts. version: '2' sources: org.osbuild.curl: items: sha256:31291585b25881f633e9f4d7e97367d10413dd7877117fbf16b8eda5cb425ccc: url: https://linux.mellanox.com/public/repo/doca/3.3.0/rhel9.6/arm64-dpu/mlxbf-bfscripts-3.6.0-1.el9.noarch.rpm sha256:b35ad0f987fd3870e11ad5dbec3340a019a456b7879caa4b82c944c4ff6841b4: url: https://linux.mellanox.com/public/repo/doca/3.3.0/rhel9.6/arm64-dpu/mlxbf-bootimages-signed-4.14.0-13878.aarch64.rpm pipelines: - name: nvidiabluefield-buildroot stages: # Copy in the original buildroot - type: org.osbuild.copy inputs: tree: type: org.osbuild.tree origin: org.osbuild.pipeline references: - mpp-format-string: '{buildroot}' options: paths: - from: input://tree/ to: tree:/// devices: disk: type: org.osbuild.loopback options: filename: disk.img partscan: true # And then install two mlx* RPMs that will be used to create the BFB image - type: org.osbuild.rpm inputs: packages: type: org.osbuild.files origin: org.osbuild.source references: # mlxbf-bfscripts contains the mlx-mkbfb.py, a python script that runs well with the stdlib # Using `rhel-9.6` here because the packages we need aren't in the rhel 10 versions of the repos yet. # https://linux.mellanox.com/public/repo/doca/3.3.0/rhel9.6/arm64-dpu/mlxbf-bfscripts-3.6.0-1.el9.noarch.rpm sha256:31291585b25881f633e9f4d7e97367d10413dd7877117fbf16b8eda5cb425ccc: {} # mlxbf-bootimages-signed contains the binary blobs we use to build the BFB # https://linux.mellanox.com/public/repo/doca/3.3.0/rhel9.6/arm64-dpu/mlxbf-bootimages-signed-4.14.0-13878.aarch64.rpm sha256:b35ad0f987fd3870e11ad5dbec3340a019a456b7879caa4b82c944c4ff6841b4: {} options: exclude: docs: true gpgkeys: # https://linux.mellanox.com/public/repo/doca/latest-3.2-LTS/rhel9.6/aarch64/GPG-KEY-Mellanox.pub - | -----BEGIN PGP PUBLIC KEY BLOCK----- Version: GnuPG v1 mQENBFpbc0cBCADDST+ekKD1YJje77oDX94gRolmUlh0df4n6/xvE700M1vP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HZ/1U3yPy0k eAjX1AKJngaj86SvIzEefxq4oA2gZ8UFVO/qFH5OhfoovrEwudJEuIgGb76XOb9m AoZlAqQLJniC97ld515ivBdSi4SZkaFbypnX4QARAQABiQEfBBgBCAAJBQJaW3NH AhsMAAoJEKAk9vDm1qKBHhMIAJuGbb6S3nb2xAD3GjB8F2xNcZxWQ+Qz70DY5vV/ WhrJl7cknXMxsbWvQupuYk6LujZraG9YoD4csZ5o+k3s3BGKVUXdZdhjaHpcAa5F X12ADLHca5mlmdCaaORYXQ+xHYRlOKas4I6LPpZ79BauVomEnPcv/bL0kGFzDvLr K3RdQ1n/pbcWcxxSY3InphAnslLUg0PTAME6Yay5F7WrJsnZnXApUjOlZvlPIl2c iplivN8o85eBKQXvYRg/c5iyc0koTmkM6OXNvUy0hV9z8WhhK9O+ApXwMUMf43DS KOIg9RxhZFQoPXptaQZDLz89sWmZaiXsyBPJyjlmaTjwHGM= =Iy5R -----END PGP PUBLIC KEY BLOCK----- - name: nvidiabluefield build: name:nvidiabluefield-buildroot stages: - type: org.osbuild.coreos.live-artifacts.mono inputs: kernel: type: org.osbuild.files origin: org.osbuild.pipeline references: name:live: file: mpp-format-string: '/{artifact_name_prefix}-live-kernel.{arch}' initramfs: type: org.osbuild.files origin: org.osbuild.pipeline references: name:live: file: mpp-format-string: '/{artifact_name_prefix}-live-initramfs.{arch}.img' rootfs: type: org.osbuild.files origin: org.osbuild.pipeline references: name:live: file: mpp-format-string: '/{artifact_name_prefix}-live-rootfs.{arch}.img' options: boot_args_v2: - "console=hvc0" - "console=ttyAMA0" - "earlycon=pl011,0x13010000" - "initrd=initramfs" - "modprobe.blacklist=mlxbf_pmc" - "ignition.firstboot" - "ignition.platform.id=nvidiabluefield" filename: mpp-format-string: '{artifact_name_prefix}-nvidiabluefield.{arch}.bfb'