From: Prarit Bhargava on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1900#note_1013253944 >'sudo dnf builddep kernel' should install the list of required packages without much hassle. Yep, that works but there's a subtle issue here. This command will install the dependencies for the kernel version that is running on the system, not the local git repository's dependencies. ie) if you run this command on RHEL8, the result would be the dependencies for the RHEL8 kernel not kernel-ark. In my prarit rpm I am careful to install a yum config file for the targeted kernel, and then do ``` yum deplist --enablerepo latest-Base-OS-Source-\${distnum} --srpm kernel | awk '/provider:/ {print \$2}' | grep -v ".src" | grep \$(uname -m) | sort -u | xargs -r yum \${yumargs} -y install ``` Prolly (horribly?) over-engineered though; I'll look into just using builddep. _______________________________________________ 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