Run make with sudo when building

When building, `make` ends up calling `docker`, which needs to be
done via sudo. This runs make with sudo.

Change-Id: I49558dff3a00e1795d3fe0489a2ff183f00e6183
This commit is contained in:
Jim Rollenhagen 2014-07-02 15:10:17 -07:00
parent cecc0fecd4
commit 3edd258910
1 changed files with 1 additions and 1 deletions

View File

@ -9,5 +9,5 @@ sudo ln -sf /usr/bin/docker.io /usr/local/bin/docker
sudo sed -i '$acomplete -F _docker docker' /etc/bash_completion.d/docker.io
cd imagebuild/coreos/
pwd
make
sudo make
tar czf ../../ipa-coreos.tar.gz UPLOAD/coreos_production_pxe_image-oem.cpio.gz UPLOAD/coreos_production_pxe.vmlinuz