diff options
-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 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. |