Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(79)

Side by Side Diff: build/install-build-deps.sh

Issue 2901093008: install-build-deps: Remove dpkg armhf architecture (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/bash -e 1 #!/bin/bash -e
2 2
3 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 3 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 6
7 # Script to install everything needed to build chromium (well, ideally, anyway) 7 # Script to install everything needed to build chromium (well, ideally, anyway)
8 # See https://chromium.googlesource.com/chromium/src/+/master/docs/linux_build_i nstructions.md 8 # See https://chromium.googlesource.com/chromium/src/+/master/docs/linux_build_i nstructions.md
9 9
10 usage() { 10 usage() {
(...skipping 583 matching lines...) Expand 10 before | Expand all | Expand 10 after
594 echo "(maybe missing a repo or need to 'sudo apt-get update'):" 594 echo "(maybe missing a repo or need to 'sudo apt-get update'):"
595 echo -e "${unknown}" | sed -e "s/^/ /" 595 echo -e "${unknown}" | sed -e "s/^/ /"
596 fi 596 fi
597 exit 1 597 exit 1
598 fi 598 fi
599 exit 0 599 exit 0
600 fi 600 fi
601 601
602 if test "$do_inst_lib32" = "1" || test "$do_inst_nacl" = "1"; then 602 if test "$do_inst_lib32" = "1" || test "$do_inst_nacl" = "1"; then
603 sudo dpkg --add-architecture i386 603 sudo dpkg --add-architecture i386
604 if [[ $distro_id == "Debian" ]]; then
605 sudo dpkg --add-architecture armhf
606 fi
607 fi 604 fi
608 sudo apt-get update 605 sudo apt-get update
609 606
610 # We initially run "apt-get" with the --reinstall option and parse its output. 607 # We initially run "apt-get" with the --reinstall option and parse its output.
611 # This way, we can find all the packages that need to be newly installed 608 # This way, we can find all the packages that need to be newly installed
612 # without accidentally promoting any packages from "auto" to "manual". 609 # without accidentally promoting any packages from "auto" to "manual".
613 # We then re-run "apt-get" with just the list of missing packages. 610 # We then re-run "apt-get" with just the list of missing packages.
614 echo "Finding missing packages..." 611 echo "Finding missing packages..."
615 # Intentionally leaving $packages unquoted so it's more readable. 612 # Intentionally leaving $packages unquoted so it's more readable.
616 echo "Packages required: " $packages 613 echo "Packages required: " $packages
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
681 if (echo "${OLD_LOCALE_GEN}" | cmp -s ${LOCALE_GEN}); then 678 if (echo "${OLD_LOCALE_GEN}" | cmp -s ${LOCALE_GEN}); then
682 echo "Locales already up-to-date." 679 echo "Locales already up-to-date."
683 else 680 else
684 sudo locale-gen 681 sudo locale-gen
685 fi 682 fi
686 else 683 else
687 for CHROMIUM_LOCALE in ${CHROMIUM_LOCALES}; do 684 for CHROMIUM_LOCALE in ${CHROMIUM_LOCALES}; do
688 sudo locale-gen ${CHROMIUM_LOCALE} 685 sudo locale-gen ${CHROMIUM_LOCALE}
689 done 686 done
690 fi 687 fi
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698