mirror of
https://github.com/lingble/meta-tegra.git
synced 2025-10-29 03:22:36 +00:00
* Ran convert-overrides.py to generate the initial changes * Manual cleanup afterwards (which was a lot, due to our extensive use of overrides). Signed-off-by: Matt Madison <matt@madison.systems>
28 lines
778 B
BlitzBasic
28 lines
778 B
BlitzBasic
DESCRIPTION = "nvargusdaemon initscript/service"
|
|
LICENSE = "MIT"
|
|
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
|
|
|
|
SRC_URI = "\
|
|
file://nvargus-daemon.init \
|
|
file://nvargus-daemon.service \
|
|
"
|
|
|
|
INHIBIT_DEFAULT_DEPS = "1"
|
|
COMPATIBLE_MACHINE = "(tegra)"
|
|
|
|
S = "${WORKDIR}"
|
|
|
|
do_install() {
|
|
install -d ${D}${sysconfdir}/init.d
|
|
install -m755 ${S}/nvargus-daemon.init ${D}${sysconfdir}/init.d/nvargus-daemon
|
|
install -d ${D}${systemd_system_unitdir}
|
|
install -m644 ${S}/nvargus-daemon.service ${D}${systemd_system_unitdir}
|
|
}
|
|
|
|
inherit systemd update-rc.d
|
|
|
|
INITSCRIPT_NAME = "nvargus-daemon"
|
|
INITSCRIPT_PARAMS = "defaults"
|
|
SYSTEMD_SERVICE:${PN} = "nvargus-daemon.service"
|
|
RDEPENDS:${PN} = "tegra-libraries-argus-daemon-base"
|