Skip to content

Commit

Permalink
Just assert that packages are installed instead
Browse files Browse the repository at this point in the history
  • Loading branch information
NattyNarwhal committed Jan 8, 2025
1 parent dc08278 commit 5c4568b
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions .github/actions/emerge/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,12 @@ runs:
using: composite
steps:
- shell: sh
# Omitting libiconv from glibc system
# XXX: mysql-client needed? IMAP i don't think so anymore either
# XXX: Set USE flags appropriately to i.e. avoid installing servers
# (though if they're masked it doesn't matter)
# XXX: For now this is nopped out since it doesn't run in a container yet
# This does nothing, as currently the Gentoo/ppc64 CI system is
# not running jobs containerized.
#
# - libiconv is not used, glibc iconv is instead
run: |
emerge --noreplace \
for package in \
sys-apps/util-linux \
app-shells/bash \
app-admin/sudo \
Expand Down Expand Up @@ -47,5 +46,10 @@ runs:
net-analyzer/net-snmp \
net-nds/openldap \
dev-db/unixODBC \
dev-db/postgresql \
|| true
dev-db/postgresql; do
echo $package
if ! portageq has_version / $package; then
echo "need to install $package"
exit 1
fi
done

0 comments on commit 5c4568b

Please sign in to comment.