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

Side by Side Diff: chromeos/scripts/build_packages

Issue 6279010: kernel: remove chromeos-base/kernel (Closed) Base URL: http://git.chromium.org/git/chromiumos-overlay.git@master
Patch Set: profile Created 9 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « chromeos-base/kernel/kernel-9999.ebuild ('k') | profiles/targets/chromeos/virtuals » ('j') | 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 1 #!/bin/bash
2 PROG=$(basename $0) 2 PROG=$(basename $0)
3 3
4 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. 4 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
5 # Use of this source code is governed by a BSD-style license that can be 5 # Use of this source code is governed by a BSD-style license that can be
6 # found in the LICENSE file. 6 # found in the LICENSE file.
7 7
8 # Script to build the set of binary packages needed by Chrome OS. It will 8 # Script to build the set of binary packages needed by Chrome OS. It will
9 # cross compile all of the packages into the given targets root and build 9 # cross compile all of the packages into the given targets root and build
10 # binary packages as a side-effect. The output packages will be picked up 10 # binary packages as a side-effect. The output packages will be picked up
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 PACKAGES="${PACKAGES} chromeos-base/autotest-all" 170 PACKAGES="${PACKAGES} chromeos-base/autotest-all"
171 171
172 # HACK ALERT 172 # HACK ALERT
173 # Remove autotest deps r321 and earlier as some files have been moved. 173 # Remove autotest deps r321 and earlier as some files have been moved.
174 # We must force uninstall the old packages or the stale packages will 174 # We must force uninstall the old packages or the stale packages will
175 # conflict with the new ebuilds. 175 # conflict with the new ebuilds.
176 # http://codereview.chromium.org/6220003/ 176 # http://codereview.chromium.org/6220003/
177 sudo -E ${EMERGE_BOARD_CMD} -C "<=chromeos-base/autotest-deps-0.0.1-r321" 177 sudo -E ${EMERGE_BOARD_CMD} -C "<=chromeos-base/autotest-deps-0.0.1-r321"
178 sudo -E ${EMERGE_BOARD_CMD} -C "<=chromeos-base/autotest-tests-0.0.1-r335" 178 sudo -E ${EMERGE_BOARD_CMD} -C "<=chromeos-base/autotest-tests-0.0.1-r335"
179 fi 179 fi
180 # HACK ALERT
181 # Remove chromeos-base/kernel: http://crosbug.com/11124
182 # TODO(msb) remove this hack after 02/20/2011
183 sudo -E ${EMERGE_BOARD_CMD} -C "chromeos-base/kernel"
180 if [[ "${FLAGS_fast}" -eq "${FLAGS_TRUE}" ]]; then 184 if [[ "${FLAGS_fast}" -eq "${FLAGS_TRUE}" ]]; then
181 # These flags are specific to parallel_emerge 185 # These flags are specific to parallel_emerge
182 for pkg in ${CROS_WORKON_PKGS}; do 186 for pkg in ${CROS_WORKON_PKGS}; do
183 EMERGE_FLAGS="${EMERGE_FLAGS} --workon=${pkg}" 187 EMERGE_FLAGS="${EMERGE_FLAGS} --workon=${pkg}"
184 done 188 done
185 if [[ "${FLAGS_norebuild}" -eq "${FLAGS_FALSE}" ]]; then 189 if [[ "${FLAGS_norebuild}" -eq "${FLAGS_FALSE}" ]]; then
186 EMERGE_FLAGS="${EMERGE_FLAGS} --rebuild" 190 EMERGE_FLAGS="${EMERGE_FLAGS} --rebuild"
187 fi 191 fi
188 if [[ "${FLAGS_showoutput}" -eq "${FLAGS_TRUE}" ]]; then 192 if [[ "${FLAGS_showoutput}" -eq "${FLAGS_TRUE}" ]]; then
189 EMERGE_FLAGS="${EMERGE_FLAGS} --show-output" 193 EMERGE_FLAGS="${EMERGE_FLAGS} --show-output"
(...skipping 24 matching lines...) Expand all
214 218
215 # Update the remainder of the packages. 219 # Update the remainder of the packages.
216 eretry ${EMERGE_BOARD_CMD} -uDNv ${EMERGE_FLAGS} ${PACKAGES} 220 eretry ${EMERGE_BOARD_CMD} -uDNv ${EMERGE_FLAGS} ${PACKAGES}
217 fi 221 fi
218 fi 222 fi
219 223
220 224
221 echo "Builds complete" 225 echo "Builds complete"
222 print_time_elapsed 226 print_time_elapsed
223 echo "Done" 227 echo "Done"
OLDNEW
« no previous file with comments | « chromeos-base/kernel/kernel-9999.ebuild ('k') | profiles/targets/chromeos/virtuals » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698