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)
Mon, Nov 4, 2:42 AM
Unknown Object (File)
Mon, Nov 4, 2:42 AM
Unknown Object (File)
Mon, Nov 4, 2:42 AM
Unknown Object (File)
Mon, Nov 4, 2:35 AM
Unknown Object (File)
Mon, Nov 4, 2:35 AM
Unknown Object (File)
Mon, Nov 4, 2:24 AM
Unknown Object (File)
Mon, Oct 21, 12:23 PM
Unknown Object (File)
Mon, Oct 21, 9:23 AM
Subscribers

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Lint Skipped
Unit
Tests Skipped

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 โ†—(On Diff #2862)

quote missing?

20 โ†—(On Diff #2862)

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).