Skip to content

Commit 5c4568b

Browse files
committed
Just assert that packages are installed instead
1 parent dc08278 commit 5c4568b

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

.github/actions/emerge/action.yml

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,12 @@ runs:
33
using: composite
44
steps:
55
- shell: sh
6-
# Omitting libiconv from glibc system
7-
# XXX: mysql-client needed? IMAP i don't think so anymore either
8-
# XXX: Set USE flags appropriately to i.e. avoid installing servers
9-
# (though if they're masked it doesn't matter)
10-
# XXX: For now this is nopped out since it doesn't run in a container yet
6+
# This does nothing, as currently the Gentoo/ppc64 CI system is
7+
# not running jobs containerized.
8+
#
9+
# - libiconv is not used, glibc iconv is instead
1110
run: |
12-
emerge --noreplace \
11+
for package in \
1312
sys-apps/util-linux \
1413
app-shells/bash \
1514
app-admin/sudo \
@@ -47,5 +46,10 @@ runs:
4746
net-analyzer/net-snmp \
4847
net-nds/openldap \
4948
dev-db/unixODBC \
50-
dev-db/postgresql \
51-
|| true
49+
dev-db/postgresql; do
50+
echo $package
51+
if ! portageq has_version / $package; then
52+
echo "need to install $package"
53+
exit 1
54+
fi
55+
done

0 commit comments

Comments
 (0)