Install packages automatically on Ubuntu
For gate jobs, we need to automate the installing of dependencies, so check if we're on Ubuntu and handle that case automatically. Other distros can still use the script but need to manually take care of dependencies. Change-Id: Id2c6a815c018cdfe3b288c38c7033275f25d8f13
This commit is contained in:
parent
aab91a6caa
commit
3c8053515a
@ -7,6 +7,11 @@
|
||||
# it under the terms of the GNU General Public License version 2 as
|
||||
# published by the Free Software Foundation.
|
||||
|
||||
if which lsb_release 2> /dev/null && [ $(lsb_release -i -s) = "Ubuntu" ]
|
||||
then
|
||||
sudo apt-get -y install curl unzip bc python quilt parted qemu-utils \
|
||||
build-essential gcc-multilib
|
||||
fi
|
||||
|
||||
VERSION=2016.02
|
||||
FILENAME=buildroot-${VERSION}.tar.bz2
|
||||
|
Loading…
x
Reference in New Issue
Block a user