Re: [OS-BUILD PATCHv6 0/8] redhat: Add realtime and arm64 64k-page-size build and packaging logic

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

 



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@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, report it: https://pagure.io/fedora-infrastructure/new_issue




[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