cvs commit: src/usr.sbin/freebsd-update freebsd-update.sh

Colin Percival cperciva at FreeBSD.org
Fri Nov 24 23:30:13 PST 2006


cperciva    2006-11-25 07:30:12 UTC

  FreeBSD src repository

  Modified files:
    usr.sbin/freebsd-update freebsd-update.sh 
  Log:
  Three minor bug fixes:
  1. When downloading metadata files, make sure we only download each
  file once; without this fix, "freebsd-update fetch" will fail the first
  time it is run if there have been no updates yet for the installed
  release.
  2. If the FOO kernel is installed in /boot/kernel instead of /boot/FOO
  and the /boot/FOO directory does not exist, don't try to update
  /boot/FOO.  This is an issue only where an update involves adding a new
  kernel module.
  3. When removing files and directories, operate in reverse
  lexographical order, in order to ensure that files are removed before
  the directory which contains them.
  
  MFC after:      3 days
  
  Revision  Changes    Path
  1.4       +18 -8     src/usr.sbin/freebsd-update/freebsd-update.sh


More information about the cvs-all mailing list