summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVijay Khemka <vijaykhemka@fb.com>2019-01-08 10:45:20 -0800
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2019-01-08 18:18:48 -0500
commit3becf049ee9158919709a983c0b681deb7ef2be7 (patch)
treedb3b98053f83e449f51bc444eafdc60b86210546
parent3b701e843e16a330dd35f3d3c8b943e20820a2a3 (diff)
downloadtalos-openbmc-3becf049ee9158919709a983c0b681deb7ef2be7.tar.gz
talos-openbmc-3becf049ee9158919709a983c0b681deb7ef2be7.zip
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. (From meta-facebook rev: 4855da8a80b24c732ac77ba527ce4320186e1fa3) Change-Id: I0508e4db25abfdbdb53f632069ffc619195ea883 Signed-off-by: Vijay Khemka <vijaykhemka@fb.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
-rw-r--r--meta-facebook/meta-tiogapass/recipes-fbtp/fb-powerctrl/fb-powerctrl.bb7
-rw-r--r--meta-facebook/meta-tiogapass/recipes-fbtp/fb-powerctrl/files/LICENSE13
2 files changed, 18 insertions, 2 deletions
diff --git a/meta-facebook/meta-tiogapass/recipes-fbtp/fb-powerctrl/fb-powerctrl.bb b/meta-facebook/meta-tiogapass/recipes-fbtp/fb-powerctrl/fb-powerctrl.bb
index 37fa83588..a46c44bbd 100644
--- a/meta-facebook/meta-tiogapass/recipes-fbtp/fb-powerctrl/fb-powerctrl.bb
+++ b/meta-facebook/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 @@ SRC_URI = "file://setup_gpio.sh \
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"
diff --git a/meta-facebook/meta-tiogapass/recipes-fbtp/fb-powerctrl/files/LICENSE b/meta-facebook/meta-tiogapass/recipes-fbtp/fb-powerctrl/files/LICENSE
new file mode 100644
index 000000000..2caf82099
--- /dev/null
+++ b/meta-facebook/meta-tiogapass/recipes-fbtp/fb-powerctrl/files/LICENSE
@@ -0,0 +1,13 @@
+Copyright 2018 Facebook Inc
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
OpenPOWER on IntegriCloud