Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates for FreeBSD 14.1 #10

Merged
merged 1 commit into from
Nov 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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