From 9b5a71bd0ab30294832630e5b7e245ed3474a8c9 Mon Sep 17 00:00:00 2001 From: Jose Date: Tue, 1 Oct 2019 20:11:47 -0400 Subject: [PATCH] Add support for FreeBSD 11.3-RELEASE --- usr/local/share/bastille/bootstrap.sh | 6 ++++++ usr/local/share/bastille/create.sh | 3 +++ 2 files changed, 9 insertions(+) diff --git a/usr/local/share/bastille/bootstrap.sh b/usr/local/share/bastille/bootstrap.sh index 8ac4d43..fddfaac 100644 --- a/usr/local/share/bastille/bootstrap.sh +++ b/usr/local/share/bastille/bootstrap.sh @@ -318,6 +318,12 @@ HW_MACHINE_ARCH=$(sysctl hw.machine_arch | awk '{ print $2 }') # Filter sane release names case "${1}" in +11.3-RELEASE) + RELEASE="${1}" + UPSTREAM_URL="http://ftp.freebsd.org/pub/FreeBSD/releases/${HW_MACHINE}/${HW_MACHINE_ARCH}/11.3-RELEASE/" + bootstrap_directories + bootstrap_release + ;; 11.2-RELEASE) RELEASE="${1}" UPSTREAM_URL="http://ftp.freebsd.org/pub/FreeBSD/releases/${HW_MACHINE}/${HW_MACHINE_ARCH}/11.2-RELEASE/" diff --git a/usr/local/share/bastille/create.sh b/usr/local/share/bastille/create.sh index 75892e3..59bdcba 100644 --- a/usr/local/share/bastille/create.sh +++ b/usr/local/share/bastille/create.sh @@ -184,6 +184,9 @@ IP="$3" ## verify release case "${RELEASE}" in +11.3-RELEASE|11.3-release) + RELEASE="11.3-RELEASE" + ;; 11.2-RELEASE|11.2-release) RELEASE="11.2-RELEASE" ;;