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.
20 lines
339 B
Bash
Executable File
20 lines
339 B
Bash
Executable File
#!/bin/sh
|
|
# vim: set sw=4 ts=4 sts=4 et :
|
|
|
|
set -e
|
|
|
|
. ./config
|
|
|
|
unset MAKEFLAGS MAKEOVERRIDES MAKELEVEL
|
|
|
|
export PORTAGE_CONFIGROOT="${PWD}"/portage/config/target
|
|
|
|
${target}-emerge -vuUDj sys-apps/util-linux
|
|
|
|
cat \
|
|
build.packages \
|
|
install.packages \
|
|
| xargs -ro \
|
|
${target}-emerge -vnuUDj
|
|
${target}-emerge -v @preserved-rebuild
|