From 04b6ad50b2bcd1aacda97b7fd15a2cb803ca61ee Mon Sep 17 00:00:00 2001 From: Rakesh Singh Date: Wed, 21 Feb 2018 12:18:01 -0800 Subject: [PATCH] Enable building LinuxMint 7 and 8 Runtime deps (dotnet/core-setup#3714) Commit migrated from https://github.com/dotnet/core-setup/commit/03ab99522a7404e25be7d710c89c6084f3fab7fe --- .../buildpipeline/Core-Setup-Linux-BT.json | 80 ++++++++++++++++++++++ ...runtime-deps-debian_config_linuxmint.7-x64.json | 49 +++++++++++++ ...runtime-deps-debian_config_linuxmint.8-x64.json | 49 +++++++++++++ src/installer/publish/dir.props | 4 +- 4 files changed, 181 insertions(+), 1 deletion(-) create mode 100644 src/installer/pkg/packaging/deb/dotnet-runtime-deps-debian_config_linuxmint.7-x64.json create mode 100644 src/installer/pkg/packaging/deb/dotnet-runtime-deps-debian_config_linuxmint.8-x64.json diff --git a/src/installer/buildpipeline/Core-Setup-Linux-BT.json b/src/installer/buildpipeline/Core-Setup-Linux-BT.json index b7ce4d5..793f5c9 100644 --- a/src/installer/buildpipeline/Core-Setup-Linux-BT.json +++ b/src/installer/buildpipeline/Core-Setup-Linux-BT.json @@ -409,6 +409,86 @@ "enabled": true, "continueOnError": false, "alwaysRun": false, + "displayName": "Package Runtime Dep - LinuxMint 7", + "timeoutInMinutes": 0, + "refName": "ClonedClonedTask1846", + "task": { + "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9", + "versionSpec": "1.*", + "definitionType": "task" + }, + "inputs": { + "filename": "docker", + "arguments": "$(CommonDockerCommandToBuildRuntimeDepDebPackage) /p:OutputRid=linuxmint.7-$(PB_TargetArchitecture)", + "workingFolder": "", + "failOnStandardError": "false" + } + }, + { + "environment": {}, + "enabled": true, + "continueOnError": false, + "alwaysRun": false, + "displayName": "Publish Runtime Dep - LinuxMint 7", + "timeoutInMinutes": 0, + "refName": "ClonedClonedTask1957", + "task": { + "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9", + "versionSpec": "1.*", + "definitionType": "task" + }, + "inputs": { + "filename": "docker", + "arguments": "$(CommonDockerCommandToPublishRuntimeDepDebPackage) /p:OutputRid=linuxmint.7-$(PB_TargetArchitecture)", + "workingFolder": "", + "failOnStandardError": "false" + } + }, + { + "environment": {}, + "enabled": true, + "continueOnError": false, + "alwaysRun": false, + "displayName": "Package Runtime Dep - LinuxMint 8", + "timeoutInMinutes": 0, + "refName": "ClonedClonedTask1847", + "task": { + "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9", + "versionSpec": "1.*", + "definitionType": "task" + }, + "inputs": { + "filename": "docker", + "arguments": "$(CommonDockerCommandToBuildRuntimeDepDebPackage) /p:OutputRid=linuxmint.8-$(PB_TargetArchitecture)", + "workingFolder": "", + "failOnStandardError": "false" + } + }, + { + "environment": {}, + "enabled": true, + "continueOnError": false, + "alwaysRun": false, + "displayName": "Publish Runtime Dep - LinuxMint 8", + "timeoutInMinutes": 0, + "refName": "ClonedClonedTask1958", + "task": { + "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9", + "versionSpec": "1.*", + "definitionType": "task" + }, + "inputs": { + "filename": "docker", + "arguments": "$(CommonDockerCommandToPublishRuntimeDepDebPackage) /p:OutputRid=linuxmint.8-$(PB_TargetArchitecture)", + "workingFolder": "", + "failOnStandardError": "false" + } + }, + { + "environment": {}, + "enabled": true, + "continueOnError": false, + "alwaysRun": false, "displayName": "Package Runtime Dep - Debian 8", "timeoutInMinutes": 0, "refName": "Task28", diff --git a/src/installer/pkg/packaging/deb/dotnet-runtime-deps-debian_config_linuxmint.7-x64.json b/src/installer/pkg/packaging/deb/dotnet-runtime-deps-debian_config_linuxmint.7-x64.json new file mode 100644 index 0000000..7c6024a --- /dev/null +++ b/src/installer/pkg/packaging/deb/dotnet-runtime-deps-debian_config_linuxmint.7-x64.json @@ -0,0 +1,49 @@ +{ + "maintainer_name":".NET Core Team", + "maintainer_email": "dotnetpackages@dotnetfoundation.org", + + "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 .NET Core Runtime.", + "homepage": "https://dot.net/core", + + "release":{ + "package_version":"1.0.0.0", + "package_revision":"1", + "urgency" : "low", + "changelog_message" : "https://github.com/dotnet/core/tree/master/release-notes" + }, + + "control": { + "priority":"standard", + "section":"libs", + "architecture":"amd64" + }, + + "copyright": "2018 Microsoft", + "license": { + "type": "MIT and ASL 2.0 and BSD", + "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":{}, + "libssl1.0.0" : {}, + "libicu52": {} + }, + + "debian_ignored_dependencies" : [ + "liblldb-3.5", + "liblldb-3.6" + ] +} diff --git a/src/installer/pkg/packaging/deb/dotnet-runtime-deps-debian_config_linuxmint.8-x64.json b/src/installer/pkg/packaging/deb/dotnet-runtime-deps-debian_config_linuxmint.8-x64.json new file mode 100644 index 0000000..4e85089 --- /dev/null +++ b/src/installer/pkg/packaging/deb/dotnet-runtime-deps-debian_config_linuxmint.8-x64.json @@ -0,0 +1,49 @@ +{ + "maintainer_name":".NET Core Team", + "maintainer_email": "dotnetpackages@dotnetfoundation.org", + + "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 .NET Core Runtime.", + "homepage": "https://dot.net/core", + + "release":{ + "package_version":"1.0.0.0", + "package_revision":"1", + "urgency" : "low", + "changelog_message" : "https://github.com/dotnet/core/tree/master/release-notes" + }, + + "control": { + "priority":"standard", + "section":"libs", + "architecture":"amd64" + }, + + "copyright": "2018 Microsoft", + "license": { + "type": "MIT and ASL 2.0 and BSD", + "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":{}, + "libssl1.0.0" : {}, + "libicu55": {} + }, + + "debian_ignored_dependencies" : [ + "liblldb-3.5", + "liblldb-3.6" + ] +} diff --git a/src/installer/publish/dir.props b/src/installer/publish/dir.props index e9b1be0..7e1d155 100644 --- a/src/installer/publish/dir.props +++ b/src/installer/publish/dir.props @@ -44,9 +44,11 @@ - + + + -- 2.7.4