[elrepo] mock.cfg to use kernel-lt?

John Pilkington johnpilk222 at gmail.com
Wed Dec 2 09:25:38 EST 2020


On 02/12/2020 00:13, Akemi Yagi wrote:
> On Tue, Dec 1, 2020 at 3:22 PM Trevor Hemsley <themsley at voiceflex.com> wrote:
>>
>> On 01/12/2020 23:20, Phil Perry wrote:
>>
>> On 01/12/2020 19:18, John Pilkington wrote:
>>> Hi: For several years I have run MythTV in SL7, using kernel-lt because
>>> the standard el7 kernel lacks full support for some DVB hardware.  I
>>> have built MythTV rpms (currently in F32) with a script that used the
>>> F32 version of epel-7-x86_64-rpmfusion_free.cfg.  Recent commits in
>>> MythTV broke that, until a link was added to the centos-kernel repo,
>>> then yielding 5.4.xx.  Now those packages are not being found, and the
>>> builds fail again with missing references in V4L2.  It looks as if the
>>> centos packages were built by the centos altarch group, which focuses
>>> mainly on other architectures.
>>>
>>> So...  it might be better to try building with a mock.cfg that would use
>>> an elrepo kernel.  ISTR that I once assembled one for myself, but is
>>> there now one that already exists?
>>>
>>> Thanks,
>>>
>>> John P
>>>
>>> https://github.com/garybuhrmaster/packaging/commit/9e517ff14be72a2e52f897e3d109eb8af4845f89
>>
>> Hi John,
>>
>> No idea if it will help / solve your build issue, but you could try
>> adding our kernel repo to your config:
>>
>> [elrepo-kernel]
>> name=ELRepo.org Community Enterprise Linux Kernel Repository - el7
>> baseurl=http://elrepo.org/linux/kernel/el7/$basearch/
>> mirrorlist=http://mirrors.elrepo.org/mirrors-elrepo-kernel.el7
>> enabled=1
>> gpgcheck=1
>> gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-elrepo.org
>>
>> Phil
>>
>> I also asked about the CentOS kernel and I am told that that one should be coming out again for CentO 7 RSN. It was dropped at 7.9 and no-one noticed....
>>
>> Trevor
> 
> Hi John,
> 
> If you'd like to switch to using elrepo's kernel, the cfg file offered
> by Phil should work. But if you'd rather keep using the CentOS altarch
> kernel, then it's best to ask on the centos-devel mailing list. This
> is because the maintainer of the altarch kernel, @pgreco, is not on
> this list.
> 
> Akemi

Thank you all.  I "included" a file with Phil's offering ( topped and 
tailed with config_opts ['yum.conf'] += """  and  """ ) in the existing 
.cfg file, and the build ran to completion using kernel-ml-devel-5.9.11

Installation found no problems and the system is running now.

John



More information about the elrepo mailing list