From b777d9ef2b8f0b10b088456d2e9b8b397e7af4c1 Mon Sep 17 00:00:00 2001 From: Keith Mosher Date: Thu, 18 Aug 2016 23:22:13 -0700 Subject: [PATCH 1/2] Fix the rpm-build package name The binary is rpmbuild, but the package that provides it is hyphenated. --- build.psm1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.psm1 b/build.psm1 index e0f859630..5e3df68bd 100644 --- a/build.psm1 +++ b/build.psm1 @@ -694,7 +694,7 @@ function Start-PSBootstrap { $Deps += "libicu", "libunwind" # Packaging tools - if ($Package) { $Deps += "ruby-devel", "rpmbuild" } + if ($Package) { $Deps += "ruby-devel", "rpm-build" } # Install dependencies sudo yum install -y -q $Deps From b60160977ac4408c8ed6fa08cbe7ae232d450a75 Mon Sep 17 00:00:00 2001 From: Keith Mosher Date: Thu, 18 Aug 2016 23:23:27 -0700 Subject: [PATCH 2/2] Explicitly install 'which' on CentOS which isn't on CentOS by default and is needed by the dotnet install scripts --- build.psm1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.psm1 b/build.psm1 index 5e3df68bd..2d51923a9 100644 --- a/build.psm1 +++ b/build.psm1 @@ -688,7 +688,7 @@ function Start-PSBootstrap { sudo apt-get install -y -qq $Deps } elseif ($IsCentOS) { # Build tools - $Deps += "curl", "gcc-c++", "cmake", "make" + $Deps += "which", "curl", "gcc-c++", "cmake", "make" # .NET Core required runtime libraries $Deps += "libicu", "libunwind"