From b650389b3ae23a4627ff885a7d4ef0960db522c6 Mon Sep 17 00:00:00 2001 From: Jackie Huang Date: Sat, 7 Dec 2019 23:39:51 +0800 Subject: [PATCH] build_oran.sh: fix the symlink to avoid loop chain Issue-ID: INF-4 Signed-off-by: Jackie Huang Change-Id: I2faae02296fc7c32ceef219a84e1e6404118482d --- scripts/build_oran.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/build_oran.sh b/scripts/build_oran.sh index bf8b9c0..3a61f55 100755 --- a/scripts/build_oran.sh +++ b/scripts/build_oran.sh @@ -104,8 +104,10 @@ ${RUN_CMD} if cd ${SCRIPTS_DIR} && git rev-parse --is-inside-work-tree > /dev/null 2>&1; then CLONED_ORAN_REPO=`dirname ${SCRIPTS_DIR}` echo_info "Use the cloned oran repo: ${CLONED_ORAN_REPO}" - cd ${SRC_ORAN_DIR} - ln -sf ${CLONED_ORAN_REPO} rtp + mkdir ${SRC_ORAN_DIR}/rtp + cd ${SRC_ORAN_DIR}/rtp + ln -sf ${CLONED_ORAN_REPO}/meta-oran meta-oran + ln -sf ${CLONED_ORAN_REPO}/scripts scripts else echo_info "Cloning oran layer:" cd ${SRC_ORAN_DIR} -- 2.16.6