mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
kernel-build.eclass: Read user configs from ESYSROOT
Closes: https://bugs.gentoo.org/771324 Signed-off-by: Michał Górny <mgorny@gentoo.org> Signed-off-by: Mike Gilbert <floppym@gentoo.org>
This commit is contained in:
committed by
Mike Gilbert
parent
f19be11fe2
commit
f8a89f267d
@@ -713,7 +713,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() {
|
||||
@@ -726,7 +726,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 )
|
||||
eval "${shopt_save}"
|
||||
|
||||
local merge_configs=( "${@}" )
|
||||
|
||||
Reference in New Issue
Block a user