diff options
author | j-h.choi <j-h.choi@samsung.com> | 2020-09-04 15:27:21 +0900 |
---|---|---|
committer | j-h.choi <j-h.choi@samsung.com> | 2020-09-04 15:27:21 +0900 |
commit | 9df0f20b0b069594d67e3614c5b4679dbb815dfd (patch) | |
tree | 51dc0ec1c20d1a9ce4f42e95ebcab17991824e33 | |
parent | fe6782da19695020778fb7c6d2be00e56610d555 (diff) | |
download | meta-9df0f20b0b069594d67e3614c5b4679dbb815dfd.tar.gz meta-9df0f20b0b069594d67e3614c5b4679dbb815dfd.tar.bz2 meta-9df0f20b0b069594d67e3614c5b4679dbb815dfd.zip |
[TRE-2549] Bug fixed. Use ibc file for generate NItizen_6.0.m2_releasesubmit/tizen_6.0_hotfix/20201103.115104submit/tizen_6.0_hotfix/20201102.192904submit/tizen_6.0/20201029.205504submit/tizen/20200904.063954accepted/tizen/unified/20200904.065200accepted/tizen/6.0/unified/hotfix/20201103.050651
Change-Id: I3dd18d8d020b04698bbb47767e637e200a25c333
-rw-r--r-- | scripts/iot-making-building-blocks-dll.post | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/scripts/iot-making-building-blocks-dll.post b/scripts/iot-making-building-blocks-dll.post index 7e9c0b6..3f67c7e 100644 --- a/scripts/iot-making-building-blocks-dll.post +++ b/scripts/iot-making-building-blocks-dll.post @@ -9,24 +9,25 @@ then /opt/share/bb/make_tizenfx_from_bb.sh if [ -f /usr/bin/dotnettool ] then - #remove previous native image + # remove previous native image dotnettool --ni-reset-system - # generate native image with ibcdata - dotnettool --ibc-dir $IBCDATA_DIR --ni-system + dotnettool --ibc-dir $IBCDATA_DIR --ni-dll /usr/share/dotnet.tizen/netcoreapp/System.Private.CoreLib.dll + if [ -f /usr/share/dotnet.tizen/netcoreapp/System.Private.CoreLib.dll.Backup ] + then + # generate native image with ibcdata + dotnettool --ibc-dir $IBCDATA_DIR --ni-system + else + echo "The current ibcdata format does not match in Iot(aarch64) profile. So regenerate native image without ibcdata." + # regenerate native image without ibcdata + dotnettool --ni-system + fi # remove ibc data files if [ -d $IBCDATA_DIR ] then rm -rf $IBCDATA_DIR fi - - if [ ! -f /usr/share/dotnet.tizen/netcoreapp/System.Private.CoreLib.dll.Backup ] - then - echo "The current ibcdata format does not match in Iot(aarch64) profile. So regenerate native image without ibcdata." - # regenerate native image without ibcdata - dotnettool --ni-system - fi else echo "There is no execute file - /usr/bin/dotnettool" fi |