mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-15 17:06:58 +02:00
fix(profiles): Move FEATURES into profiles.
Move all obviously safe features into the coreos profiles to further reduce the magic in make.conf, leave the more fast-and-loose options in make.conf to keep them kinda "special".
This commit is contained in:
parent
e1b2acaf27
commit
72eb0ed866
@ -4,9 +4,8 @@
|
||||
source "/mnt/host/source/.repo/manifests/version.txt"
|
||||
COREOS_VERSION_STRING="${COREOS_BUILD}.${COREOS_BRANCH}.${COREOS_PATCH}"
|
||||
|
||||
FEATURES="allow-missing-manifests buildpkg clean-logs -collision-protect
|
||||
-ebuild-locks parallel-install sandbox -strict userfetch userpriv
|
||||
usersandbox -unknown-features-warn"
|
||||
# Tolerate collisions (for now), disable extra locking, ignore missing digests.
|
||||
FEATURES="-collision-protect -ebuild-locks -strict"
|
||||
|
||||
# Since our portage comes from version control, we redirect distfiles
|
||||
DISTDIR="/var/lib/portage/distfiles"
|
||||
|
@ -16,10 +16,8 @@ PORTAGE_TMPDIR=${ROOT}tmp/
|
||||
|
||||
PORT_LOGDIR=${ROOT}tmp/portage/logs/
|
||||
|
||||
FEATURES="allow-missing-manifests buildpkg clean-logs -collision-protect
|
||||
-ebuild-locks -force-mirror nodoc noinfo noman parallel-install
|
||||
sandbox splitdebug -strict userfetch userpriv usersandbox
|
||||
-unknown-features-warn"
|
||||
# Tolerate collisions (for now), disable extra locking, ignore missing digests.
|
||||
FEATURES="-collision-protect -ebuild-locks -strict"
|
||||
|
||||
PORTAGE_WORKDIR_MODE="0755"
|
||||
PKG_CONFIG_PATH="${ROOT}usr/lib/pkgconfig/:${ROOT}usr/share/pkgconfig/"
|
||||
|
@ -50,3 +50,7 @@ CONFIG_PROTECT="
|
||||
# Use parallel bzip2 for binary packages
|
||||
PORTAGE_BZIP2_COMMAND="lbzip2"
|
||||
PORTAGE_BUNZIP2_COMMAND="lbunzip2"
|
||||
|
||||
# Always build binary packages, remove old build logs, avoid running as root.
|
||||
FEATURES="buildpkg clean-logs compressdebug parallel-install splitdebug
|
||||
userfetch userpriv usersandbox"
|
||||
|
@ -5,3 +5,6 @@ USE="cros-debug acpi usb pam"
|
||||
USE="${USE} -cros_host -expat -pic -pie -cairo -X"
|
||||
USE="${USE} -acl -cracklib -gpm -ipv6 -openmp -python -sha512"
|
||||
USE="${USE} -fortran -abiword -perl -cups -poppler-data -nls"
|
||||
|
||||
# Exclude documentation
|
||||
FEATURES="nodoc noinfo noman"
|
||||
|
Loading…
Reference in New Issue
Block a user