2 # Copyright (C) 2019 Wind River Systems, Inc.
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
8 # http://www.apache.org/licenses/LICENSE-2.0
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
18 #@DESCRIPTION: O-RAN INF Distribution
20 PREFERRED_PROVIDER_virtual/kernel = "linux-yocto-rt"
21 PREFERRED_VERSION_linux-yocto-rt = "4.18%"
23 require conf/distro/wrlinux.conf
24 require conf/distro/include/oran-whitelist.conf
26 # Note that layer.conf will only add items to BBFILES for
27 # the wrlinux-oran distro (this one).
29 DISTRO_NAME = "O-RAN-INF"
31 # Set software versions
32 PREFERRED_VERSION_dpdk ?= "17%"
33 PREFERRED_VERSION_kubernetes ?= "1.15.2%"
36 # Set preferred providers
37 PREFERRED_PROVIDER_virtual/monitoring ?= "${@bb.utils.contains('MONITORING_FEATURES', 'zabbix', 'packagegroup-zabbix-monitoring',\
38 bb.utils.contains('MONITORING_FEATURES', 'nagios', 'packagegroup-nagios-monitoring', 'packagegroup-empty-monitoring', d),d)}"
40 PREFERRED_PROVIDER_virtual/libibverbs ?= "libibverbs"
42 # By default including meta-oran layer will build Nagios core
43 MONITORING_FEATURES ?= "nagios core"
45 DISTRO_FEATURES_append = " virtualization kvm"
46 NON_MULTILIB_RECIPES_append = " ceph"
49 IMAGE_OVERHEAD_FACTOR ="1.1"
50 IMAGE_FSTYPES += "tar.bz2 live wic.vmdk wic.vdi wic.qcow2"
52 # Use the default splash