1LICENSE = "Apache-2.0"
2LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
3
4inherit allarch systemd obmc-phosphor-systemd
5
6RDEPENDS:${PN} += "bash"
7RDEPENDS:${PN} += "libgpiod-tools"
8RDEPENDS:${PN} += "fb-common-functions"
9
10SRC_URI += " \
11    file://catalina-sys-init.service \
12    file://catalina-early-sys-init \
13    file://standby-power-enable \
14    "
15
16SYSTEMD_PACKAGES = "${PN}"
17SYSTEMD_SERVICE:${PN}:append = " \
18    catalina-sys-init.service \
19    "
20
21do_install() {
22    CATALINA_LIBEXECDIR="${D}${libexecdir}/catalina"
23    install -d ${CATALINA_LIBEXECDIR}
24    install -m 0755 ${UNPACKDIR}/catalina-early-sys-init ${CATALINA_LIBEXECDIR}
25    install -m 0755 ${UNPACKDIR}/standby-power-enable ${CATALINA_LIBEXECDIR}
26}
27