On 7/26/21 11:27 PM, Sampson Fung wrote:
Got below error during git clone-
2021-07-27 11:18:13
$ git clone --branch f34
https://src.fedoraproject.org/rpms/kernel.git
Cloning into 'kernel'...
As mentioned, this step was only to grab/ensure the builddeps. You don't NEED the
whole tree.
if you can't pull the tree, pull the BuildRequires directly from the spec
https://src.fedoraproject.org/rpms/kernel/blob/rawhide/f/kernel.spec#_563
and install them manually.
or, assuming you're running a close-to-current kernel, this should do it as well
dnf builddep kernel
if anything's missing @ build time, your build will tell you.