Skip to content

Commit

Permalink
feat: add broadcom netextreme 2 (bnx2/bnx2x) extension
Browse files Browse the repository at this point in the history
This PR adds bnx2/bnx2x from linux-firmware.

Signed-off-by: Spencer Smith <spencer.smith@talos-systems.com>
  • Loading branch information
rsmitty committed Feb 2, 2022
1 parent d4628b6 commit 33f613e
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ COMMON_ARGS += --build-arg=https_proxy=$(https_proxy)
empty :=
space = $(empty) $(empty)

TARGETS = amd-ucode gvisor intel-ucode
TARGETS = amd-ucode bnx2-bnx2x gvisor intel-ucode
NONFREE_TARGETS =

all: $(TARGETS) ## Builds all known pkgs.
Expand Down
10 changes: 10 additions & 0 deletions bnx2-bnx2x/manifest.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
version: v1alpha1
metadata:
name: bnx2-bnx2x
version: 20211216-v1.0.0
author: Spencer Smith
description: |
This system extension provides bnx2 and bnx2x binaries.
compatibility:
talos:
version: "> v0.15.0-alpha.1"
17 changes: 17 additions & 0 deletions bnx2-bnx2x/pkg.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: bnx2-bnx2x
variant: scratch
shell: /toolchain/bin/bash
dependencies:
- stage: base
- image: "{{ .LINUX_FIRMWARE_IMAGE }}"
steps:
- install:
- |
mkdir -p /rootfs/lib/firmware
cp -R -p /lib/firmware/bnx2 /rootfs/lib/firmware
cp -R -p /lib/firmware/bnx2x /rootfs/lib/firmware
finalize:
- from: /rootfs
to: /rootfs
- from: /pkg/manifest.yaml
to: /

0 comments on commit 33f613e

Please sign in to comment.