Files
gentoo/scripts
Krzesimir Nowak 991727070a scripts/bootstrap.sh: Fix bootstrap in verbose mode
Verbose mode does not unset STRAP_RUN, thus the script tries to prune
sys-devel/gcc at the later stage. Currently portage exits with an exit
status 1 if a specific package was requested to be pruned and there
was nothing to do. This results in a bootstrap failure. So before we
try to prune, let's do a dry run to see if anything would be done.

For the portage code that results in exit status 1, see the following
link:

https://gitweb.gentoo.org/proj/portage.git/tree/lib/_emerge/actions.py?id=bde2a895cf520687dce7a8e92601041a37529ba0#n1700

Signed-off-by: Krzesimir Nowak <knowak@microsoft.com>
Closes: https://github.com/gentoo/gentoo/pull/29612
Signed-off-by: Sam James <sam@gentoo.org>
2023-02-22 16:17:55 +00:00
..