Bug 204914 - freebsd-update installs source too late
Summary: freebsd-update installs source too late
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 10.1-RELEASE
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-bugs (Nobody)
URL:
Keywords: needs-qa
Depends on:
Blocks:
 
Reported: 2015-11-30 13:15 UTC by ari
Modified: 2023-07-29 03:08 UTC (History)
3 users (show)

See Also:


Attachments

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.