update: remove fringe `-g' option, `-r dbg-xxx' works as well

This commit is contained in:
Franco Fichtner 2019-02-24 20:15:35 +01:00
parent b8aee69900
commit 3f8b500c09
2 changed files with 4 additions and 10 deletions

View File

@ -24,7 +24,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.Dd January 2, 2019
.Dd February 24, 2019
.Dt OPNSENSE-UPDATE 8
.Os
.Sh NAME
@ -32,7 +32,7 @@
.Nd OPNsense update utility
.Sh SYNOPSIS
.Nm
.Op Fl BbdefgikPpsuVv
.Op Fl BbdefikPpsuVv
.Op Fl a Ar abi
.Op Fl l Ar directory
.Op Fl m Ar mirror_url
@ -91,8 +91,6 @@ Restore the repository defaults.
Empty the cache directory.
.It Fl f
Force an update even when the latest release is already installed.
.It Fl g
Use a debug kernel instead of the release kernel.
.It Fl i
Ignore the signature verification result.
Otherwise, the

View File

@ -127,7 +127,6 @@ DO_UPGRADE=
DO_VERBOSE=
DO_KERNEL=
DO_UNLOCK=
DO_DEBUG=
DO_LOCAL=
DO_LOCK=
DO_FORCE=
@ -139,7 +138,7 @@ DO_SIZE=
DO_TYPE=
DO_ABI=
while getopts a:BbcdefgikLl:Mm:N:n:Ppr:Sst:TUuvV OPT; do
while getopts a:BbcdefikLl:Mm:N:n:Ppr:Sst:TUuvV OPT; do
case ${OPT} in
a)
DO_ABI="-a ${OPTARG}"
@ -159,9 +158,6 @@ while getopts a:BbcdefgikLl:Mm:N:n:Ppr:Sst:TUuvV OPT; do
d)
DO_DEFAULTS="-d"
;;
g)
DO_DEBUG="-dbg"
;;
e)
empty_cache
;;
@ -452,7 +448,7 @@ elif [ -f ${OPENSSL} ]; then
fi
PACKAGESSET=packages-${RELEASE}-${FLAVOUR}-${ARCH}.tar
KERNELSET=kernel${DO_DEBUG}-${RELEASE}-${ARCH}.txz
KERNELSET=kernel-${RELEASE}-${ARCH}.txz
BASESET=base-${RELEASE}-${ARCH}.txz
MIRROR="$(mirror_abi)/sets"