From 76117bd750a2829fe60630b1eb41363962b3f0d6 Mon Sep 17 00:00:00 2001 From: unitexe Date: Fri, 16 Jan 2026 00:07:00 -0600 Subject: Update banner recipe to use upstream quadlet with patch to use local registry --- .../recipes-containers/banner/banner_git.bb | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 meta-unit-core/dynamic-layers/virtualization-layer/recipes-containers/banner/banner_git.bb (limited to 'meta-unit-core/dynamic-layers/virtualization-layer/recipes-containers/banner/banner_git.bb') diff --git a/meta-unit-core/dynamic-layers/virtualization-layer/recipes-containers/banner/banner_git.bb b/meta-unit-core/dynamic-layers/virtualization-layer/recipes-containers/banner/banner_git.bb new file mode 100644 index 0000000..2fce8f3 --- /dev/null +++ b/meta-unit-core/dynamic-layers/virtualization-layer/recipes-containers/banner/banner_git.bb @@ -0,0 +1,28 @@ +SUMMARY = "Banner application files" +DESCRIPTION = "Supporting files for a banner container that runs rootless" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=a77c12e0c0e8a14cebb1494195720ccc" + +SRC_URI = "\ + git://git.closedcircuitconsulting.com/banner;branch=main;protocol=https \ + file://0001-have-quadlet-use-image-from-local-registry.patch \ +" + +SRCREV = "7649e504129e46cca8b24a1ad22e17518e5f9bea" + +PV = "0.1.0" + +RDEPENDS:${PN}:append = " podman" +RDEPENDS:${PN}:append = " add-user-svc" + +S = "${UNPACKDIR}/${PN}-${PV}" + +ROOTLESS_USER_NAME ?= "svc" + +do_install() { + install -D -m 0644 ${S}/banner.container ${D}/home/${ROOTLESS_USER_NAME}/.config/containers/systemd/banner.container +} + +FILES:${PN} = "\ + /home/${ROOTLESS_USER_NAME}/.config/containers/systemd/banner.container \ +" -- cgit v1.2.3