diff options
-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 |