prep for 20.7
This commit is contained in:
parent
3298b03636
commit
b7b03b52b2
|
@ -36,7 +36,7 @@ root certificates -> HTTPS -> OPNsense package fingerprints.
|
|||
What it will also do is turn a supported stock FreeBSD release into
|
||||
an OPNsense installation. Both UFS and ZFS installations are supported.
|
||||
|
||||
The usage is simple, starting with a FreeBSD 11.2-RELEASE image:
|
||||
The usage is simple, starting with a FreeBSD 12.1-RELEASE image:
|
||||
|
||||
# pkg install ca_root_nss
|
||||
# fetch https://raw.githubusercontent.com/opnsense/update/master/bootstrap/opnsense-bootstrap.sh
|
||||
|
|
|
@ -31,7 +31,7 @@ URL="https://github.com/opnsense/core/archive"
|
|||
WORKDIR="/tmp/opnsense-bootstrap"
|
||||
FLAVOUR="OpenSSL"
|
||||
TYPE="opnsense"
|
||||
RELEASE="20.1"
|
||||
RELEASE="20.7"
|
||||
|
||||
DO_ABI="-a ${RELEASE}"
|
||||
DO_BARE=
|
||||
|
@ -90,15 +90,14 @@ if [ "${FBSDNAME}" != "FreeBSD" ]; then
|
|||
fi
|
||||
|
||||
FBSDARCH=$(uname -p)
|
||||
if [ "${FBSDARCH}" != "i386" -a \
|
||||
"${FBSDARCH}" != "amd64" ]; then
|
||||
echo "Must be i386 or amd64" >&2
|
||||
if [ "${FBSDARCH}" != "amd64" ]; then
|
||||
echo "Must be amd64 architecture." >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
FBSDVER=$(uname -r | colrm 4)
|
||||
if [ "${FBSDVER}" != "11." ]; then
|
||||
echo "Must be a FreeBSD 11 release." >&2
|
||||
if [ "${FBSDVER}" != "12." ]; then
|
||||
echo "Must be a FreeBSD 12 release." >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
|
|
@ -42,7 +42,7 @@ KERNELDIR="/boot/kernel"
|
|||
TEE="/usr/bin/tee -a"
|
||||
PRODUCT="OPNsense"
|
||||
PKG="pkg-static"
|
||||
VERSION="20.1.7"
|
||||
VERSION="20.7"
|
||||
|
||||
ORIGIN="/usr/local/etc/pkg/repos/${PRODUCT}.conf"
|
||||
PENDINGDIR="${WORKPREFIX}/.sets.pending"
|
||||
|
|
Loading…
Reference in New Issue