]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add a dependency on the kernel package for the runtime package.
authorgjb <gjb@FreeBSD.org>
Wed, 9 Aug 2017 19:16:54 +0000 (19:16 +0000)
committergjb <gjb@FreeBSD.org>
Wed, 9 Aug 2017 19:16:54 +0000 (19:16 +0000)
commit4f9c2661936e718f6df34cb1a61544f8281c6166
tree56aba66dd2c6f86070c154a0914af3c1b90782e1
parentec11c51663a7e5fad983a92ccc17742132801fad
Add a dependency on the kernel package for the runtime package.

The idea here is that, provided upstream pkg(8) maintainers accept
the proposed change, the kernel.ucl will contain a post-install
script causing pkg(8) to emit a message informing to reboot the
system after the kernel is upgraded using 'pkg upgrade', so the
new userland is installed on the running new kernel.  At present,
this functionality does not exist in pkg(8), but will help ensure
the upgrade path follows that from UPDATING.  To work around this
for now, evaluate ASSUME_ALWAYS_YES, and prompt the user if they
wish to proceed if not set to true.

Since there is a kernel dependency, and a non-GENERIC kernel may
be in use, update Makefile.inc1 to replace '%KERNCONF%' in the
runtime.ucl with the first-built kernel set either via command line
or in make.conf(5).

MFC after: 5 days
Sponsored by: The FreeBSD Foundation
Makefile.inc1
release/packages/kernel.ucl
release/packages/runtime.ucl