profiles: block packages with distribution issues

Gentoo has switched to using USE=bindist only for packages with optional
features that cannot be distributed and RESTRICT=bindist otherwise. This
change doesn't impact anything in our tree at the moment but we should
follow along to avoid mistakes in the future.

Also, block packages with mirror restrictions. This is just to call
attention to anything that would otherwise be missing from our distfiles
mirror. Nothing we ship should actually have such a restriction.
This commit is contained in:
Michael Marineau 2015-03-29 14:41:12 -07:00
parent 63acd519f7
commit aee4faa83d

View File

@ -18,9 +18,6 @@ ETCD_PROTOCOLS="1"
# Extra use flags for CoreOS SDK # Extra use flags for CoreOS SDK
USE="${USE} cros_host expat -introspection -cups -tcpd -pcre -berkdb" USE="${USE} cros_host expat -introspection -cups -tcpd -pcre -berkdb"
# Enable bindist for both SDK and targets
USE="${USE} bindist"
# No need for zeroconf, that's a desktop world thing. # No need for zeroconf, that's a desktop world thing.
# Namely dhcpcd shoudln't make up random ipv4 addresses using ipv4ll # Namely dhcpcd shoudln't make up random ipv4 addresses using ipv4ll
USE="${USE} -zeroconf" USE="${USE} -zeroconf"
@ -35,6 +32,10 @@ USE="$USE -python_targets_python3_3 -python_single_target_python3_3"
BOOTSTRAP_USE="$BOOTSTRAP_USE -python_targets_python3_2" BOOTSTRAP_USE="$BOOTSTRAP_USE -python_targets_python3_2"
BOOTSTRAP_USE="$BOOTSTRAP_USE -python_targets_python3_3" BOOTSTRAP_USE="$BOOTSTRAP_USE -python_targets_python3_3"
# Disable packages or optional features with distribution issues.
ACCEPT_RESTRICT="* -bindist -mirror"
USE="${USE} bindist"
# Default licenses that are accepted for ChromiumOS builds. # Default licenses that are accepted for ChromiumOS builds.
# If you want to accept more, use the --accept_licenses flag # If you want to accept more, use the --accept_licenses flag
# when running setup_board. # when running setup_board.