profiles: Clean up ACCEPT_LICENSE in base profile

Instead of accepting everything blindly with exception of licenses
from CHROMEOS and EULA group (which are dropped from overlay anyway,
as we were not shipping anything with those licenses), accept the
Gentoo default licenses (basically licenses from the FREE group) and
some extra licenses on top.

This also uncovered some more places that will require some cleanups
(mostly firmware packages that need syncing).
This commit is contained in:
Krzesimir Nowak 2023-03-07 17:46:37 +01:00
parent 1ad0ce9964
commit cfc34c86dd

View File

@ -53,10 +53,13 @@ POLICY_TYPES="targeted mcs mls"
ACCEPT_RESTRICT="* -bindist" ACCEPT_RESTRICT="* -bindist"
USE="${USE} bindist" USE="${USE} bindist"
# Default licenses that are accepted for ChromiumOS builds. # Additional licenses accepted for Flatcar builds.
# If you want to accept more, use the --accept_licenses flag #
# when running setup_board. # netperf - license for net-analyzer/netperf
ACCEPT_LICENSE="* -@EULA -@CHROMEOS" # no-source-code - license for sys-kernel/coreos-firmware
# freedist - license for sys-kernel/coreos-kernel
# BSD-2-Clause-Patent - license for sys-firmware/edk2-aarch64
ACCEPT_LICENSE="${ACCEPT_LICENSE} netperf no-source-code freedist BSD-2-Clause-Patent"
# Favor our own mirrors over Gentoo's # Favor our own mirrors over Gentoo's
GENTOO_MIRRORS=" GENTOO_MIRRORS="