From: Jackie Huang Date: Wed, 13 Nov 2019 06:43:04 +0000 (+0800) Subject: meta-oran: add missing license header X-Git-Tag: bronze-rc0~105 X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=54049b42f917ecefd11e2170931371abc0f37e02;p=pti%2Frtp.git meta-oran: add missing license header Issue-ID: INF-4 Signed-off-by: Jackie Huang Change-Id: I48be4510729f25a0c7f28e4c28f55af31c9381db --- diff --git a/meta-oran/conf/distro/include/oran-whitelist.conf b/meta-oran/conf/distro/include/oran-whitelist.conf index 9d090e1..cb9a5cb 100644 --- a/meta-oran/conf/distro/include/oran-whitelist.conf +++ b/meta-oran/conf/distro/include/oran-whitelist.conf @@ -1,5 +1,18 @@ # # Copyright (C) 2019 Wind River Systems, 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. + # # Explicitly allow these recipes in O-RAN # diff --git a/meta-oran/conf/distro/oran-inf.conf b/meta-oran/conf/distro/oran-inf.conf index 5ccc3b9..131c2ad 100644 --- a/meta-oran/conf/distro/oran-inf.conf +++ b/meta-oran/conf/distro/oran-inf.conf @@ -1,3 +1,18 @@ +# +# Copyright (C) 2019 Wind River Systems, 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. + #@TYPE: Distro #@NAME: O-RAN INF #@DESCRIPTION: O-RAN INF Distribution diff --git a/meta-oran/conf/layer.conf b/meta-oran/conf/layer.conf index 92c091a..3c7b8ad 100644 --- a/meta-oran/conf/layer.conf +++ b/meta-oran/conf/layer.conf @@ -1,6 +1,17 @@ # # Copyright (C) 2019 Wind River Systems, 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. # We have a conf and classes directory, add to BBPATH BBPATH =. "${LAYERDIR}:" diff --git a/meta-oran/recipes-base/images/oran-image-inf-guest.bb b/meta-oran/recipes-base/images/oran-image-inf-guest.bb index f0f54be..9551e06 100644 --- a/meta-oran/recipes-base/images/oran-image-inf-guest.bb +++ b/meta-oran/recipes-base/images/oran-image-inf-guest.bb @@ -1,6 +1,18 @@ # # Copyright (C) 2019 Wind River Systems, 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. + DESCRIPTION = "An image suitable for a O-RAN INF guest." LICENSE = "Apache-2.0" diff --git a/meta-oran/recipes-base/images/oran-image-inf-host.bb b/meta-oran/recipes-base/images/oran-image-inf-host.bb index de8e565..d065a12 100644 --- a/meta-oran/recipes-base/images/oran-image-inf-host.bb +++ b/meta-oran/recipes-base/images/oran-image-inf-host.bb @@ -1,6 +1,18 @@ # # Copyright (C) 2019 Wind River Systems, 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. + DESCRIPTION = "An image suitable for a O-RAN INF host." LICENSE = "Apache-2.0" diff --git a/meta-oran/recipes-base/images/oran-image-inf-minimal.bb b/meta-oran/recipes-base/images/oran-image-inf-minimal.bb index 0a248d0..23662dd 100644 --- a/meta-oran/recipes-base/images/oran-image-inf-minimal.bb +++ b/meta-oran/recipes-base/images/oran-image-inf-minimal.bb @@ -1,6 +1,18 @@ # # Copyright (C) 2019 Wind River Systems, 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. + DESCRIPTION = "An image suitable for a minimal O-RAN guest or host." LICENSE = "Apache-2.0" diff --git a/meta-oran/recipes-containers/docker/docker_%.bbappend b/meta-oran/recipes-containers/docker/docker_%.bbappend index e8d9c4f..7799fa0 100644 --- a/meta-oran/recipes-containers/docker/docker_%.bbappend +++ b/meta-oran/recipes-containers/docker/docker_%.bbappend @@ -1,3 +1,7 @@ +# +# Copyright (C) 2019 Wind River Systems, Inc. +# + FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:" inherit go112 diff --git a/scripts/build_oran.sh b/scripts/build_oran.sh index 2041b92..2f5a299 100755 --- a/scripts/build_oran.sh +++ b/scripts/build_oran.sh @@ -1,4 +1,18 @@ #!/bin/bash +# +# Copyright (C) 2019 Wind River Systems, 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. # Ensure we fail the job if any steps fail. set -e -o pipefail