meta-facebook: Add License file for fb-powerctrl
fb-powerctrl: Added missing License file and also updated inheriting
obmc-phosphor-systemd instead of systemd file for installing service
files.
Tested: Build tiogapass image and verified.
Change-Id: I90de0d3a83b5a26aa6dec2f15aebd3c54de7d84e
Signed-off-by: Vijay Khemka <vijaykhemka@fb.com>
diff --git a/meta-tiogapass/recipes-fbtp/fb-powerctrl/fb-powerctrl.bb b/meta-tiogapass/recipes-fbtp/fb-powerctrl/fb-powerctrl.bb
index 37fa835..a46c44b 100644
--- a/meta-tiogapass/recipes-fbtp/fb-powerctrl/fb-powerctrl.bb
+++ b/meta-tiogapass/recipes-fbtp/fb-powerctrl/fb-powerctrl.bb
@@ -1,6 +1,8 @@
FILESEXTRAPATHS_append := "${THISDIR}/files:"
-inherit systemd
+inherit obmc-phosphor-systemd
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=a8328fd2a610bf4527feedcaa3ae3d14"
S = "${WORKDIR}/"
@@ -8,7 +10,8 @@
file://power-util \
file://host-gpio.service \
file://host-poweroff.service \
- file://host-poweron.service"
+ file://host-poweron.service \
+ file://LICENSE"
DEPENDS = "systemd"
RDEPENDS_${PN} = "bash"