Page MenuHomeFreeBSD

execute kldxref via a keyword to ensure when it is run and add to plist via PLIST_FILES
ClosedPublic

Authored by bapt on Dec 25 2014, 2:49 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Oct 24, 6:41 AM
Unknown Object (File)
Tue, Oct 7, 7:25 AM
Unknown Object (File)
Sep 18 2025, 4:36 PM
Unknown Object (File)
Sep 15 2025, 10:42 PM
Unknown Object (File)
Sep 9 2025, 5:00 PM
Unknown Object (File)
Sep 5 2025, 4:41 AM
Unknown Object (File)
Aug 8 2025, 8:55 PM
Unknown Object (File)
Jul 29 2025, 12:42 AM
Subscribers

Diff Detail

Repository
rP FreeBSD ports repository
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

bapt retitled this revision from to execute kldxref via a keyword to ensure when it is run and add to plist via PLIST_FILES.
bapt updated this object.
bapt edited the test plan for this revision. (Show Details)
bapt added reviewers: portmgr, rene.
antoine added inline comments.
Keywords/kld.ucl
19

quote missing?

20

Is this still still necessary with autodir removal?

Right now I have those warning on uninstall:

rtc-2004.02.24.1_8.log:
pkg-static: unlinkat(usr/local/modules/): No such file or directory

dahdi-kmod26-2.6.1.r10747.log:
pkg-static: unlinkat(usr/local/lib/dahdi/): No such file or directory

aoe-1.2.0_2.log:
pkg-static: unlinkat(usr/local/lib/aoe/): No such file or directory

iet-1.4.20.2_9.log:
pkg-static: unlinkat(usr/local/modules/): No such file or directory

bapt edited edge metadata.

Updating D1377: execute kldxref via a keyword to ensure when it is run and add to plist via

PLIST_FILES

Only use rmdir -p when kmoddir is outside of prefix and different from /boot/modules

Updating D1377: execute kldxref via a keyword to ensure when it is run and add to plist via

PLIST_FILES

emulators/rtc builds fine here in poudriere 3.1.1 on a 10.0-amd64 guest using the latest patch. Maybe I should check all ports using kmod?

I guess there is no way in kld.ucl to factor out the code to determine kmoddir and call kldxref ?

rene edited edge metadata.
bapt added a reviewer: bapt.
This revision is now accepted and ready to land.Dec 26 2014, 12:40 PM
bapt updated this revision to Diff 2872.

Closed by commit rP375621 (authored by @bapt).