build-kernel: Set USE=symlink as env var

Since this is the last vestige of the "host" Portage configuration
directory, we can remove it entirely by setting `USE=symlink` as an
environment variable.  This should be safe, since there are not many
other packages besides kernel sources that use this USE flag, and
they're not likely to be pulled in with this `emerge` invocation.
gentoo
Dustin 2024-12-05 20:58:49 -06:00
parent d117207bd2
commit 1e8c7e7b85
1 changed files with 2 additions and 2 deletions

View File

@ -7,8 +7,8 @@ O="${1}"
. "${CONFIGDIR:=${PWD}}"/config . "${CONFIGDIR:=${PWD}}"/config
PORTAGE_CONFIGROOT="${CONFIGDIR}"/portage/host \ USE=symlink \
emerge -vnj ${kernel_pkg} emerge -vnuUj ${kernel_pkg}
export ARCH=arm64 CROSS_COMPILE=${target}- export ARCH=arm64 CROSS_COMPILE=${target}-
unset MAKEFLAGS MAKEOVERRIDES MAKELEVEL unset MAKEFLAGS MAKEOVERRIDES MAKELEVEL