diff --git a/ci/build.sh b/ci/build.sh index 4860565845..18bc529aaf 100755 --- a/ci/build.sh +++ b/ci/build.sh @@ -20,6 +20,9 @@ if test "${OS_ID}" = 'fedora'; then *) CONFIGOPTS="${CONFIGOPTS:-} --with-curl" esac fi +if [[ "${OS_ID_LIKE}" =~ rhel|fedora ]]; then + CONFIGOPTS="${CONFIGOPTS:-} --with-composefs --with-openssl" +fi case "${CONFIGOPTS:-}" in *--with-curl*|--with-soup*) if test -x /usr/bin/gnome-desktop-testing-runner; then diff --git a/ci/libbuild.sh b/ci/libbuild.sh index 9938e282fa..76bdf096be 100644 --- a/ci/libbuild.sh +++ b/ci/libbuild.sh @@ -3,6 +3,7 @@ dn=$(cd $(dirname $0) && pwd) OS_ID=$(. /etc/os-release; echo $ID) +OS_ID_LIKE=$(. /etc/os-release; echo $ID ${ID_LIKE:-}) OS_VERSION_ID=$(. /etc/os-release; echo $VERSION_ID) pkg_upgrade() {