blob: 22fd0a64e040a15e05a969f7d33b871822b61de6 [file] [log] [blame]
Potin Lai3f1e6372024-06-03 16:44:45 +08001LICENSE = "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 ${WORKDIR}/catalina-early-sys-init ${CATALINA_LIBEXECDIR}
25 install -m 0755 ${WORKDIR}/standby-power-enable ${CATALINA_LIBEXECDIR}
26}