X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=scripts%2Fbuild_oran.sh;h=f0bde6f9bd3cce07c357aba24bfcc599a6a30e19;hb=bd98a41547400e873da69f2fa45d9e4b91b32bb7;hp=a94f94aa760c1e56ab3575785d6e88e4dc19d1c8;hpb=aa94cc12c1af3a928e60026f89b9276b26b512e9;p=pti%2Frtp.git diff --git a/scripts/build_oran.sh b/scripts/build_oran.sh index a94f94a..f0bde6f 100755 --- a/scripts/build_oran.sh +++ b/scripts/build_oran.sh @@ -21,7 +21,7 @@ SUPPORTED_BSP="intel-x86-64 nxp-lx2xxx" WRTEMPLATE_COMMON="feature/oran-host-rt-tune feature/kubernetes feature/self-hosted" WRTEMPLATE_X86="feature/hosts-ia feature/kvm feature/dpdk" -SRC_ORAN_BRANCH="master" +SRC_ORAN_BRANCH="bronze" SRC_WRL_BRANCH="WRLINUX_10_18_BASE" SRC_WRL_URL="git://github.com/WindRiver-Labs/wrlinux-x.git" @@ -97,6 +97,7 @@ DRYRUN="" EXTRA_CONF="" RM_WORK="Yes" BSP="intel-x86-64" +IMAGE_TYPE="iso" while getopts "w:b:e:r:nh" OPTION; do case ${OPTION} in @@ -131,6 +132,11 @@ if [ -n "${BSP_VALID}" ]; then BSP="${BSP_VALID}" fi +# iso image is not supported by nxp-lx2xxx yet +if [ "${BSP}" == "nxp-lx2xxx" ]; then + IMAGE_TYPE="tar.bz2" +fi + SRC_WRL_DIR=${WORKSPACE}/src_wrlinux SRC_ORAN_DIR=${WORKSPACE}/src_oran PRJ_BUILD_DIR=${WORKSPACE}/prj_oran-inf @@ -229,4 +235,4 @@ RUN_CMD="bitbake ${DRYRUN} wr-app-container" echo_cmd "Build the wr-app-container image" bitbake ${DRYRUN} wr-app-container 2>&1|tee logs/bitbake_wr-app-container_${TIMESTAMP}.log -echo_info "Build succeeded, you can get the image in ${PRJ_BUILD_DIR}/tmp-glibc/deploy/images/intel-x86-64/oran-image-inf-host-intel-x86-64.iso" +echo_info "Build succeeded, you can get the image in ${PRJ_BUILD_DIR}/tmp-glibc/deploy/images/${BSP}/oran-image-inf-host-${BSP}.${IMAGE_TYPE}"