Skip to content

Commit

Permalink
Updates for FreeBSD 14.1
Browse files Browse the repository at this point in the history
  • Loading branch information
mtelvers committed Nov 8, 2024
1 parent 962179e commit ee03868
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion roles/base-image/files/jail
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ mkdir -p $1 || error "mkdir failed for $1"
test ! -d $BSDINSTALL_DISTDIR && mkdir -p $BSDINSTALL_DISTDIR

if [ ! -f $BSDINSTALL_DISTDIR/MANIFEST -a -z "$BSDINSTALL_DISTSITE" ]; then
export BSDINSTALL_DISTSITE="https://download.freebsd.org/ftp/releases/amd64/amd64/14.0-RELEASE"
export BSDINSTALL_DISTSITE="https://download.freebsd.org/ftp/releases/amd64/amd64/14.1-RELEASE"
fetch -o $BSDINSTALL_DISTDIR/MANIFEST $BSDINSTALL_DISTSITE/MANIFEST || error "Could not download $BSDINSTALL_DISTSITE/MANIFEST"
fi

Expand Down
5 changes: 2 additions & 3 deletions roles/ocluster/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@
rm install.sh
chmod +x opam-*
mv opam-* /usr/local/bin/opam
sudo ln /usr/local/bin/opam-2.1 /usr/local/bin/opam
opam init -y
opam init --bare -y
- name: Remove ~/ocluster
file:
Expand All @@ -36,7 +35,7 @@
recursive: no

- name: Create opam switch
shell: opam switch create . 4.14.1 --deps-only --with-test --confirm-level=unsafe-yes
shell: opam switch create . 4.14.2 --deps-only --with-test --confirm-level=unsafe-yes
args:
chdir: "{{ ansible_env.HOME }}/ocluster"

Expand Down

0 comments on commit ee03868

Please sign in to comment.