]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC 196392:
authorsimon <simon@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 19 Aug 2009 21:01:32 +0000 (21:01 +0000)
committersimon <simon@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 19 Aug 2009 21:01:32 +0000 (21:01 +0000)
commit5860363832e3a4644317cbe64f666e16dab5a970
treed7171fcd6ab8a77a46ca5d4e0e8ea9a3440d4f30
parent85d034fad70438bfb1fece872fbd3ec8532b0e2c
MFC 196392:

  Add support for backing up the old kernel when installing a new kernel
  using freebsd-update.  This applies to using freebsd-update in "upgrade
  mode" and normal freebsd-update on a security branch.

  The backup kernel will be written to /boot/kernel.old, if the directory
  does not exist, or the directory was created by freebsd-update in a
  previous backup.  Otherwise freebsd-update will generate a new directory
  name for use by the backup.  By default symbol files are not backed up
  to save diskspace and avoid filling up the root partition.

  This feature is fully configurable in the freebsd-update config file,
  but defaults to enabled.

  Reviewed by: cperciva

Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/stable/8@196393 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
etc/freebsd-update.conf
share/man/man5/freebsd-update.conf.5
usr.sbin/freebsd-update/freebsd-update.sh