[Bug 228592] freebsd-update kernel update

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue May 29 15:23:02 UTC 2018


            Bug ID: 228592
           Summary: freebsd-update kernel update
           Product: Base System
           Version: 11.1-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs at FreeBSD.org
          Reporter: vivek at khera.org

When upgrading a system to a new version of FreeBSD such as this:

  freebsd-update upgrade -r 11.2-BETA3
  freebsd-update install
  # reboot to get new kernel
  freebsd-update install
  # reboot to new userland
  freebsd-update install

When one uses a custom kernel, the first "install" does nothing, despite saying
it installed a new kernel. I propose that it should update the src tree as
well, if it is found. This will permit me to build and install my new kernel,
then continue.

As it is now, I have to run "install" a second time (no reboot required) to get
it to update the src tree, but that also installs all of user land. I then
install my new kernel, reboot, and run the final "install".  This has been
lucky enough to work for me for the upgrade from 11.1 to 11.2-BETA1 and then to
11.2-BETA3, but I don't really like counting on luck for things to work.

TL;DR: when upgrading version, the first "install" should update the src tree
as well as attempting to upgrade the kernel.

You are receiving this mail because:
You are the assignee for the bug.

More information about the freebsd-bugs mailing list