[Bug 237290] [PATCH] build(7): PORTS_MODULES does not build in parallel
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 19 Aug 2024 01:26:22 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237290 Tatsuki Makino <tatsuki_makino@hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #234307|0 |1 is obsolete| | --- Comment #19 from Tatsuki Makino <tatsuki_makino@hotmail.com> --- Created attachment 252906 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=252906&action=edit patch for stable/14 I don't know how to do it best, but I decided to apply this to stable/14. And the command to generate the PORTS_MODULES is as follows. # generate from installed files. find -s /boot/modules/ -name '*.ko' -exec pkg which -q {} \; | sort -u | xargs -- sh -c 'for i ; do { pkg query %o "$i" ; pkg query "%o@%At@%Av" "$i" | sed -ne "/@flavor@/{s,@flavor@,@,;p;};" ; } | tail -n 1 ; done' sh # generate from loaded modules kldstat | sed -e '1d; s,^[[:space:]]*,,;' | cut -f 5 -w | xargs -J % -n 1 -- find /boot/ -name % | xargs -- pkg which -q | sort -u | xargs -- sh -c 'for i ; do { pkg query %o "$i" ; pkg query "%o@%At@%Av" "$i" | sed -ne "/@flavor@/{s,@flavor@,@,;p;};" ; } | tail -n 1 ; done' sh -- You are receiving this mail because: You are the assignee for the bug.