Skip to content

Commit

Permalink
Try installing packages from https using the real major version
Browse files Browse the repository at this point in the history
  • Loading branch information
probonopd authored Jul 10, 2022
1 parent ccba989 commit 0de1b52
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -212,8 +212,11 @@ packages()
# Install packages beginning with 'https:'
mkdir -p ${uzip}${pkg_cachedir}/furybsd-https
for url in $(grep -e '^https' "${cwd}/settings/packages.$p"); do
# First, try installing this using the real major version
pkg_add_from_url "$url" furybsd-https "freebsd:$MAJOR:$arch" || true
# Second, try installing this using
# ABI=freebsd:12:$arch in an attempt to use package built on 12 for 13
pkg_add_from_url "$url" furybsd-https "freebsd:12:$arch"
pkg_add_from_url "$url" furybsd-https "freebsd:12:$arch" || true
done
done
# Install the packages we have generated in pkg() that are listed in transient-packages-list
Expand Down

0 comments on commit 0de1b52

Please sign in to comment.