cvs commit: ports/net Makefile ports/net/bwi-firmware-kmod
Makefile distinfo pkg-descr pkg-plist
itetcu at FreeBSD.org
Sun May 17 08:09:04 UTC 2009
On Sun, 17 May 2009 01:52:10 -0500
Scot Hetzel <swhetzel at gmail.com> wrote:
> On Sun, May 17, 2009 at 12:47 AM, Ion-Mihai Tetcu
> <itetcu at freebsd.org> wrote:
> > On Sat, 16 May 2009 18:15:52 -0700
> > Doug Barton <dougb at FreeBSD.org> wrote:
> >> Scot Hetzel wrote:
> >> > This shouldn't be flaged as an mtree error. The reason that
> >> > linker.hints was left behind is due to this file is generated by
> >> > kldxref. The port/package runs kldxref during the install of the
> >> > firmware module to update the existing or create a linker.hints
> >> > file, and when the package is removed, it runs kldxref again to
> >> > clean up the linker.hints file to only contain the modules
> >> > in /boot/modules. It has no way to know if it is safe to remove
> >> > this file.
> >> Would it be safe to remove if it's empty?
> > Doh! I don't see why not. :-)
> I performed a test where only bwi_v3_ucode.ko was installed into a
> directory, ran kldxref on the directory and it created a 88 byte
> linker.hints file. I then removed the kernel module from the
> directory, ran kldxref. Kldxref removed the empty linker.hints file.
> So it looks like all kernel module ports should have this code added
> to their pkg-plists:
> @exec kldxref %%KMODDIR%%
> @unexec kldxref %%KMODDIR%%
> The bwi-firmware-kmod port had these changes applied on 5/16, and QAT
> shouldn't be reporting this error any more.
I'll commit to the rest of them if maintainers don't fix them
themselves in a few days.
IOnut - Un^d^dregistered ;) FreeBSD "user"
"Intellectual Property" is nowhere near as valuable as "Intellect"
FreeBSD committer -> itetcu at FreeBSD.org, PGP Key ID 057E9F8B493A297B
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20090517/dfcb9186/signature.pgp
More information about the freebsd-ports