Apparently `FEATURES` and/or `EMERGE_DEFAULT_OPTS` set in `make.conf` do
not seem to apply to packages pulled in as `BDEPEND` dependencies and
installed in `/` instead of `/usr/${target}`. This causes binary
packages to not be built/used for those packages. Passing `--buildpkg`
(`-b`) and `--usepkg` (`-k`) on the command line ensures that binary
packages are built for everything.
22 lines
429 B
Bash
Executable File
22 lines
429 B
Bash
Executable File
#!/bin/sh
|
|
# vim: set sw=4 ts=4 sts=4 et :
|
|
|
|
set -e
|
|
|
|
. "${CONFIGDIR}"/config
|
|
|
|
unset MAKEFLAGS MAKEOVERRIDES MAKELEVEL
|
|
|
|
export PORTAGE_CONFIGROOT="${CONFIGDIR}"/portage/target
|
|
|
|
${target}-emerge -vuUDj sys-apps/util-linux
|
|
|
|
cat \
|
|
build.packages \
|
|
install.packages \
|
|
"${CONFIGDIR}"/build.packages \
|
|
"${CONFIGDIR}"/install.packages \
|
|
| xargs -rot \
|
|
${target}-emerge -bkvnuUDj
|
|
${target}-emerge -bv @preserved-rebuild
|