Support regen-app-ni for read-only app (#301)
author조웅석/Common Platform Lab(SR)/Principal Engineer/삼성전자 <ws77.cho@samsung.com>
Thu, 24 Dec 2020 00:52:44 +0000 (09:52 +0900)
committerGitHub Enterprise <noreply-CODE@samsung.com>
Thu, 24 Dec 2020 00:52:44 +0000 (09:52 +0900)
commit1ced14b73b97a630815fc200da6c8c15f5363f9a
tree9964adba9dc162eaadd045f0aaab9074193f36fe
parentb73135a2439372f92acdc2600a01042bcd7f355a
Support regen-app-ni for read-only app (#301)

When a partial update of tizenfx occurs, native image files of application created with FNV option  must be regenerated.
However, it is not possible with the current implementation to replace the native-image files of the app installed in the read-only area like the preload app.
To solve this problem, add a functionality that creates new native images under /opt/usr/dotnet/apps, when creating a new native image files of read-only app.
12 files changed:
NativeLauncher/CMakeLists.txt
NativeLauncher/inc/ni_common.h
NativeLauncher/inc/path_manager.h
NativeLauncher/inc/tac_common.h
NativeLauncher/inc/utils.h
NativeLauncher/tool/dotnettool.cc
NativeLauncher/tool/ni_common.cc
NativeLauncher/tool/tac_common.cc
NativeLauncher/util/path_manager.cc
NativeLauncher/util/utils.cc
dotnet-launcher.manifest
packaging/dotnet-launcher.spec