move skynet-image and import - meta-skynet - yocto meta-layer for skynet-os
HTML git clone https://git.drkhsh.at/meta-skynet.git
DIR Log
DIR Files
DIR Refs
DIR README
---
DIR commit 31d93465a56918ad0363edc097387dc5d6421093
DIR parent 9f64ec6632a0dbb412d4a1a331aa8df0eb3098f9
HTML Author: drkhsh <me@drkhsh.at>
Date: Mon, 3 Nov 2025 21:34:18 +0100
move skynet-image and import
Diffstat:
D recipes-core/images/skynet-image.bb | 8 --------
A recipes-extended/images/includes/d… | 3 +++
A recipes-extended/images/includes/s… | 25 +++++++++++++++++++++++++
A recipes-extended/images/skynet-ima… | 2 ++
4 files changed, 30 insertions(+), 8 deletions(-)
---
DIR diff --git a/recipes-core/images/skynet-image.bb b/recipes-core/images/skynet-image.bb
@@ -1,8 +0,0 @@
-DESCRIPTION = "Skynet OS image with RAUC support"
-
-require recipes-core/images/core-image-minimal.bb
-
-IMAGE_INSTALL:append = " rauc"
-IMAGE_FSTYPES:append = " ext4"
-WKS_FILE = "sdimage-dual-raspberrypi.wks.in"
-
DIR diff --git a/recipes-extended/images/includes/debug-image.inc b/recipes-extended/images/includes/debug-image.inc
@@ -0,0 +1,3 @@
+DISTRO_FEATURES:append = " debug"
+IMAGE_FEATURES:append = " tools-debug debug-tweaks tools-testapps dev-pkgs doc-pkgs dbg-pkgs"
+IMAGE_INSTALL:append = " packagegroup-skynet-debug"
DIR diff --git a/recipes-extended/images/includes/skynet-image.inc b/recipes-extended/images/includes/skynet-image.inc
@@ -0,0 +1,25 @@
+REQUIRED_DISTRO_FEATURES = "systemd wifi"
+
+inherit core-image extrausers features_check
+IMAGE_VERSION_SUFFIX = "-${DISTRO_VERSION}-${DATETIME}"
+IMAGE_NAME = "${IMAGE_BASENAME}-${MACHINE}${IMAGE_VERSION_SUFFIX}"
+PV = "${DISTRO_VERSION}"
+
+IMAGE_FEATURES:append = " ssh-server-openssh package-management"
+IMAGE_FEATURES:remove = "allow-empty-password"
+IMAGE_FEATURES:remove = "empty-root-password"
+
+EXTRA_USERS_PARAMS = "usermod -L root; usermod -s /bin/zsh root"
+
+IMAGE_INSTALL = " \
+ packagegroup-core-boot \
+ packagegroup-base-extended \
+ packagegroup-skynet-base \
+ initscripts-readonly-rootfs-overlay \
+ rauc \
+ "
+IMAGE_FSTYPES:append = " ext4"
+WKS_FILE = "sdimage-dual-raspberrypi.wks.in"
+
+IMAGE_LINGUAS = "en-us"
+
DIR diff --git a/recipes-extended/images/skynet-image.bb b/recipes-extended/images/skynet-image.bb
@@ -0,0 +1,2 @@
+DESCRIPTION = "Skynet OS base image"
+require includes/skynet-image.inc