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

Issue 2874013: build_image: use --usepkg instead of --usepkgonly (Closed)

Created:
10 years, 6 months ago by Mandeep Singh Baines
Modified:
9 years, 7 months ago
CC:
chromium-os-reviews_chromium.org
Base URL:
ssh://git@chromiumos-git/crosutils.git
Visibility:
Public.

Description

build_image: use --usepkg instead of --usepkgonly We want build_image to honour the configuration in PORTDIR and only use the latest stable version as known by portage and the overlays. We get these semantics with --usepkg. We do not get them with --usepkgonly. The one downside is that instead of failing when you forget to run build_packages before build_image, build_image will try to build packages from source. From "man emerge": --usepkg[=n] (-k) Tells emerge to use binary packages (from $PKGDIR) if they are available, thus possibly avoiding some time-consuming compiles. This option is useful for CD installs; you can export PKGDIR=/mnt/cdrom/packages and then use this option to have emerge "pull" binary packages from the CD in order to satisfy dependencies. --usepkgonly[=n] (-K) Tells emerge to only use binary packages (from $PKGDIR). All the binary packages must be available at the time of dependency calculation or emerge will simply abort. Portage does not use $PORTDIR when calculating dependency information so all masking information is ignored. Change-Id: I267dad8992ac683d0ff4db0d0c72baba61ecbccf

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -4 lines) Patch
M build_image View 3 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Mandeep Singh Baines
10 years, 6 months ago (2010-06-24 21:07:07 UTC) #1
piman
LGTM
10 years, 6 months ago (2010-06-24 21:58:22 UTC) #2
Christopher Covington
10 years, 6 months ago (2010-06-24 22:02:42 UTC) #3
Would a non stable or "workon" package ever get into $PKGDIR?

Powered by Google App Engine
This is Rietveld 408576698