[Bug 221750] kernel packages: incorrect post-install script (kldxref) when packaging multiple kernels

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Aug 23 21:03:16 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221750

            Bug ID: 221750
           Summary: kernel packages: incorrect post-install script
                    (kldxref) when packaging multiple kernels
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: sylvain at sylvaingarrigues.com

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list