blob: 2dec63ddd23ba0a3e455acf8cf145c6d5d6aab76 [file] [log] [blame]
SUMMARY = "Bringup scripts for EIP-197 Upstream Lookaside Driver"
LICENSE = "GPL-2.0"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
FILESEXTRAPATHS_prepend := "${THISDIR}/init:"
S = "${WORKDIR}/init"
inherit systemd
SRC_URI = "file://init"
SYSTEMD_PACKAGES = "${PN}"
SYSTEMD_SERVICE_${PN} = " safexcel_insmod.service"
FILES_${PN} += "{systemd_unitdir}/system/safexcel_insmod.service"
SYSTEMD_AUTO_ENABLE_${PN} = "enable"
do_install() {
install -d ${D}${sbindir}
install -m 0755 ${S}/safexcel_insmod.sh ${D}${sbindir}/safexcel_insmod.sh
install -d ${D}${systemd_unitdir}/system/
install -m 0644 ${S}/safexcel_insmod.service ${D}${systemd_unitdir}/system
}