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

Unified Diff: chromeos/scripts/build_packages

Issue 3571015: Added support for boards with only private overlays. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/chromiumos-overlay.git
Patch Set: Centralized board primary overlay logic in a call to cros_overlay_list Created 10 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chromeos/scripts/setup_board » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/scripts/build_packages
diff --git a/chromeos/scripts/build_packages b/chromeos/scripts/build_packages
index dad6e5ac20acdef21711b1a4f7cf593bf3d459d4..ef66a9055f44c012256004b33c0a09d2109b2d0c 100755
--- a/chromeos/scripts/build_packages
+++ b/chromeos/scripts/build_packages
@@ -110,7 +110,9 @@ if [[ "${FLAGS_withdebug}" -eq "${FLAGS_FALSE}" ]]; then
fi
BOARD=$(echo "${FLAGS_board}" |cut -d '_' -f 1)
-BOARD_OVERLAY="${SRC_ROOT}/overlays/overlay-${BOARD}"
+BOARD_OVERLAY=$($SCRIPTS_DIR/bin/cros_overlay_list \
+ --board "$BOARD" \
+ --primary_only)
TC_ARCH=$(awk -F'-' '{ print $1 }' < "${BOARD_OVERLAY}/toolchain.conf")
case "${TC_ARCH}" in
arm*)
« no previous file with comments | « no previous file | chromeos/scripts/setup_board » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698