profiles: Pick defaults for app-alternatives during bootstrap.

This commit is contained in:
Krzesimir Nowak 2023-01-25 16:29:36 +01:00
parent 464bc43cc5
commit c12850f476
2 changed files with 12 additions and 5 deletions

View File

@ -46,11 +46,6 @@ BOOTSTRAP_USE="${BOOTSTRAP_USE} curl_ssl_openssl ssl"
# Add `xml` USE flag to avoid build failures from sys-apps/portage 3.0.28
BOOTSTRAP_USE="${BOOTSTRAP_USE} xml"
# Add `bison` USE flag, so we pick a proper yacc alternative from
# app-alternatives/yacc (normally bison is enabled by default, but
# it's disabled during building stage2 for some reason).
BOOTSTRAP_USE="${BOOTSTRAP_USE} bison"
# Set SELinux policy
POLICY_TYPES="targeted mcs mls"

View File

@ -1,6 +1,18 @@
# Copyright (c) 2014 The CoreOS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
# Force enable those USE flags, so they are picked up also during
# bootstrap, where normally all USE flags are cleared.
app-alternatives/awk gawk
app-alternatives/bc gnu
app-alternatives/bzip2 reference
app-alternatives/cpio gnu
app-alternatives/gzip reference
app-alternatives/lex flex
app-alternatives/sh bash
app-alternatives/tar gnu
app-alternatives/yacc bison
# Force libcrypt so it's included in stage-1 of the SDK build.
# +crypt was introduced in glibc-2.30 and above.
sys-libs/glibc crypt