diff options
author | j-h.choi <j-h.choi@samsung.com> | 2020-09-04 14:24:05 +0900 |
---|---|---|
committer | j-h.choi <j-h.choi@samsung.com> | 2020-09-04 15:00:49 +0900 |
commit | fe6782da19695020778fb7c6d2be00e56610d555 (patch) | |
tree | a7252eb7c326aae83946c86f05686124496a7614 /scripts | |
parent | 15ecd681686e7b7a278cbf707a62a45a15729f27 (diff) | |
download | meta-fe6782da19695020778fb7c6d2be00e56610d555.tar.gz meta-fe6782da19695020778fb7c6d2be00e56610d555.tar.bz2 meta-fe6782da19695020778fb7c6d2be00e56610d555.zip |
[TRE-2549] Bug fixed. Use ibc file for generate NIsubmit/tizen/20200904.062802
Change-Id: I2543c61366d434fb34902b8f06271ea4abeea260
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/iot-making-building-blocks-dll.post | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/scripts/iot-making-building-blocks-dll.post b/scripts/iot-making-building-blocks-dll.post index 001cd82..7e9c0b6 100644 --- a/scripts/iot-making-building-blocks-dll.post +++ b/scripts/iot-making-building-blocks-dll.post @@ -12,7 +12,7 @@ then #remove previous native image dotnettool --ni-reset-system - # generate native image + # generate native image with ibcdata dotnettool --ibc-dir $IBCDATA_DIR --ni-system # remove ibc data files @@ -20,6 +20,13 @@ then 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 |