From 1e8c7e7b85dad6f24ec554558a15048a8b29f0f4 Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Thu, 5 Dec 2024 20:58:49 -0600 Subject: [PATCH] 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. --- build-kernel.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build-kernel.sh b/build-kernel.sh index b2ae962..50e2ba2 100755 --- a/build-kernel.sh +++ b/build-kernel.sh @@ -7,8 +7,8 @@ O="${1}" . "${CONFIGDIR:=${PWD}}"/config -PORTAGE_CONFIGROOT="${CONFIGDIR}"/portage/host \ -emerge -vnj ${kernel_pkg} +USE=symlink \ +emerge -vnuUj ${kernel_pkg} export ARCH=arm64 CROSS_COMPILE=${target}- unset MAKEFLAGS MAKEOVERRIDES MAKELEVEL