Bug 204914 - freebsd-update installs source too late
Summary: freebsd-update installs source too late
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 10.1-RELEASE
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-bugs (Nobody)
Depends on:
Reported: 2015-11-30 13:15 UTC by ari
Modified: 2016-12-20 21:54 UTC (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description ari 2015-11-30 13:15:59 UTC
After running

# freebsd-update upgrade -r 10.2

from 10.1 with a custom kernel, I get this message

WARNING: This system is running a "smash" kernel, which is not a
kernel configuration distributed as part of FreeBSD 10.1-RELEASE.
This kernel will not be updated: you MUST update the kernel manually
before running "/usr/sbin/freebsd-update install".

This message is wrong. Because src/src is one of the components installed by the  "freebsd-update install", you need to build and install the kernel manually AFTER running "freebsd-update install".

However this is still not ideal, because by then you've installed the complete userland. Instead, freebsd-update should install src/src in the same first phase of install as it normally would install the kernel.