331308 |
21-Mar-2018 |
kevans |
MFC r330929: pkgbase: Fix post-install script for kernel packages
kernel.ucl uses a hardcoded boot/kernel for kldxref, which is the incorrect directory when we're installing extra kernels that aren't the "default" kernel (placed at boot/kernel).
Fix this by instead using a new %KERNELDIR% that we now replace in Makefile.inc1 with "kernel" for the default kernel and "kernel.${_kernel}" for these extra kernels so that, e.g. /boot/kernel.SHIVA, will get properly kldxref'd upon update and avoid outdated linker.hints. |
299291 |
10-May-2016 |
gjb |
Add (commented) 'vital' flag to the runtime packages. Support for it is expected in pkg-1.8.0, which will cause 'pkg del -afy' to not destroy a system by forcefully removing everything.
As there are valid use cases for doing such (test jails, for example), it will be overrideable.
In addition, ensure /dev and /tmp exist, as /dev is not created by default currently, and pkg(8) requires /tmp to exist, which is also not created by default.
This needs to be moved to the clibs package, since runtime depends on that package, however I need to first verify that it will work as it is expected.
Sponsored by: The FreeBSD Foundation
|
298107 |
16-Apr-2016 |
gjb |
Merge the projects/release-pkg branch to head.
This allows packaging the base system with pkg(8), including but not limited to providing the ability to provide upstream binary update possibilities for non-tier-1 architectures.
This merge is a requirement of the 11.0-RELEASE, and as such, thank you to everyone that has tested the project branch.
Documentation in build(7) etc. is still somewhat sparse, but updates to those parts will follow.
Sponsored by: The FreeBSD Foundation
|
295337 |
05-Feb-2016 |
gjb |
Remove libc, librtld_db, libthr packages, and further increase the constraints on what needs to be installed in a specific to maintain consistency during upgrades.
Create a new clibs package containing libraries that are needed as a bare minimum for consistency.
With much help and input from: kib Sponsored by: The FreeBSD Foundation
|
295280 |
04-Feb-2016 |
gjb |
Add package files for libc, libedit, librtld_db, and libthr.
libedit is needed for sh(1), which if updated before runtime, can cause undesirable behavior.
For the rest, the installation order needs to be:
1) librtld 2) libc 3) libthr
The dependency listing and shilbs_required entries ensure this behavior.
Sponsored by: The FreeBSD Foundation
|
295262 |
04-Feb-2016 |
gjb |
Rework the way <packagename>.ucl files are generated. One of the major pain points with how this was implemented is the requirement of in-tree, hard-coded <name>.ucl, as well as <name>-<suffix>.ucl where <suffix> can be lib32, profile, development, debug, or any combination of the four.
This created significant overhead when adding new packages and any of the files in any of the combinations were missing.
Instead of test(1)-ing if the <packagename>.ucl file exists, hand off to a script to figure out what the final ucl file name should be before invoking pkg(8).
The default behavior is 'template.ucl' is used as a fallback.
This affects only the userland packages, as the kernel code is already smart enough to handle these variations.
Sponsored by: The FreeBSD Foundation
|