build_dev_binpkgs: Fix getting a list of packages

The format of emerge output differs a bit, as it is missing the repo
name (which came after `::`).
This commit is contained in:
Krzesimir Nowak 2024-02-09 11:59:41 +01:00
parent 7fe004ad39
commit 7dbc2f3a4d

View File

@ -58,7 +58,7 @@ info "Collecting list of binpkgs to build"
my_board_emerge --pretend --root-deps=rdeps --emptytree ${@} \
| grep '\[ebuild' \
| sed 's/^\[[^]]\+\] \([^ :]\+\)*:.*/\1/' \
| sed 's/^\[[^]]\+\] \([^ :]\+\)*.*/\1/' \
| while read pkg; do
if [ -f "/build/${FLAGS_board}/var/lib/portage/pkgs/${pkg}.tbz2" ] ; then
continue