mirror of
https://github.com/clearlinux/rkt.git
synced 2026-11-22 03:53:23 +00:00
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)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user