Skip to content

Commit

Permalink
feat(dvb-si2168): add dvb-si2168-firmware extension
Browse files Browse the repository at this point in the history
Signed-off-by: Skyler Mäntysaari <[email protected]>
  • Loading branch information
samip5 committed Jul 14, 2024
1 parent b48d3a6 commit eba06b2
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -91,11 +91,12 @@ TARGETS += vmtoolsd-guest-agent
TARGETS += wasmedge
TARGETS += xen-guest-agent
TARGETS += zfs
TARGETS += dvb-si2168-firmware
NONFREE_TARGETS = nonfree-kmod-nvidia

# help menu

export define HELP_MENU_HEADER
define HELP_MENU_HEADER
# Getting Started

To build this project, you must have the following installed:
Expand Down Expand Up @@ -143,6 +144,8 @@ respectively.

endef

export HELP_MENU_HEADER

all: $(TARGETS) ## Builds all targets defined.

$(ARTIFACTS): ## Creates artifacts directory.
Expand Down
10 changes: 10 additions & 0 deletions firmware/dvb-si2168-firmware/manifest.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
version: v1alpha1
metadata:
name: dvb-si2168-firmware
version: "$VERSION"
author: Skyler Mäntysaari
description: |
This system extension provides dvb-si2168 firmware
compatibility:
talos:
version: ">= v1.0.0"
22 changes: 22 additions & 0 deletions firmware/dvb-si2168-firmware/pkg.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: dvb-si2168-firmware
variant: scratch
shell: /toolchain/bin/bash
dependencies:
- stage: base
steps:
install:
- |
mkdir -p /rootfs/lib/firmware
wget https://github.com/OpenELEC/dvb-firmware/raw/master/firmware/dvb-demod-si2168-02.fw -O /lib/firmware/dvb-demod-si2168-02.fw
wget https://github.com/OpenELEC/dvb-firmware/raw/master/firmware/dvb-demod-si2168-b40-01.fw -O /lib/firmware/dvb-demod-si2168-b40-01.fw
test:
- |
mkdir -p /extensions-validator-rootfs
cp -r /rootfs/ /extensions-validator-rootfs/rootfs
cp /pkg/manifest.yaml /extensions-validator-rootfs/manifest.yaml
/extensions-validator validate --rootfs=/extensions-validator-rootfs --pkg-name="${PKG_NAME}"
finalize:
- from: /rootfs
to: /rootfs
- from: /pkg/manifest.yaml
to: /
1 change: 1 addition & 0 deletions firmware/dvb-si2168-firmware/vars.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
VERSION: 0.0.1

0 comments on commit eba06b2

Please sign in to comment.