History log of /freebsd-10-stable/usr.sbin/freebsd-update/freebsd-update.sh
Revision Date Author Comments
# 326374 29-Nov-2017 emaste

MFC r326082: freebsd-update: do not duplicate patchlist entries

PR: 221079
Submitted by: Masachika ISHIZUKA
Submitted by: ota@j.email.ne.jp
Reviewed by: cperciva


# 302536 11-Jul-2016 delphij

MFC r302534:

Allow - in distribution names. This is needed for freebsd-update to work
with 11.0+, where the debugging symbols use a new naming scheme for release
distribution files.

Errata candidate.


# 289402 15-Oct-2015 cperciva

MFC r289065: Add --currently-running <release> option to freebsd-update.


# 284940 29-Jun-2015 delphij

MFC r279901 (kmoore):

- Include commas in valid file-name chars freebsd-update will support


# 284939 29-Jun-2015 delphij

MFC r256594 (cperciva):

Speed up `freebsd-update IDS` by using IFS to split fields instead of
forking lots of processes to run echo|cut. In one test this reduced
the CPU time from 980s to 134s and the wallclock time from 806s to
132s.

Submitted by: Oleg Ginzburg


# 284938 29-Jun-2015 delphij

MFC r274630,r274653 (feld):

Add logic for detecting non-persistent filesystems being utilized by
workdir which would break the upgrade process upon reboot.

Currently we check for tmpfs and md.


# 284937 29-Jun-2015 delphij

MFC r276095 (des)

Use "RCS tag" instead of "$FreeBSD$ tag", since svn will obediently
expand the latter.


# 284936 29-Jun-2015 delphij

MFC r284425:

Skip src component if /usr/src is empty.

Submitted by: kczekirda
Reviewed by: cperciva, delphij, nwhitehorn, allanjude


# 282870 13-May-2015 delphij

MFC r279571,281563 (allanjude):

Add a new safetly belt to freebsd-update to prevent a user doing a minor
update (-pX) while having an unfinished major upgrade (9.x to 9.y)
Safetly belt can be disabled with the -F flag

Additionally, add the --not-running-from-cron flag they bypasses the TTY
requirement, and allows freebsd-update to be invoked by orchestration
frameworks, scripts, or otherwise.

PR: 196760
Relnotes: yes
Sponsored by: ScaleEngine Inc.


# 279556 02-Mar-2015 thomas

MFC rev. 278728:
(backup_kernel_finddir, backup_kernel, install_files):
Add missing references to $BASEDIR, in order to allow correct operation
when updating a system mounted at another location than / (e.g. when
updating an alternate Boot Environment).

Reviewed by: cperciva


# 278443 09-Feb-2015 brooks

When upgrading, install the ELF runtime linkers before libraries.

This is required to prevent problems with nss modules that use libthr when
upgrading from releases prior to 10.1.

PR: 197366
Differential Revision: D1790
Reviewed by: cperciva
Sponsored by: DARPA, AFRL


# 276088 22-Dec-2014 des

Strip trailing / characters from paths in "not present" index entries.

Errata: FreeBSD-EN-14:13.freebsd-update
Approved by: so@


# 258723 28-Nov-2013 delphij

MFC r257879:

Fix typo in r256646: We want to generate lists of directories in
INDEX-OLD and INDEX-NEW and compare them, not generate the same
list of directories from INDEX-OLD twice...

Pointy hats to: cperciva & everybody who didn't proofread
EN-13:04 enough
Errata Notice: FreeBSD-EN-13:05.freebsd-update
Approved by: re (gjb)


# 257153 26-Oct-2013 cperciva

MFC r256646, r256767, r257038:
When installing updates, install new directories first and remove old
directories last.

Allow ~ in file names so libtool droppings in contrib don't break updates.
It has happened twice now, and is likely to happen again.

Be more selective when filtering for lib*.so.N files. These are deleted
at the end of the upgrade process, after warning users to upgrade any
3rd party software (e.g., from the ports tree) which might link to the
libraries being removed.

Approved by: re (gjb)
Errata Notice: FreeBSD-EN-13:04.freebsd-update


# 284940 29-Jun-2015 delphij

MFC r279901 (kmoore):

- Include commas in valid file-name chars freebsd-update will support


# 284939 29-Jun-2015 delphij

MFC r256594 (cperciva):

Speed up `freebsd-update IDS` by using IFS to split fields instead of
forking lots of processes to run echo|cut. In one test this reduced
the CPU time from 980s to 134s and the wallclock time from 806s to
132s.

Submitted by: Oleg Ginzburg


# 284938 29-Jun-2015 delphij

MFC r274630,r274653 (feld):

Add logic for detecting non-persistent filesystems being utilized by
workdir which would break the upgrade process upon reboot.

Currently we check for tmpfs and md.


# 284937 29-Jun-2015 delphij

MFC r276095 (des)

Use "RCS tag" instead of "$FreeBSD$ tag", since svn will obediently
expand the latter.


# 284936 29-Jun-2015 delphij

MFC r284425:

Skip src component if /usr/src is empty.

Submitted by: kczekirda
Reviewed by: cperciva, delphij, nwhitehorn, allanjude


# 282870 13-May-2015 delphij

MFC r279571,281563 (allanjude):

Add a new safetly belt to freebsd-update to prevent a user doing a minor
update (-pX) while having an unfinished major upgrade (9.x to 9.y)
Safetly belt can be disabled with the -F flag

Additionally, add the --not-running-from-cron flag they bypasses the TTY
requirement, and allows freebsd-update to be invoked by orchestration
frameworks, scripts, or otherwise.

PR: 196760
Relnotes: yes
Sponsored by: ScaleEngine Inc.


# 279556 02-Mar-2015 thomas

MFC rev. 278728:
(backup_kernel_finddir, backup_kernel, install_files):
Add missing references to $BASEDIR, in order to allow correct operation
when updating a system mounted at another location than / (e.g. when
updating an alternate Boot Environment).

Reviewed by: cperciva


# 278443 09-Feb-2015 brooks

When upgrading, install the ELF runtime linkers before libraries.

This is required to prevent problems with nss modules that use libthr when
upgrading from releases prior to 10.1.

PR: 197366
Differential Revision: D1790
Reviewed by: cperciva
Sponsored by: DARPA, AFRL


# 276088 22-Dec-2014 des

Strip trailing / characters from paths in "not present" index entries.

Errata: FreeBSD-EN-14:13.freebsd-update
Approved by: so@


# 258723 28-Nov-2013 delphij

MFC r257879:

Fix typo in r256646: We want to generate lists of directories in
INDEX-OLD and INDEX-NEW and compare them, not generate the same
list of directories from INDEX-OLD twice...

Pointy hats to: cperciva & everybody who didn't proofread
EN-13:04 enough
Errata Notice: FreeBSD-EN-13:05.freebsd-update
Approved by: re (gjb)


# 257153 26-Oct-2013 cperciva

MFC r256646, r256767, r257038:
When installing updates, install new directories first and remove old
directories last.

Allow ~ in file names so libtool droppings in contrib don't break updates.
It has happened twice now, and is likely to happen again.

Be more selective when filtering for lib*.so.N files. These are deleted
at the end of the upgrade process, after warning users to upgrade any
3rd party software (e.g., from the ports tree) which might link to the
libraries being removed.

Approved by: re (gjb)
Errata Notice: FreeBSD-EN-13:04.freebsd-update