Date: Mon, 19 Aug 2024 01:26:22 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 237290] [PATCH] build(7): PORTS_MODULES does not build in parallel Message-ID: <bug-237290-227-Ko3Pcu53mt@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-237290-227@https.bugs.freebsd.org/bugzilla/> References: <bug-237290-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
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.help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-237290-227-Ko3Pcu53mt>
