diff options
author | Timothy Pearson <tpearson@raptorengineering.com> | 2019-04-19 09:14:15 +0000 |
---|---|---|
committer | Timothy Pearson <tpearson@raptorengineering.com> | 2019-04-25 08:02:06 +0000 |
commit | d34e2ad521dd7026cfdfa4bc946dbe77dca0089b (patch) | |
tree | 04f34b97182e71f73dcdb301c9450a394fa04eb0 /meta-rcs/recipes-phosphor/host/ast-vga-disable.bb | |
parent | 49dfe571c691e1a6afe8957ff4bccbd7fcd20f66 (diff) | |
download | talos-openbmc-d34e2ad521dd7026cfdfa4bc946dbe77dca0089b.tar.gz talos-openbmc-d34e2ad521dd7026cfdfa4bc946dbe77dca0089b.zip |
Move RCS specific layers to correct location for latest OpenBMC
Diffstat (limited to 'meta-rcs/recipes-phosphor/host/ast-vga-disable.bb')
-rw-r--r-- | meta-rcs/recipes-phosphor/host/ast-vga-disable.bb | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/meta-rcs/recipes-phosphor/host/ast-vga-disable.bb b/meta-rcs/recipes-phosphor/host/ast-vga-disable.bb new file mode 100644 index 000000000..fc5b567be --- /dev/null +++ b/meta-rcs/recipes-phosphor/host/ast-vga-disable.bb @@ -0,0 +1,33 @@ +SUMMARY = "Talos II VGA Disable" +DESCRIPTION = "Talos II power on VGA disable controller" +PR = "r0" + +LICENSE = "LGPLv3+" +LIC_FILES_CHKSUM = "file://COPYING;md5=1ebbd3e34237af26da5dc08a4e440464 \ + file://COPYING.LESSER;md5=3000208d539ec061b899bce1d9ce9404 \ + " + +inherit obmc-phosphor-systemd + +PROVIDES += 'virtual/talos-ast-vga-disable' +RPROVIDES_${PN} += 'virtual-talos-ast-vga-disable' + +RDEPENDS_${PN} += "bash" + +S = "${WORKDIR}" +SRC_URI += "file://ast-vga-disable-check" +SRC_URI += "file://COPYING" +SRC_URI += "file://COPYING.LESSER" + +do_install() { + install -d ${D}${bindir} + install -m 0755 ${WORKDIR}/ast-vga-disable-check ${D}${bindir}/ast-vga-disable-check +} + +TMPL = "ast_vga_disable@.service" +INSTFMT = "ast_vga_disable@{0}.service" +TGTFMT = "obmc-chassis-poweron@{0}.target" +FMT = "../${TMPL}:${TGTFMT}.requires/${INSTFMT}" + +SYSTEMD_SERVICE_${PN} += "${TMPL}" +SYSTEMD_LINK_${PN} += "${@compose_list(d, 'FMT', 'OBMC_CHASSIS_INSTANCES')}" |