Delphine CC Chiu | 177e987 | 2023-09-22 10:30:23 +0800 | [diff] [blame] | 1 | LICENSE = "Apache-2.0" |
| 2 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10" |
| 3 | |
| 4 | inherit allarch systemd obmc-phosphor-systemd |
| 5 | |
| 6 | RDEPENDS:${PN} += "bash" |
| 7 | RDEPENDS:${PN} += "libgpiod-tools" |
| 8 | RDEPENDS:${PN} += "yosemite4-common-functions" |
| 9 | |
| 10 | SRC_URI += " \ |
| 11 | file://yosemite4-sys-init.service \ |
| 12 | file://yosemite4-early-sys-init \ |
| 13 | " |
| 14 | |
| 15 | SYSTEMD_PACKAGES = "${PN}" |
| 16 | SYSTEMD_SERVICE:${PN}:append = " \ |
| 17 | yosemite4-sys-init.service \ |
| 18 | " |
| 19 | |
| 20 | do_install() { |
| 21 | install -d ${D}${libexecdir} |
| 22 | install -m 0755 ${WORKDIR}/yosemite4-early-sys-init ${D}${libexecdir} |
| 23 | } |
| 24 | |