From 548a8432e2fea3c34867c830b7cc8740d5f567a1 Mon Sep 17 00:00:00 2001 From: Xiang Li Date: Mon, 11 May 2015 12:47:21 -0700 Subject: [PATCH] script/vagrant: cp the build target to usr bin Before this change, when I run `sudo rkt trust` it fails. I hope we can also install rkt under usr/local/bin by default. So our users can have a better experience when following our rkt basic tutorial. This issue was introduced by a recent script rewrote (#652) --- scripts/vagrant/install-rkt.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/vagrant/install-rkt.sh b/scripts/vagrant/install-rkt.sh index b946519..1be4d3c 100644 --- a/scripts/vagrant/install-rkt.sh +++ b/scripts/vagrant/install-rkt.sh @@ -20,6 +20,7 @@ which unsquash || sudo apt-get install -y squashfs-tools pushd /vagrant ./build +sudo cp -v bin/* /usr/local/bin cat << EOF | sudo tee /etc/profile.d/99rkt.sh export PATH=$PWD/bin:\$PATH