mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-24 07:01:13 +02:00
build_image: honor USE flags from environment
BUG=n0ne TEST=Ran the following command to test: USE="-compat_wireless" ./build_image Change-Id: I4b3fd12c1f62e1b2551045a5831a63d848fe2a3f Review URL: http://codereview.chromium.org/5139003
This commit is contained in:
parent
684d5dbccf
commit
4ea330f007
@ -180,7 +180,7 @@ fi
|
|||||||
# We don't allow building from source with the image as a target,
|
# We don't allow building from source with the image as a target,
|
||||||
# and it's not possible to store prebuilts for the same package
|
# and it's not possible to store prebuilts for the same package
|
||||||
# with different use flags.
|
# with different use flags.
|
||||||
USE="${EXTRA_USE}" emerge-${FLAGS_board} \
|
USE="${EXTRA_USE} ${USE}" emerge-${FLAGS_board} \
|
||||||
-uNDvg --binpkg-respect-use=y virtual/kernel
|
-uNDvg --binpkg-respect-use=y virtual/kernel
|
||||||
|
|
||||||
# Use canonical path since some tools (e.g. mount) do not like symlinks.
|
# Use canonical path since some tools (e.g. mount) do not like symlinks.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user