mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-16 16:27:27 +00:00
2b2521e32d
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Eric Bénard <eric@eukrea.com>
21 lines
534 B
Plaintext
21 lines
534 B
Plaintext
inherit systemd
|
|
|
|
PRINC := "${@int(PRINC) + 1}"
|
|
|
|
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
|
|
|
|
SYSTEMD_PACKAGES = "${PN}-systemd ntpdate-systemd"
|
|
SYSTEMD_SERVICE_${PN}-systemd = "ntpd.service"
|
|
SYSTEMD_SERVICE_ntpdate-systemd = "ntpdate.service"
|
|
|
|
SRC_URI += " \
|
|
file://ntpdate.service \
|
|
file://ntpd.service \
|
|
"
|
|
|
|
do_install_append() {
|
|
install -d ${D}${systemd_unitdir}/system
|
|
install -m 0644 ${WORKDIR}/ntpdate.service ${D}${systemd_unitdir}/system/
|
|
install -m 0644 ${WORKDIR}/ntpd.service ${D}${systemd_unitdir}/system/
|
|
}
|