Posts

Showing posts with the label Build

How to build a vanilla kernel RPM package Fedora 37

Image
I currently have an Intel Arc A770 LE 16GB and out of the box Fedora 37 does not support it. There are some workarounds but the best option (at the time of writing) is to use kernel 6.2.7 as that has native Intel Arc support. This is a quick guide I made for myself, it will build a linux-6.2.7 *.rpm package in Fedora 37. As with anything in Linux, there is usually more than one way to do things or a better way to do something. If you have a suggestion leave a comment below. Open a terminal  sudo dnf install ncurses-devel flex bison rpm-build elfutils-libelf-devel rpmdevtools openssl-devel dwarves perl This should install required packages to build and compile the kernel. rpmdev-setuptree This will setup your home directory for building the *.rpm package. cd ~/rpmbuild/SOURCES/ We are going to go into the SOURCES directory in our rpmbuild tree. wget https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.2.7.tar.xz This will download linux-6.2.7.tar.xz into the SOURCES directory. tar...