File tree Expand file tree Collapse file tree 6 files changed +43
-0
lines changed
drivers/mellanox-mstflint Expand file tree Collapse file tree 6 files changed +43
-0
lines changed Original file line number Diff line number Diff line change 3030 - lldpd
3131 - mdadm
3232 - mei
33+ - mellanox-mstflint
3334 - metal-agent
3435 - nebula
3536 - nfsd
Original file line number Diff line number Diff line change @@ -85,6 +85,7 @@ TARGETS += kata-containers
8585TARGETS += lldpd
8686TARGETS += mdadm
8787TARGETS += mei
88+ TARGETS += mellanox-mstflint
8889TARGETS += metal-agent
8990TARGETS += nebula
9091TARGETS += nfsd
Original file line number Diff line number Diff line change 1+ # mellanox-mstflint extension
Original file line number Diff line number Diff line change 1+ version : v1alpha1
2+ metadata :
3+ name : mellanox-mstflint
4+ version : " $VERSION"
5+ author : Jean-Francois Roy
6+ description : |
7+ This system extension provides mstflint.
8+ compatibility :
9+ talos :
10+ version : " >= v1.2.0"
Original file line number Diff line number Diff line change 1+ name : mellanox-mstflint
2+ variant : scratch
3+ shell : /bin/bash
4+ dependencies :
5+ - stage : base
6+ # The pkgs version for a particular release of Talos as defined in
7+ # https://github.com/siderolabs/talos/blob/<talos version>/pkg/machinery/gendata/data/pkgs
8+ - image : " {{ .BUILD_ARG_PKGS_PREFIX }}/mellanox-mstflint-pkg:{{ .BUILD_ARG_PKGS }}"
9+ steps :
10+ - prepare :
11+ - |
12+ sed -i 's#$VERSION#{{ .VERSION }}#' /pkg/manifest.yaml
13+ - install :
14+ - |
15+ mkdir -p /rootfs/usr/lib/modules
16+
17+ cp -R /usr/lib/modules/* /rootfs/usr/lib/modules
18+ - test :
19+ - |
20+ mkdir -p /extensions-validator-rootfs
21+ cp -r /rootfs/ /extensions-validator-rootfs/rootfs
22+ cp /pkg/manifest.yaml /extensions-validator-rootfs/manifest.yaml
23+ /extensions-validator validate --rootfs=/extensions-validator-rootfs --pkg-name="${PKG_NAME}"
24+ finalize :
25+ - from : /rootfs
26+ to : /rootfs
27+ - from : /pkg/manifest.yaml
28+ to : /
Original file line number Diff line number Diff line change 1+ # update when pkgs version is updated
2+ VERSION : " 4.31.0-1-{{ .BUILD_ARG_TAG }}"
You can’t perform that action at this time.
0 commit comments