mirror of
https://github.com/flatcar/scripts.git
synced 2026-01-06 17:11:50 +01:00
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:
parent
7fe004ad39
commit
7dbc2f3a4d
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user