FreeBSD Bugzilla – Attachment 206735 Details for
Bug 239997
freebsd-update: Fix detection of src component
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to introduce new environment variable SKIPISFETCHEDCHECK
patch-freebsd-update-skipisfetchedcheck.txt (text/plain), 1.28 KB, created by
Michael Gmelin
on 2019-08-20 16:26:08 UTC
(
hide
)
Description:
Patch to introduce new environment variable SKIPISFETCHEDCHECK
Filename:
MIME Type:
Creator:
Michael Gmelin
Created:
2019-08-20 16:26:08 UTC
Size:
1.28 KB
patch
obsolete
>Index: usr.sbin/freebsd-update/freebsd-update.8 >=================================================================== >--- usr.sbin/freebsd-update/freebsd-update.8 (revision 351250) >+++ usr.sbin/freebsd-update/freebsd-update.8 (working copy) >@@ -25,7 +25,7 @@ > .\" > .\" $FreeBSD$ > .\" >-.Dd June 14, 2017 >+.Dd August 20, 2019 > .Dt FREEBSD-UPDATE 8 > .Os > .Sh NAME >@@ -183,6 +183,13 @@ > If you intend to use this command for intrusion-detection > purposes, make sure you boot from a secure disk (e.g., a CD). > .El >+.Sh ENVIRONMENT >+When >+.Ev SKIPISFETCHEDCHECK >+is set to a non-empty value, >+.Nm >+will not check if a fetch phase happened in case no >+updates are available to install. > .Sh FILES > .Bl -tag -width "/etc/freebsd-update.conf" > .It Pa /etc/freebsd-update.conf >Index: usr.sbin/freebsd-update/freebsd-update.sh >=================================================================== >--- usr.sbin/freebsd-update/freebsd-update.sh (revision 351250) >+++ usr.sbin/freebsd-update/freebsd-update.sh (working copy) >@@ -817,7 +817,7 @@ > # Check that we have updates ready to install > if ! [ -L ${BDHASH}-install ]; then > echo "No updates are available to install." >- if [ $ISFETCHED -eq 0 ]; then >+ if [ $ISFETCHED -eq 0 ] && [ -z "$SKIPISFETCHEDCHECK" ]; then > echo "Run '$0 fetch' first." > exit 1 > fi
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 239997
:
206735