Bug 221750 - kernel packages: incorrect post-install script (kldxref) when packaging multiple kernels
Summary: kernel packages: incorrect post-install script (kldxref) when packaging multi...
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-pkgbase mailing list
URL:
Keywords: pkgbase
Depends on:
Blocks:
 
Reported: 2017-08-23 21:03 UTC by Sylvain Garrigues
Modified: 2017-09-15 02:44 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 Sylvain Garrigues 2017-08-23 21:03:16 UTC
Hello, 

I build and package my kernels with:
KERNCONF=KERNEL1 KERNEL2
NO_INSTALLEXTRAKERNELS=no

I do get both packages.

However, for KERNEL2, files get installed in /boot/kernel.KERNEL2 but the post-install script is "/usr/sbin/kldxref ${PKG_ROOTDIR}/boot/kernel"

I think it should be /usr/sbin/kldxref ${PKG_ROOTDIR}/boot/kernel.KERNEL2 in that case.
Comment 1 Sylvain Garrigues 2017-08-23 21:08:15 UTC
Or files get installed in /boot/kernel.