From 57f849239f9121c719d14d47e03e5f8ebdca7989 Mon Sep 17 00:00:00 2001 From: Krzesimir Nowak Date: Thu, 26 Jan 2023 08:47:20 +0100 Subject: [PATCH] build_library/toolchain_util: Set up symlink for user patches This was a place I missed where /etc/portage is set up. Because of it, user patches for sys-devel/gcc were not picked up. Also stop using deprecated PORTDIR and PORTDIR_OVERLAY getters. We still set those variables, but we will drop them eventually. --- build_library/toolchain_util.sh | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/build_library/toolchain_util.sh b/build_library/toolchain_util.sh index d832cca7c6..87f701a9c2 100644 --- a/build_library/toolchain_util.sh +++ b/build_library/toolchain_util.sh @@ -284,9 +284,16 @@ _configure_sysroot() { $sudo cp /etc/portage/repos.conf/* "${ROOT}/etc/portage/repos.conf/" $sudo eselect profile set --force "$profile" - $sudo tee "${ROOT}/etc/portage/make.conf" >/dev/null <