From cfc34c86dd1d2cb7429f247f4ee2ed92301ec559 Mon Sep 17 00:00:00 2001 From: Krzesimir Nowak Date: Tue, 7 Mar 2023 17:46:37 +0100 Subject: [PATCH] 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). --- .../coreos-overlay/profiles/coreos/base/make.defaults | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/coreos/base/make.defaults b/sdk_container/src/third_party/coreos-overlay/profiles/coreos/base/make.defaults index b73c719c5c..3607cd55bc 100644 --- a/sdk_container/src/third_party/coreos-overlay/profiles/coreos/base/make.defaults +++ b/sdk_container/src/third_party/coreos-overlay/profiles/coreos/base/make.defaults @@ -53,10 +53,13 @@ POLICY_TYPES="targeted mcs mls" ACCEPT_RESTRICT="* -bindist" USE="${USE} bindist" -# Default licenses that are accepted for ChromiumOS builds. -# If you want to accept more, use the --accept_licenses flag -# when running setup_board. -ACCEPT_LICENSE="* -@EULA -@CHROMEOS" +# Additional licenses accepted for Flatcar builds. +# +# netperf - license for net-analyzer/netperf +# 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 GENTOO_MIRRORS="