[elrepo] kernel-ml build instructions

Alan Bartlett ajb at elrepo.org
Wed Aug 29 15:46:09 EDT 2018


On 29 August 2018 at 02:08, Andrew Gurinovich <altmind at gmail.com> wrote:
> Hello.
> I would like to rebuild the whole elrepo with custom compiler flags for
> personal use.
> Can you please suggest, how the rpms are being build right now?

I can only speak for the kernel (kernel-lt & kernel-ml) build process.
Mock is used to provide a clean, controlled, chroot environment for
the native OS. That is RHEL6 and RHEL7.

> When I'm trying to rpmbuild from spec files, there are no sources in
> /home/user/rpmbuild
> When I'm trying to build kernel-ml, there is no config file.

Install the .nosrc.rpm package into your private rpmbuild directory
structure and drop the relevant linux-4.X.Y.tar.xz file (obtained from
upstream, kernel.org) into you SOURCES/ directory.

Alan.


More information about the elrepo mailing list