Use Portage config directly from src dir

Instead of copying the Portage configuration files to `/etc/portage` and
`/usr/${target}/etc/portage`, the build scripts now use the
configuration directories from the source directory.  This avoids issues
with changes (especially removal of files) getting propagated to the
actual configuration paths.
This commit is contained in:
2023-03-07 10:30:06 -06:00
parent 3ca750f495
commit 5f62193247
59 changed files with 41 additions and 48 deletions

View File

@@ -7,6 +7,8 @@ set -e
unset MAKEFLAGS MAKEOVERRIDES MAKELEVEL
export PORTAGE_CONFIGROOT="${PWD}"/portage/config/target
${target}-emerge -vuUDj sys-apps/util-linux
cat \