Skip to content

Commit

Permalink
tests: Update world before emerging packages
Browse files Browse the repository at this point in the history
To fix issues with out of date stage3/Docker image
  • Loading branch information
simonvanderveldt committed Jun 18, 2020
1 parent 6f3f555 commit bb196b3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/resources/emerge-ebuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,14 @@ fi
export FEATURES="binpkg-multi-instance -news -ipc-sandbox -network-sandbox -pid-sandbox"
export PORTAGE_RSYNC_EXTRA_OPTS="-q"

# Show emerge info for troubleshooting purposes
emerge --info

# Update @world, to fix issues with out of date gentoo/stage3-amd64 images
# Workaround for bug https://bugs.gentoo.org/723352
emerge --quiet-build --buildpkg --usepkg sys-libs/libcap
emerge --quiet-build --buildpkg --usepkg --update --changed-use --deep --with-bdeps=y @world

EBUILD_PATHS=("${@}")

# Emerge the ebuilds in a clean stage3
Expand Down

0 comments on commit bb196b3

Please sign in to comment.