meta-starlingx/meta-stx-flock/stx-metal/mtce-control.bb
Babak Sarashki 15dfc29882 stx-metal: set and limit checkouts to subpaths
Signed-off-by: Babak Sarashki <Babak.SarAshki@windriver.com>
2020-09-22 19:45:37 -07:00

37 lines
869 B
BlitzBasic

require metal-common.inc
SUBPATH0 = "mtce-control/src/"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
SRC_URI += "file://0001-mtce-control-dont-install-empty-directory-unless-nee.patch;striplevel=3 \
file://mtce-control-fix-hardcoded-path-for-hbsAgent.patch;striplevel=3 \
file://mtce-control-adjust-unit-file-paths.patch;striplevel=3 \
"
RDEPENDS_${PN}_append = " \
bash \
systemd \
lighttpd \
qemu \
"
inherit systemd
SYSTEMD_PACKAGES = "${PN}"
SYSTEMD_SERVICE_${PN} = "hbsAgent.service"
SYSTEMD_AUTO_ENABLE_${PN} = "enable"
do_configure[noexec] = "1"
do_compile[noexec] = "1"
do_install() {
cd ${S}
oe_runmake buildroot=${D} \
_sysconfdir=${sysconfdir} _unitdir=${systemd_system_unitdir} _datarootdir=${datadir} \
install
}
FILES_${PN}_append = " ${datadir}/licenses/mtce-control-1.0/LICENSE"