--- /dev/null
+#
+# Copyright (C) 2019 Wind River Systems, Inc.
+#
+# Explicitly allow these recipes in O-RAN
+#
+
+# Whitelist for meta-cloud-services
+PNWHITELIST_cloud-services-layer_append = " \
+ celt051 \
+ glusterfs \
+ librdmacm \
+ libibverbs \
+"
+
+# Whitelist for meta-openembedded/meta-filesystems
+PNWHITELIST_filesystems-layer_append = " \
+ aufs-util \
+ fuse \
+ xfsdump \
+ xfsprogs \
+"
+
+PNWHITELIST_dpdk_append = " \
+ dpdk \
+"
+
+PNWHITELIST_meta-python_append = " \
+ python3-automat \
+ python3-click \
+ python3-constantly \
+ python3-hyperlink \
+ python3-incremental \
+ python3-twisted \
+ python3-zopeinterface \
+ python-cython \
+ python-prettytable \
+ python-protobuf \
+ python-pyparsing \
+"
+
+PNWHITELIST_networking-layer_append = " \
+ bridge-utils \
+ ebtables \
+ netcf \
+ tunctl \
+ spice \
+ spice-protocol \
+"
+
+# Whitelist for meta-openembedded/meta-oe
+PNWHITELIST_openembedded-layer_append = " \
+ augeas \
+ gd \
+ gnulib \
+ hwloc \
+ libedit \
+ leveldb \
+ lua \
+ numactl \
+ protobuf \
+ protobuf-c \
+ rocksdb \
+ yajl \
+ libnet \
+ snappy \
+ zabbix \
+ openldap \
+ byacc \
+"
+
+# Whitelist for meta-realtime
+PNWHITELIST_realtime_append = " \
+ schedtool-dl \
+"
+
+# Whitelist for meta-virtualization
+PNWHITELIST_virtualization-layer_append = " \
+ ceph \
+ cgroup-lite \
+ compose-file \
+ containerd-opencontainers \
+ diod \
+ docker \
+ docker-distribution \
+ tini \
+ go-systemd \
+ go-capability \
+ grpc-go \
+ go-logrus \
+ go-pty \
+ go-mux \
+ go-distribution \
+ go-patricia \
+ go-fsnotify \
+ go-dbus \
+ go-context \
+ go-cli \
+ go-connections \
+ go-cross-x86_64 \
+ go-bootstrap-native \
+ libvirt \
+ lxc \
+ nagios-core \
+ nagios-nrpe \
+ nagios-nsca \
+ nagios-plugins \
+ notary \
+ oath \
+ openvswitch \
+ runc-docker \
+ libvmi \
+"
+
+# Whitelist for meta-webserver
+PNWHITELIST_webserver_append = " \
+ fcgi \
+"
+
+PNWHITELIST_security_append = " \
+ keyutils \
+"
PREFERRED_PROVIDER_virtual/kernel = "linux-yocto-rt"
PREFERRED_VERSION_linux-yocto-rt = "4.18%"
+require conf/distro/wrlinux.conf
+require conf/distro/include/oran-whitelist.conf
+
# Note that layer.conf will only add items to BBFILES for
# the wrlinux-oran distro (this one).
#
# For images
IMAGE_OVERHEAD_FACTOR="1.1"
IMAGE_FSTYPES += "tar.bz2 live wic.vmdk wic.vdi wic.qcow2"
+
+
meta-anaconda \
"
-PNWHITELIST_LAYERS_remove = "meta-oran"
+PNWHITELIST_LAYERS_remove = "meta-oran wrlinux-distro"
TEMPLATES_PATH = "${LAYER_PATH_meta-oran}/templates"
hwloc \
kernel-modules \
packagegroup-base-extended \
- packagegroup-containers \
packagegroup-oran-trace-tools \
packagegroup-wr-base \
packagegroup-wr-base-net \
- packagegroup-wr-boot \
- system-report \
"
IMAGE_INSTALL_append_qemux86-64 = " dpdk"
require recipes-base/images/oran-image-inf-minimal.bb
-IMAGE_INSTALL += " \
- kernel-modules \
- packagegroup-base-extended \
- packagegroup-wr-base \
- packagegroup-wr-base-net \
- packagegroup-wr-boot \
-"
-
IMAGE_INSTALL += " \
aufs-util \
celt051 \
ceph \
dpdk \
hwloc \
+ kernel-modules \
openvswitch \
- packagegroup-containers \
- packagegroup-glusterfs \
- packagegroup-oran-criu \
- packagegroup-oran-debug \
- packagegroup-oran-default-monitoring \
+ packagegroup-base-extended \
packagegroup-oran-docker \
+ packagegroup-oran-glusterfs \
packagegroup-oran-lttng-toolchain \
+ packagegroup-wr-base \
+ packagegroup-wr-base-net \
python-pyparsing \
rt-tests \
schedtool-dl \
spice \
- system-report \
"
IMAGE_FEATURES += " \
IMAGE_INSTALL = " \
packagegroup-core-boot \
- packagegroup-containers \
packagegroup-oran-vm \
"
${PN}-docker \
${PN}-k8s \
${PN}-vm \
- ${PN}-criu \
${PN}-trace-tools \
${PN}-lttng-toolchain \
+ ${PN}-glusterfs \
"
RDEPENDS_${PN} = "\
${PN}-docker \
${PN}-k8s \
${PN}-vm \
- ${PN}-criu \
${PN}-trace-tools \
${PN}-lttng-toolchain \
+ ${PN}-glusterfs \
"
RDEPENDS_${PN}-base = "\
kernel-module-kvm-amd \
"
-RDEPENDS_${PN}-criu = "\
- criu \
- protobuf-c \
-"
-
RDEPENDS_${PN}-trace-tools = "\
- diod \
socat \
"
+# It's blacklisted becasue of build failure
+# diod
-RDEPENDS_${PN}-trace-tools = "\
+RDEPENDS_${PN}-lttng-toolchain = "\
babeltrace \
lttng-tools \
lttng-ust \
"
+
+RDEPENDS_${PN}-glusterfs = "\
+ fuse \
+ fuse-utils \
+ libulockmgr \
+ glusterfs \
+ glusterfs-rdma \
+ glusterfs-geo-replication \
+ glusterfs-fuse \
+ glusterfs-server \
+ xfsdump \
+ xfsprogs \
+"
# Build the oran-inf-host image
mkdir -p logs
TIMESTAMP=`date +"%Y%m%d_%H%M%S"`
-bitbake wrlinux-image-oran-host 2>&1|tee logs/bitbake_wrlinux-image-oran-host_${TIMESTAMP}.log
+bitbake oran-image-inf-host 2>&1|tee logs/bitbake_oran-image-inf-host_${TIMESTAMP}.log