diff options
author | Vijay Khemka <vijaykhemka@fb.com> | 2019-01-08 21:45:20 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2019-01-09 02:18:48 +0300 |
commit | 3becf049ee9158919709a983c0b681deb7ef2be7 (patch) | |
tree | db3b98053f83e449f51bc444eafdc60b86210546 /meta-facebook | |
parent | 3b701e843e16a330dd35f3d3c8b943e20820a2a3 (diff) | |
download | openbmc-3becf049ee9158919709a983c0b681deb7ef2be7.tar.xz |
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>
Diffstat (limited to 'meta-facebook')
-rw-r--r-- | meta-facebook/meta-tiogapass/recipes-fbtp/fb-powerctrl/fb-powerctrl.bb | 7 | ||||
-rw-r--r-- | meta-facebook/meta-tiogapass/recipes-fbtp/fb-powerctrl/files/LICENSE | 13 |
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 37fa835886..a46c44bbd9 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 0000000000..2caf820991 --- /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. |