From: Rakesh Singh Date: Mon, 23 Oct 2017 23:56:32 +0000 (-0700) Subject: Enable building debian installer for Dotnet Runtime Dependencies package (dotnet... X-Git-Tag: submit/tizen/20210909.063632~11032^2~1097 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ccf867c4ef111a4fa8128e7fdb5226c2e9db57d6;p=platform%2Fupstream%2Fdotnet%2Fruntime.git Enable building debian installer for Dotnet Runtime Dependencies package (dotnet/core-setup#3317) * Enable building debian installers for Dotnet Runtime Meta packages ( Pre-requisite system packages ) * Updated per PR feedbacks * Refactor LibIcuPackage compute step Commit migrated from https://github.com/dotnet/core-setup/commit/1f1349b53016f26a98fc8b4a275e7b73fc44a707 --- diff --git a/src/installer/pkg/packaging/deb/dotnet-runtime-deps-debian_config.json b/src/installer/pkg/packaging/deb/dotnet-runtime-deps-debian_config.json new file mode 100644 index 0000000..7d9c461 --- /dev/null +++ b/src/installer/pkg/packaging/deb/dotnet-runtime-deps-debian_config.json @@ -0,0 +1,49 @@ +{ + "maintainer_name":"Microsoft", + "maintainer_email": "dotnetcore@microsoft.com", + + "package_name": "%RUNTIME_DEPS_DEBIAN_PACKAGE_NAME%", + "install_root": "/usr/share/dotnet", + + "short_description": "%RUNTIME_DEPS_DEBIAN_PACKAGE_NAME% %RUNTIME_DEPS_VERSION%", + "long_description": ".NET Core is a development platform that you can use to build command-line applications, microservices and modern websites. This package installs all the system dependencies for Dotnet Core Runtime.", + "homepage": "https://dot.net/core", + + "release":{ + "package_version":"1.0.0.0", + "package_revision":"1", + "urgency" : "low", + "changelog_message" : "Dotnet Runtime dependencies package" + }, + + "control": { + "priority":"standard", + "section":"libs", + "architecture":"amd64" + }, + + "copyright": "2017 Microsoft", + "license": { + "type": "MIT", + "full_text": "Copyright (c) 2017 Microsoft\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE." + }, + + "debian_dependencies":{ + "libc6":{}, + "libcurl3":{}, + "libgcc1":{}, + "libgssapi-krb5-2":{}, + "liblttng-ust0":{}, + "libstdc++6":{}, + "libunwind8":{}, + "libuuid1":{}, + "zlib1g":{}, + "%LIBSSL_PACKAGE_NAME%" : {}, + "%LIBICU_PACKAGE_NAME%": {} + }, + + "debian_ignored_dependencies" : [ + "liblldb-3.5", + "liblldb-3.6" + ] +} diff --git a/src/installer/pkg/packaging/deb/package.targets b/src/installer/pkg/packaging/deb/package.targets index 3bb3358..a959b46 100644 --- a/src/installer/pkg/packaging/deb/package.targets +++ b/src/installer/pkg/packaging/deb/package.targets @@ -49,7 +49,7 @@ Condition="'$(BuildDebPackage)'=='true'" /> @@ -198,7 +198,8 @@ - + + $(SharedFxDebPkgName) $(SharedFrameworkNugetVersion) @@ -221,12 +222,6 @@ - - - - - @@ -287,6 +282,81 @@ UseHardlinksIfPossible="False" /> + + + + $(RuntimeDependenciesDebPkgName) + $(SharedFrameworkNugetVersion) + $(DotnetRuntimeDependenciesPackageInstallerFile) + dotnet-runtime-deps-debian_config.json + $(debPackaginfConfigPath)$(ConfigJsonName) + $(PackagesIntermediateDir)$(DebPackageName)/$(DebPackageVersion) + + + + $(debIntermediatesDir)/debianLayoutDirectory/ + $(debLayoutDirectory)$ + $(debLayoutDirectory)package_root + $(debLayoutDirectory)samples + $(debLayoutDirectory)docs + + + + + + + + + + + + + + + + + + + + + + $(RuntimeDependenciesDebPkgName) + + + $(SharedFrameworkNugetVersion) + + + $(LibSSLPackageName) + + + $(LibIcuPackageName) + + + + + + + + + + + + + + + + + + + @@ -306,4 +376,12 @@ Text="Debuild Not found, Debian packages will not be built." Importance="High" /> + + + + + + + \ No newline at end of file