Updated the Solus eopkg workflow to conditionally remove openssl-11 before installing build dependencies, preventing the file-conflict failure when openssl is upgraded/installed in older Solus container images.

Kept the fix minimal and safe by guarding removal behind a package-presence check (eopkg li | grep ...) so it only applies when needed.
This commit is contained in:
2026-02-18 11:12:10 -07:00
parent 3d6b2485d1
commit 5e4f408235

View File

@@ -62,6 +62,11 @@ jobs:
sh -lc '
set -euo pipefail
eopkg update-repo -y
# Some Solus base images still include openssl-11, which now
# conflicts with openssl during dependency upgrades.
if eopkg li | grep -q "^openssl-11\b"; then
eopkg rm -y openssl-11
fi
eopkg install -y ypkg git
ypkg build "$PACKAGE_YML"
mkdir -p /workspace/artifacts