[Arm-dev] group install "Development Tools" fails

Wed Jan 13 09:32:17 UTC 2016
Fabian Arrotin <arrfab at centos.org>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 13/01/16 02:14, Jim Profit wrote:
> Hi all,
> 
> I just created a SD card for a Raspberry Pi2 using the image found
> here: http://mirror.centos.org/altarch/7/isos/armhfp/
> 
> I boot with no problem and start by updating this minimal
> installation:
> 
> yum update --> ok
> 
> Then I install some packages:
> 
> yum install nfstest --> ok yum install perl --> ok
> 
> yum group install "Development Tools" ... Error: Package:
> systemtap-devel-2.8-10.el7.armv7hl (base) Requires: kernel-devel
> 
> I cannot find the package kernel-devel
> 
> Regards -- JeF
> 

Yeah, we need to be "creative" and find a way to find an easy fix for
that.
Actually, there is no kernel package in the Base/OS repo, as we needed
to ensure that we could use different kernel repositories for specific
boards.
For example, the rpi2 has a dedicated kernel repo :
http://mirror.centos.org/altarch/7/kernel/armhfp/kernel-rpi2/

So adding the following file would then work for you :

cat /etc/yum.repos.d/CentOS-rpi2-kernel.repo
# CentOS-rpi2-kernel.repo

[rpi2-kernel]
name=rpi2 kernel repo for CentOS 7 userland
baseurl=http://mirror.centos.org/altarch/7/kernel/armhfp/kernel-rpi2/
gpgcheck=1
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-AltArch-Arm32


Cheers,

- -- 
Fabian Arrotin
The CentOS Project | http://www.centos.org
gpg key: 56BEC54E | twitter: @arrfab
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)

iEYEARECAAYFAlaWGaEACgkQnVkHo1a+xU5RbgCdERwpYgzVE7n4SGZgpa7e9BRs
bXYAn3BXxyYoSIu9IAvhjG1RhRQMmMgb
=HCZ3
-----END PGP SIGNATURE-----