diff options
| author | unitexe <unitexe70@gmail.com> | 2026-02-23 08:25:47 -0600 |
|---|---|---|
| committer | unitexe <unitexe70@gmail.com> | 2026-03-02 22:51:24 -0600 |
| commit | 0c027f613039db54bc87fb6de63c0ffe253cabf2 (patch) | |
| tree | d636b1e73bf82f0f25528c0d1c9887bd31b5506b /meta-unit-virtualization/recipes-core/systemd/systemd-regkeygen.bb | |
| parent | 69509e438d1417d25d646ff1a3ba88e27e4ed282 (diff) | |
Introduce meta-unit-virtualization
Primary motivation for this is removing observability containers from beaglebone black because of RAM limitations. Images can now include the observability containers by adding `observability` to `IMAGE_FEATURES`.
Diffstat (limited to 'meta-unit-virtualization/recipes-core/systemd/systemd-regkeygen.bb')
| -rw-r--r-- | meta-unit-virtualization/recipes-core/systemd/systemd-regkeygen.bb | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/meta-unit-virtualization/recipes-core/systemd/systemd-regkeygen.bb b/meta-unit-virtualization/recipes-core/systemd/systemd-regkeygen.bb new file mode 100644 index 0000000..ee53401 --- /dev/null +++ b/meta-unit-virtualization/recipes-core/systemd/systemd-regkeygen.bb @@ -0,0 +1,31 @@ +SUMMARY = "Systemd service for generating TLS key and cert for distribution" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://${UNIT_VIRTUALIZATION_LAYERDIR}/LICENSE;md5=a77c12e0c0e8a14cebb1494195720ccc" + +SYSTEMD_SERVICE:${PN} = "regkeygen.service" + +SRC_URI = "\ + file://regkeygen.service \ + file://regkeygen.sh \ +" + +RDEPENDS:${PN}:append = " add-user-svc" + +S = "${UNPACKDIR}" + +do_install() { + install -D -p -m0644 ${UNPACKDIR}/regkeygen.service ${D}${systemd_system_unitdir}/regkeygen.service + install -D -p -m0755 ${UNPACKDIR}/regkeygen.sh ${D}${bindir}/regkeygen.sh +} + +inherit systemd + +FILES:${PN} = "\ + ${systemd_system_unitdir} \ + ${bindir} \ +" + +RDEPENDS:${PN} = "\ + openssl \ + ca-certificates \ +" |
