Remove ni file before RO app AOTC (#570)
author조웅석/MDE Lab(SR)/삼성전자 <ws77.cho@samsung.com>
Wed, 17 Jul 2024 23:41:16 +0000 (08:41 +0900)
committerGitHub Enterprise <noreply-CODE@samsung.com>
Wed, 17 Jul 2024 23:41:16 +0000 (08:41 +0900)
commit3f3db1d8054d4f8eb32a74de2b870e1820fa95c7
tree3ec1705277127a05b354946294080dba0d6db287
parent80a3c74e402c62a39b5211009a308dde51daa0d2
Remove ni file before RO app AOTC (#570)

* Remove ni file before RO app AOTC

If AOTC is performed for a RO app, a native image file will be generated under /opt/usr/dotnet/apps.
During OTN, pkg_upgrade may trigger AOTC again for the RO application.
In this case, it is necessary to remove the previously created file and create a new one.

* Remove RO app ni files under /opt/usr/dotnet/apps

Recreated NI files of RO app, should be removed at FOTA/OTN
NativeLauncher/tool/ni_common.cc
packaging/715.dotnet_regen_app_ni.patch.sh