From: Jan Stancek on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2403#note_1419548877

@prarit fixed previous "files listed twice" warnings with ARK commit
97f16a97abaa4e0dde7377fd8f96915bdf777373 - so you could do the same for rt-
kvm.

I was thinking about dropping the directory from module list file to avoid
duplicates (and then revert 97f16a97abaa4e0dde7377fd8f96915bdf777373 - but
that's outside of this MR):
```
diff --git a/redhat/mod-denylist.sh b/redhat/mod-denylist.sh
index 4585e907a7c5..c67056935149 100755
--- a/redhat/mod-denylist.sh
+++ b/redhat/mod-denylist.sh
@@ -156,7 +156,8 @@ if [[ -n ${floppylist[0]} && -f ${floppylist[0]} ]]; then
 fi

 # avoid an empty kernel-extra package
-if [ ! -s "$RpmDir/$ListName" ]; then
+# add $OverrideDir directory to list only if there are no modules in this
directory
+if [ ! grep -q "^$ModDir/$OverrideDir" "$RpmDir/$ListName" ]; then
     echo "$ModDir/$OverrideDir" >> "$RpmDir/$ListName"
 fi
```
_______________________________________________
kernel mailing list -- kernel@lists.fedoraproject.org
To unsubscribe send an email to kernel-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to