From b1431f113df1c16d0601396d4a9086102b154aa0 Mon Sep 17 00:00:00 2001 From: Vivek Reddy Karri Date: Fri, 14 Oct 2022 20:08:11 +0000 Subject: [PATCH] Loc moved to prev consolidation change Signed-off-by: Vivek Reddy Karri --- build_image.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build_image.sh b/build_image.sh index 9c70713866a4..ea276367eb51 100755 --- a/build_image.sh +++ b/build_image.sh @@ -71,12 +71,12 @@ generate_onie_installer_image() output_file=$OUTPUT_ONIE_IMAGE [ -n "$1" ] && output_file=$1 # Copy platform-specific ONIE installer config files where onie-mk-demo.sh expects them - rm -rf ./installer/${TARGET_PLATFORM}/platforms/ - mkdir -p ./installer/${TARGET_PLATFORM}/platforms/ + rm -rf ./installer/platforms/ + mkdir -p ./installer/platforms/ for VENDOR in `ls ./device`; do for PLATFORM in `ls ./device/$VENDOR | grep ^${TARGET_PLATFORM}`; do if [ -f ./device/$VENDOR/$PLATFORM/installer.conf ]; then - cp ./device/$VENDOR/$PLATFORM/installer.conf ./installer/${TARGET_PLATFORM}/platforms/$PLATFORM + cp ./device/$VENDOR/$PLATFORM/installer.conf ./installer/platforms/$PLATFORM fi done