Adding support for Ubuntu 17.04 for install-build-deps.sh
Bug: Change-Id: If144613a6ce43dcac7943623442698c3bcfaf8c0 Reviewed-on: https://chromium-review.googlesource.com/554079 Reviewed-by: Dirk Pranke <dpranke@chromium.org> Reviewed-by: Thomas Anderson <thomasanderson@chromium.org> Commit-Queue: Thomas Anderson <thomasanderson@chromium.org> Cr-Original-Commit-Position: refs/heads/master@{#483624} Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src Cr-Mirrored-Commit: 3a0793ae0128c73d8731ee5b0c8434fe4980b6cf
This commit is contained in:
Родитель
700d7157bf
Коммит
e9a431763e
|
@ -112,7 +112,7 @@ fi
|
|||
|
||||
distro_codename=$(lsb_release --codename --short)
|
||||
distro_id=$(lsb_release --id --short)
|
||||
supported_codenames="(trusty|xenial|yakkety)"
|
||||
supported_codenames="(trusty|xenial|yakkety|zesty)"
|
||||
supported_ids="(Debian)"
|
||||
if [ 0 -eq "${do_unsupported-0}" ] && [ 0 -eq "${do_quick_check-0}" ] ; then
|
||||
if [[ ! $distro_codename =~ $supported_codenames &&
|
||||
|
@ -121,6 +121,7 @@ if [ 0 -eq "${do_unsupported-0}" ] && [ 0 -eq "${do_quick_check-0}" ] ; then
|
|||
"\tUbuntu 14.04 (trusty)\n" \
|
||||
"\tUbuntu 16.04 (xenial)\n" \
|
||||
"\tUbuntu 16.10 (yakkety)\n" \
|
||||
"\tUbuntu 17.04 (zesty)\n" \
|
||||
"\tDebian 8 (jessie) or later" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
@ -359,7 +360,7 @@ case $distro_codename in
|
|||
arm_list+=" g++-4.8-multilib-arm-linux-gnueabihf
|
||||
gcc-4.8-multilib-arm-linux-gnueabihf"
|
||||
;;
|
||||
xenial|yakkety)
|
||||
xenial|yakkety|zesty)
|
||||
arm_list+=" g++-5-multilib-arm-linux-gnueabihf
|
||||
gcc-5-multilib-arm-linux-gnueabihf
|
||||
gcc-arm-linux-gnueabihf"
|
||||
|
|
Загрузка…
Ссылка в новой задаче