Skip to content

Instantly share code, notes, and snippets.

@reubenmiller
Last active May 20, 2025 06:59
Show Gist options
  • Save reubenmiller/9c4d8c11d3b4764c449be668f8758cdd to your computer and use it in GitHub Desktop.
Save reubenmiller/9c4d8c11d3b4764c449be668f8758cdd to your computer and use it in GitHub Desktop.
thin-edge.io Yocto Kirkstone minimal example (using Kas)
# yaml-language-server: $schema=https://raw.githubusercontent.com/siemens/kas/66261547b75885786777a0b9c8a4400ab81d432e/kas/schema-kas.json
header:
version: 14
bblayers_conf_header:
meta-minimal: |
POKY_BBLAYERS_CONF_VERSION = "2"
local_conf_header:
meta-minimal: |
PACKAGE_CLASSES ?= "package_ipk"
EXTRA_IMAGE_FEATURES ?= "debug-tweaks ssh-server-dropbear"
DISTRO_FEATURES:append = " systemd"
IMAGE_INSTALL:append = " sudo tedge"
PREFERRED_VERSION_tedge ?= "1.4.2"
# Control which services are enabled by default
SYSTEMD_AUTO_ENABLE:mosquitto = "enable"
SYSTEMD_AUTO_ENABLE:tedge-agent = "disable"
SYSTEMD_AUTO_ENABLE:tedge-mapper-aws = "disable"
SYSTEMD_AUTO_ENABLE:tedge-mapper-az = "disable"
SYSTEMD_AUTO_ENABLE:tedge-mapper-c8y = "disable"
# Disable tedge-mapper-collectd mapper since collectd isn't being installed
SYSTEMD_AUTO_ENABLE:tedge-mapper-collectd = "disable"
# yaml-language-server: $schema=https://raw.githubusercontent.com/siemens/kas/66261547b75885786777a0b9c8a4400ab81d432e/kas/schema-kas.json
header:
version: 14
includes:
- config-minimal.yaml
distro: poky
target: core-image-base
defaults:
repos:
branch: kirkstone
repos:
poky:
url: "https://git.yoctoproject.org/git/poky"
commit: a42a2d776dca915fe36e93f445321b64d357a3be
layers:
meta:
meta-poky:
meta-yocto-bsp:
meta-openembedded:
url: "https://git.openembedded.org/meta-openembedded"
commit: de8681b4a2a101b99dd2c48d89a7de2ccd9a961f
layers:
meta-oe:
meta-python:
meta-networking:
meta-multimedia:
meta-filesystems:
meta-lts-mixins-rust:
url: "https://git.yoctoproject.org/meta-lts-mixins"
commit: 14f4afb2ff375c2d7c317ed3af3946eda9625185
branch: kirkstone/rust
meta-tedge:
url: "https://github.com/thin-edge/meta-tedge.git"
commit: "977741680691f1b19c72069288c68972b6400c05"
layers:
meta-tedge:
meta-tedge-common:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment