Skip to content

Commit e151dae

Browse files
committed
feat: add 'nfsd' extension
Add nfsd extension Signed-off-by: Subhash Chandra <[email protected]>
1 parent c06874c commit e151dae

File tree

4 files changed

+35
-0
lines changed

4 files changed

+35
-0
lines changed

Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ TARGETS = \
4848
i915-ucode \
4949
intel-ucode \
5050
iscsi-tools \
51+
nfsd \
5152
nut-client \
5253
nvidia-container-toolkit \
5354
nvidia-fabricmanager \

storage/nfsd/manifest.yaml

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
version: v1alpha1
2+
metadata:
3+
name: nfsd
4+
version: "$VERSION"
5+
author: Subhash Chandra
6+
description: |
7+
This system extension provides kernel module driver for NFSD built against a specific Talos version.
8+
compatibility:
9+
talos:
10+
version: ">= v1.2.0"

storage/nfsd/pkg.yaml

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: nfsd
2+
variant: scratch
3+
shell: /toolchain/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: "{{ .PKGS_PREFIX }}/nfsd-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/lib/modules
16+
17+
cp -R /lib/modules/* /rootfs/lib/modules
18+
finalize:
19+
- from: /rootfs
20+
to: /rootfs
21+
- from: /pkg/manifest.yaml
22+
to: /

storage/nfsd/vars.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# the first part is the driver version and the second the talos version for which the module is built against
2+
VERSION: "{{ .BUILD_ARG_TAG }}"

0 commit comments

Comments
 (0)