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, Jul 15, 2:03 AM
Unknown Object (File)
Tue, Jul 9, 6:07 PM
Unknown Object (File)
Tue, Jul 9, 5:01 PM
Unknown Object (File)
Mon, Jul 8, 4:20 AM
Unknown Object (File)
Sun, Jul 7, 3:01 AM
Unknown Object (File)
Wed, Jul 3, 10:02 AM
Unknown Object (File)
Wed, Jul 3, 6:10 AM
Unknown Object (File)
Jun 14 2024, 1:10 PM
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).