Skip to content

Commit bccf39e

Browse files
committed
initial extension for RK3588 and kernel modules
1 parent 8784d16 commit bccf39e

File tree

12 files changed

+111
-262
lines changed

12 files changed

+111
-262
lines changed

.github/workflows/ci.yaml

Lines changed: 6 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,7 @@ jobs:
2525
issues: read
2626
packages: write
2727
pull-requests: read
28-
runs-on:
29-
- self-hosted
30-
- pkgs
28+
runs-on: ubuntu-latest
3129
if: (!startsWith(github.head_ref, 'renovate/') && !startsWith(github.head_ref, 'dependabot/'))
3230
outputs:
3331
labels: ${{ steps.retrieve-pr-labels.outputs.result }}
@@ -43,23 +41,15 @@ jobs:
4341
steps:
4442
- name: checkout
4543
uses: actions/checkout@v4
46-
- name: Unshallow
47-
run: |
48-
git fetch --prune --unshallow
44+
with:
45+
# need history for `git describe` to work for Talos `Makefile`
46+
fetch-depth: 0
47+
fetch-tags: true
4948
- name: Set up Docker Buildx
5049
uses: docker/setup-buildx-action@v3
51-
with:
52-
append: |
53-
- endpoint: tcp://buildkit-arm64.ci.svc.cluster.local:1234
54-
platforms: linux/arm64
55-
driver: remote
56-
endpoint: tcp://localhost:1234
5750
- name: Build
5851
run: |
5952
make
60-
- name: Build nonfree
61-
run: |
62-
make nonfree
6353
- name: Login to registry
6454
if: github.event_name != 'pull_request'
6555
uses: docker/login-action@v3
@@ -70,11 +60,7 @@ jobs:
7060
- name: Push to registry
7161
if: github.event_name != 'pull_request'
7262
run: |
73-
make PUSH=true
74-
- name: Push nonfree
75-
if: github.event_name != 'pull_request'
76-
run: |
77-
make nonfree PUSH=true
63+
make PUSH=true
7864
- name: Retrieve PR labels
7965
id: retrieve-pr-labels
8066
uses: actions/github-script@v7
@@ -106,36 +92,3 @@ jobs:
10692
with:
10793
body_path: _out/RELEASE_NOTES.md
10894
draft: "true"
109-
reproducibility:
110-
runs-on:
111-
- self-hosted
112-
- pkgs
113-
if: contains(fromJSON(needs.default.outputs.labels), 'integration/reproducibility')
114-
needs:
115-
- default
116-
services:
117-
buildkitd:
118-
image: moby/buildkit:v0.12.4
119-
options: --privileged
120-
ports:
121-
- 1234:1234
122-
volumes:
123-
- /var/lib/buildkit/${{ github.repository }}:/var/lib/buildkit
124-
- /usr/etc/buildkit/buildkitd.toml:/etc/buildkit/buildkitd.toml
125-
steps:
126-
- name: checkout
127-
uses: actions/checkout@v4
128-
- name: Unshallow
129-
run: |
130-
git fetch --prune --unshallow
131-
- name: Set up Docker Buildx
132-
uses: docker/setup-buildx-action@v3
133-
with:
134-
append: |
135-
- endpoint: tcp://buildkit-arm64.ci.svc.cluster.local:1234
136-
platforms: linux/arm64
137-
driver: remote
138-
endpoint: tcp://localhost:1234
139-
- name: reproducibility-test
140-
run: |
141-
make reproducibility-test

.github/workflows/slack-notify.yaml

Lines changed: 0 additions & 93 deletions
This file was deleted.

.github/workflows/weekly.yaml

Lines changed: 0 additions & 42 deletions
This file was deleted.

Makefile

Lines changed: 6 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ ifeq ($(GOARCH),x86_64)
1616
GOARCH := amd64
1717
endif
1818
REGISTRY ?= ghcr.io
19-
USERNAME ?= siderolabs
19+
USERNAME ?= nberlee
2020
REGISTRY_AND_USERNAME ?= $(REGISTRY)/$(USERNAME)
2121
KRES_IMAGE ?= ghcr.io/siderolabs/kres:latest
2222
CONFORMANCE_IMAGE ?= ghcr.io/siderolabs/conform:latest
@@ -35,7 +35,7 @@ BLDR := docker run --rm --user $(shell id -u):$(shell id -g) --volume $(PWD):/sr
3535
# docker build settings
3636

3737
BUILD := docker buildx build
38-
PLATFORM ?= linux/amd64,linux/arm64
38+
PLATFORM ?= linux/arm64
3939
PROGRESS ?= auto
4040
PUSH ?= false
4141
CI_ARGS ?=
@@ -46,45 +46,19 @@ COMMON_ARGS += --platform=$(PLATFORM)
4646
COMMON_ARGS += --build-arg=SOURCE_DATE_EPOCH=$(SOURCE_DATE_EPOCH)
4747
COMMON_ARGS += --build-arg=TAG="$(TAG)"
4848
COMMON_ARGS += --build-arg=PKGS="$(PKGS)"
49+
COMMON_ARGS += --build-arg=PKG_KERNEL="$(PKG_KERNEL)"
4950

5051
# targets defines all the available targets
5152

52-
TARGETS = amdgpu-firmware
53-
TARGETS += amd-ucode
54-
TARGETS += binfmt-misc
55-
TARGETS += bnx2-bnx2x
56-
TARGETS += btrfs
57-
TARGETS += chelsio-drivers
58-
TARGETS += chelsio-firmware
59-
TARGETS += drbd
60-
TARGETS += ecr-credential-provider
61-
TARGETS += fuse3
62-
TARGETS += gasket-driver
63-
TARGETS += gvisor
64-
TARGETS += hello-world-service
65-
TARGETS += i915-ucode
66-
TARGETS += intel-ice-firmware
67-
TARGETS += intel-ucode
68-
TARGETS += iscsi-tools
69-
TARGETS += mdadm
70-
TARGETS += nut-client
71-
TARGETS += nvidia-container-toolkit
72-
TARGETS += nvidia-fabricmanager
73-
TARGETS += nvidia-open-gpu-kernel-modules
74-
TARGETS += qemu-guest-agent
75-
TARGETS += stargz-snapshotter
76-
TARGETS += tailscale
77-
TARGETS += thunderbolt
53+
TARGETS = binfmt-misc
54+
TARGETS += rk3588
7855
TARGETS += usb-modem-drivers
79-
TARGETS += util-linux-tools
80-
TARGETS += xe-guest-utilities
81-
TARGETS += zfs
82-
NONFREE_TARGETS = nonfree-kmod-nvidia
8356

8457
# extra variables
8558

8659
EXTENSIONS_IMAGE_REF ?= $(REGISTRY_AND_USERNAME)/extensions:$(TAG)
8760
PKGS ?= v1.6.0-15-gf51aedb
61+
PKG_KERNEL ?= ghcr.io/nberlee/kernel:v1.6.0-17-gb944dc3
8862

8963
# help menu
9064

0 commit comments

Comments
 (0)