build: Fix building binpkgs for BDEPENDs
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.master
parent
089b19e412
commit
306e3e52bf
6
build.sh
6
build.sh
|
@ -16,6 +16,6 @@ cat \
|
||||||
install.packages \
|
install.packages \
|
||||||
"${CONFIGDIR}"/build.packages \
|
"${CONFIGDIR}"/build.packages \
|
||||||
"${CONFIGDIR}"/install.packages \
|
"${CONFIGDIR}"/install.packages \
|
||||||
| xargs -ro \
|
| xargs -rot \
|
||||||
${target}-emerge -vnuUDj
|
${target}-emerge -bkvnuUDj
|
||||||
${target}-emerge -v @preserved-rebuild
|
${target}-emerge -bv @preserved-rebuild
|
||||||
|
|
|
@ -9,4 +9,4 @@ unset MAKEFLAGS MAKEOVERRIDES MAKELEVEL
|
||||||
|
|
||||||
export PORTAGE_CONFIGROOT="${CONFIGDIR}"/portage/target
|
export PORTAGE_CONFIGROOT="${CONFIGDIR}"/portage/target
|
||||||
|
|
||||||
${target}-emerge -bv1j --usepkg-exclude="$*" "$@"
|
${target}-emerge -bkv1j --usepkg-exclude="$*" "$@"
|
||||||
|
|
Reference in New Issue