diff options
author | j-h.choi <j-h.choi@samsung.com> | 2020-09-03 14:41:28 +0900 |
---|---|---|
committer | j-h.choi <j-h.choi@samsung.com> | 2020-09-03 14:41:59 +0900 |
commit | 15ecd681686e7b7a278cbf707a62a45a15729f27 (patch) | |
tree | 11dcf45c6e4838c356b056c39f0787f5d6c5ab7c | |
parent | 93149af4a2374717873edda967caf8da2dcb52fe (diff) | |
download | meta-15ecd681686e7b7a278cbf707a62a45a15729f27.tar.gz meta-15ecd681686e7b7a278cbf707a62a45a15729f27.tar.bz2 meta-15ecd681686e7b7a278cbf707a62a45a15729f27.zip |
[TRE-2549] Use ibc file for generate NIsubmit/tizen/20200903.063642submit/tizen/20200903.060021accepted/tizen/unified/20200903.151652
Change-Id: I2d3ab605c713afa6807b7c6d1c0dcaf09d584cb9
-rw-r--r-- | scripts/iot-making-building-blocks-dll.post | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/scripts/iot-making-building-blocks-dll.post b/scripts/iot-making-building-blocks-dll.post index f05593d..001cd82 100644 --- a/scripts/iot-making-building-blocks-dll.post +++ b/scripts/iot-making-building-blocks-dll.post @@ -2,12 +2,24 @@ echo "############### iot-making-building-blocks-dll.post ################" +export IBCDATA_DIR=/usr/share/dotnet.tizen/ibcdata + if [ -f /opt/share/bb/make_tizenfx_from_bb.sh ] then /opt/share/bb/make_tizenfx_from_bb.sh if [ -f /usr/bin/dotnettool ] then - dotnettool --ni-system + #remove previous native image + dotnettool --ni-reset-system + + # generate native image + dotnettool --ibc-dir $IBCDATA_DIR --ni-system + + # remove ibc data files + if [ -d $IBCDATA_DIR ] + then + rm -rf $IBCDATA_DIR + fi else echo "There is no execute file - /usr/bin/dotnettool" fi |