blob: e0c3fb6f3b6f2813871312f24bbc05b04e98de82 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
SUMMARY = "Banner quadlet"
DESCRIPTION = "A quadlet for a banner container that runs rootless"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${UNPACKDIR}/LICENSE;md5=a0e6886d263a557228f8d3c5bef21837"
SRC_URI = "\
file://banner.container \
file://LICENSE \
"
RDEPENDS:${PN}:append = " podman"
RDEPENDS:${PN}:append = " add-user-svc"
S = "${UNPACKDIR}"
ROOTLESS_USER_NAME ?= "svc"
do_install() {
install -D -m 0644 ${UNPACKDIR}/banner.container ${D}/home/${ROOTLESS_USER_NAME}/.config/containers/systemd/banner.container
}
FILES:${PN} = "/home/${ROOTLESS_USER_NAME}/.config/containers/systemd/banner.container"
|