Closed nertpinx closed 6 years ago
It could be written in a way more straightforward way (directly appending getbinpkg
into FEATURES of the current environment), but I like to be more cautious. Feel free to (request a) rewrite.
Wait a minute… why would FEATURES override explicit command-line argument? That looks like a bug in Portage.
Good point, I haven't though of it that way. That looks like a bug in my head =) I'll see what it looks like in portage, but I've never seen that codebase before.
Please start by reporting at bugs.gentoo.org, Portage Development product.
Completely forgot this, consider it a non-issue anymore.
Filed here: https://bugs.gentoo.org/670482
My previous commit (e473be02e32d) tried fixing the issue of rebuilding binary packages (they were fetched from the
$PORTAGE_BINHOST
), but forgot to also remove thegetbinpkg
feature from theFEATURES
(either set explicitly or inmake.conf
). This patch removes the feature if it is specified in the environment and explicitly adds-getbinpkg
to the feature list.