From 28eecd0a19bd7b8c52f4ad50b4ea1451ceb0dba2 Mon Sep 17 00:00:00 2001 From: espie Date: Sun, 5 Jan 2014 10:29:16 +0000 Subject: [PATCH] document -DFW_UPDATE/@option firmware --- usr.sbin/pkg_add/package.5 | 9 +++++++-- usr.sbin/pkg_add/pkg_add.1 | 8 ++++++-- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/usr.sbin/pkg_add/package.5 b/usr.sbin/pkg_add/package.5 index c366d5f0cc9..1803bb4e67c 100644 --- a/usr.sbin/pkg_add/package.5 +++ b/usr.sbin/pkg_add/package.5 @@ -1,4 +1,4 @@ -.\" $OpenBSD: package.5,v 1.16 2014/01/04 00:14:08 espie Exp $ +.\" $OpenBSD: package.5,v 1.17 2014/01/05 10:29:16 espie Exp $ .\" Copyright (c) 2005-2006 Marc Espie .\" .\" Permission to use, copy, modify, and distribute this software for any @@ -12,7 +12,7 @@ .\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -.Dd $Mdocdate: January 4 2014 $ +.Dd $Mdocdate: January 5 2014 $ .Dt PACKAGE 5 .Os .Sh NAME @@ -150,6 +150,11 @@ will derive this field from the package file name. .It Cm @option Ar name Some options are automatically inserted by the package tools: .Bl -tag -width indent +.It Ar firmware +Set by +.Xr fw_update 1 +to trigger firmware-specific handling. +In particular, firmwares are hidden from normal updates. .It Ar manual-installation Record that a package has been explicitly installed by the user, and not as a result of a dependency look-up. diff --git a/usr.sbin/pkg_add/pkg_add.1 b/usr.sbin/pkg_add/pkg_add.1 index 4d5e2f152ad..25afd1263c5 100644 --- a/usr.sbin/pkg_add/pkg_add.1 +++ b/usr.sbin/pkg_add/pkg_add.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: pkg_add.1,v 1.116 2013/04/30 18:33:30 espie Exp $ +.\" $OpenBSD: pkg_add.1,v 1.117 2014/01/05 10:29:16 espie Exp $ .\" .\" Documentation and design originally from FreeBSD. All the code has .\" been rewritten since. We keep the documentation's notice: @@ -15,7 +15,7 @@ .\" Jordan K. Hubbard .\" .\" -.Dd $Mdocdate: April 30 2013 $ +.Dd $Mdocdate: January 5 2014 $ .Dt PKG_ADD 1 .Os .Sh NAME @@ -275,6 +275,10 @@ and tie the entries together to avoid extracting files needlessly. disables that behavior. .It Ar downgrade don't filter out package versions older than what's currently installed. +.It D Ar FW_UPDATE +set by +.Xr fw_update 1 +to separate firmwares from normal packages. .It Ar installed in update mode, reinstall an existing package with the same signature. .It Ar libdepends -- 2.20.1