From 3becf049ee9158919709a983c0b681deb7ef2be7 Mon Sep 17 00:00:00 2001 From: Vijay Khemka Date: Tue, 8 Jan 2019 10:45:20 -0800 Subject: 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 Signed-off-by: Brad Bishop --- .../recipes-fbtp/fb-powerctrl/fb-powerctrl.bb | 7 +++++-- .../meta-tiogapass/recipes-fbtp/fb-powerctrl/files/LICENSE | 13 +++++++++++++ 2 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 meta-facebook/meta-tiogapass/recipes-fbtp/fb-powerctrl/files/LICENSE (limited to 'meta-facebook/meta-tiogapass') 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. -- cgit v1.2.3