Closes: https://bugs.gentoo.org/771324
Signed-off-by: Michał Górny <[email protected]>
---
eclass/kernel-build.eclass | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/eclass/kernel-build.eclass b/eclass/kernel-build.eclass
index 7a5c80cfd6a6..1589202e4fa1 100644
--- a/eclass/kernel-build.eclass
+++ b/eclass/kernel-build.eclass
@@ -698,7 +698,7 @@ kernel-build_pkg_postinst() {
# (if applicable).
# 3. Config saved via USE=savedconfig (if applicable).
# 4. Module signing key specified via MODULES_SIGN_KEY* variables.
-# 5. User-supplied configs from ${BROOT}/etc/kernel/config.d/*.config.
+# 5. User-supplied configs from ${ESYSROOT}/etc/kernel/config.d/*.config.
#
# This function must be called by the ebuild in the src_prepare phase.
kernel-build_merge_configs() {
@@ -711,7 +711,7 @@ kernel-build_merge_configs() {
local shopt_save=$(shopt -p nullglob)
shopt -s nullglob
- local user_configs=( "${BROOT}"/etc/kernel/config.d/*.config )
+ local user_configs=( "${ESYSROOT}"/etc/kernel/config.d/*.config )
shopt -u nullglob
local merge_configs=( "${@}" )