Re: [OS-BUILD PATCH] Keep sctp and l2tp modules in modules-extra

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Don Zickus on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1117#note_570181632

So I hacked up a script that can catch this.  The trick is where to run
this.  I think a self-test area is perfect, but the current self-tests
is a little heavy and only makes sense as a post-commit cron job.  Maybe
it should be called a 'garbage collection' cron job.

Anyway, the commands I used are:
time find . -name "Makefile*" -exec grep '\.o' {} \; > /tmp/don.list (3
seconds)
for i in `cat redhat/rhel_files/*.list.rhel
redhat/fedora_files/*.list.fedora`;do mod="$(echo $i | sed 's/ko$/o/')";
grep -q $mod /tmp/don.list || echo "Bad module: $i"; done|wc -l

which found 78 modules.  39 for rhel and 39 for fedora.

That would accomplish your goal.  Just need to figure out where to plug
it in.
_______________________________________________
kernel mailing list -- kernel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/kernel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [USB]     [Asterisk PBX]

  Powered by Linux