From 688b72f47b4c3a23ca042336ea6c5d1f215ec263 Mon Sep 17 00:00:00 2001 From: Lamont Granquist Date: Mon, 29 Apr 2019 15:10:36 -0700 Subject: Remove chef-* binstubs from chef gem This is for the relicensing effort. Note that this PR leaves the knife and ohai binstubs still in the gem(s) while that discussion is still ongoing. This PR extracts the binstubs to chef-binstubs gem which is not intended to be redistributed outside of the omnibus chef binaries. A blank gem for chef-binstubs has been pushed to rubygems.org for obvious security concerns and so that bundler/rubygems can resolve the gem Signed-off-by: Lamont Granquist --- Rakefile | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Rakefile') diff --git a/Rakefile b/Rakefile index e0aac6170f..d9c3c397da 100644 --- a/Rakefile +++ b/Rakefile @@ -34,6 +34,13 @@ task install: :super_install gemspec = Gem.win_platform? ? "chef-universal-mingw32" : "chef" Bundler::GemHelper.install_tasks name: gemspec +# this gets appended to the normal bundler install helper +task :install do + chef_bin_path = ::File.join(::File.dirname(__FILE__), "chef-bin") + Dir.chdir(chef_bin_path) + sh("rake install:force") +end + task :pedant, :chef_zero_spec task :build_eventlog do -- cgit v1.2.1