Ensure fifo directory is created at startup 36/3736/1 1.0.6
authorvlad shkapenyuk <vshkap@research.att.com>
Mon, 18 May 2020 18:44:35 +0000 (14:44 -0400)
committervlad shkapenyuk <vshkap@research.att.com>
Mon, 18 May 2020 18:44:35 +0000 (14:44 -0400)
Signed-off-by: vlad shkapenyuk <vshkap@research.att.com>
Change-Id: Ie060682c8a69f6817134a01237041f883c8145fc

mc-core/container-tag.yaml
mc-core/container_start.sh
mc-core/mc/queries/generate_runall.py

index 29ba2d0..4715d7a 100644 (file)
@@ -1,4 +1,4 @@
 ---
-tag: '1.0.5'
+tag: '1.0.6'
 
 # this is used by the CI jobs to tag the image it builds
index 743313a..4e949eb 100755 (executable)
 
 set -e
 
+FIFO_DIR="/tmp/mcl/fifos"
+
 SIMULATOR_MODE=`python /mc/extract_params.py ${XAPP_DESCRIPTOR_PATH}/config-file.json simulator_mode`
 RMR_PORT=`python /mc/extract_rmr_port.py ${XAPP_DESCRIPTOR_PATH}/config-file.json rmr-data`
 
+mkdir -p $FIFO_DIR
+
 if [ "$SIMULATOR_MODE" != "true" ]
 then
 # --- start "sidecars" first. They are expected to need /playpen as the working dir
index d002a83..667120b 100644 (file)
@@ -76,7 +76,6 @@ RMR_PORT=`python /mc/extract_rmr_port.py ${XAPP_DESCRIPTOR_PATH}/config-file.jso
 
 if [ "$SIMULATOR_MODE" = "true" ]
 then
-       mkdir -p $FIFO_DIR
        python /mc/data_gen/dc_gen.py &
        python /mc/data_gen/rrcx_gen.py &
 fi