Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
3 contributors

Users who have contributed to this file

@koenkooi @schnitzeltony @kraj
31 lines (20 sloc) 674 Bytes
DESCRIPTION = "Poor mans RTC using timestamps"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
inherit allarch systemd
SRC_URI = "file://timestamp.service \
file://load-timestamp.sh \
"
do_compile() {
:
}
do_install () {
install -d ${D}/${bindir}
install -m 0755 ${WORKDIR}/load-timestamp.sh ${D}/${bindir}
install -d ${D}/${base_libdir}/systemd/system
install -m 0644 ${WORKDIR}/timestamp.service ${D}/${base_libdir}/systemd/system/
}
NATIVE_SYSTEMD_SUPPORT = "1"
SYSTEMD_PACKAGES = "${PN}"
SYSTEMD_SERVICE_${PN} = "timestamp.service"
FILES_${PN} += "${base_libdir}/systemd"
You can’t perform that action at this time.