| SUMMARY = "Systemd target for eMMC availability" |
| DESCRIPTION = "Use this target to start/stop services that need the eMMC" |
| PR = "r1" |
| LICENSE = "Apache-2.0" |
| LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10" |
| |
| inherit systemd |
| |
| DEPENDS += "systemd" |
| |
| SRC_URI += " \ |
| file://emmc-available.target \ |
| " |
| |
| SYSTEMD_PACKAGES = "${PN}" |
| SYSTEMD_SERVICE:${PN} += "emmc-available.target" |
| |
| do_install:append() { |
| install -d ${D}${systemd_system_unitdir} |
| install -m 0644 ${WORKDIR}/emmc-available.target ${D}${systemd_system_unitdir} |
| } |