recipes-azure-device-update/adu-log-dir/adu-log-dir.bb (11 lines of code) (raw):
# Generates a new temporary directory, /aduc-logs, for ADU Client log files.
LICENSE="CLOSED"
SRC_URI = "\
file://adu-logs.conf \
"
do_install() {
install -d ${D}${sysconfdir}/tmpfiles.d
install -m 0644 ${WORKDIR}/adu-logs.conf ${D}${sysconfdir}/tmpfiles.d
}
FILES:${PN} += "${sysconfdir}/tmpfiles.d/adu-logs.conf"
inherit allarch