From: 조웅석/Common Platform Lab(SR)/Principal Engineer/삼성전자 Date: Tue, 16 Jul 2019 10:30:21 +0000 (+0900) Subject: .NETCore 3.0.0 preview doesnot contains "/BaseAddress" option for crossgen. (#81) X-Git-Tag: accepted/tizen/unified/20190718.075227~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;ds=sidebyside;h=1dd653056f5b9e805de8833ff643edcf736e47a0;p=platform%2Fcore%2Fdotnet%2Flauncher.git .NETCore 3.0.0 preview doesnot contains "/BaseAddress" option for crossgen. (#81) So, disable base_addr_support related code with temporal flag. This flag will be removed after merging .NETCore 3.0.0 Release Candidate. And remove change smack command for SYSTEM_BASE_ADDR_FILE The base_addr_file is generated after first ni file generation. So, smack change command is not necessary. --- diff --git a/packaging/dotnet-launcher.spec b/packaging/dotnet-launcher.spec index 7cfc1c9..40a7c5e 100644 --- a/packaging/dotnet-launcher.spec +++ b/packaging/dotnet-launcher.spec @@ -116,9 +116,11 @@ cmake \ %if 0%{?use_default_base_addr} -DUSE_DEFAULT_BASE_ADDR="" \ %endif +%if 0%{?enable_base_addr_support} -DUNIQUE_DEFAULT_BASE_ADDR_SUPPORT="" \ -DSYSTEM_BASE_FILE=%{_system_base_addr_file} \ -DDEFAULT_BASE_ADDR_START=%{_default_base_addr_start} \ +%endif NativeLauncher make %{?jobs:-j%jobs} VERBOSE=1 @@ -140,7 +142,6 @@ install -m 0644 %{name}.conf %{buildroot}/etc/tmpfiles.d/%{name}.conf %post mkdir -p /opt/etc/skel/.dotnet chsmack -t -a User::App::Shared /opt/etc/skel/.dotnet -chsmack -a _ %{_system_base_addr_file} %{_bindir}/dotnettool --ni-dll %{_runtime_dir}/System.Private.CoreLib.dll %files