mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-09-17 00:38:43 +00:00
When using systemd class from OE-Core we also need to install the units explicitly. systemd packages ending with -systemd are consumed and now provided by package proper. MJ: fix RPROVIDES_PN = PN-systemd in entrance MJ: add RPROVIDES for ntp*-systemd in ntp MJ: the same for wpa-supplicant Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
19 lines
415 B
Plaintext
19 lines
415 B
Plaintext
inherit systemd
|
|
|
|
PRINC := "${@int(PRINC) + 1}"
|
|
|
|
# look for files in the layer first
|
|
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
|
|
|
|
SRC_URI += "file://rpcbind.service"
|
|
|
|
SYSTEMD_PACKAGES = "${PN}"
|
|
RPROVIDES_${PN} += "${PN}-systemd"
|
|
SYSTEMD_SERVICE_${PN} = "rpcbind.service"
|
|
|
|
do_install_append() {
|
|
install -d ${D}${systemd_unitdir}/system
|
|
install -m 0644 ${WORKDIR}/rpcbind.service ${D}${systemd_unitdir}/system
|
|
}
|
|
|