Closed markVnl closed 4 years ago
1. enable [centos-kernel] somehow; at point releases it may happen we get a kernel newer as the rest of the root-fs. This is not problematic
This "somehow" turns out to be adding a template sippet for /etc/nethserver/eorepo.conf
to add centos-kernel to the always enabled repos list.
QA
yum install nethserver-arm-extra-config
enabled [centos-kernel] repo by editing/etc/yum.repos.d/CentOS-armhfp-kernel.repo
signal-event software-repos-save
check result:
cat /etc/nethserver/eorepo.conf
# ================= DO NOT MODIFY THIS FILE =================
#
# Manual changes will be lost when this file is regenerated.
#
# Please read the developer's guide, which is available
# at NethServer official site: https://www.nethserver.org
#
#
#
# This file is read by software-repos-save event
#
# Listed repositories will be enabled, everything else will be disabled
#
# Blank lines and lines beginning with "#" are ignored
#
ce-base
ce-updates
ce-extras
ce-sclo-rh
ce-sclo-sclo
epel
nethserver-base
nethserver-updates
nethforge
centos-kernel
cat /etc/yum.repos.d/CentOS-armhfp-kernel.repo
[centos-kernel]
name=CentOS LTS Kernels for $basearch
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=kernel-kernel-$kvariant&infra=$infra
#baseurl=http://mirror.centos.org/altarch/7/kernel/$basearch/kernel-$kvariant
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-AltArch-Arm32
OK:
package nethserver-arm-extra-config-1.0.0-1.ns7.armv7hl.rpm
released in updates
package nethserver-arm-extra-config-1.0.0-1.ns7.aarch64.rpm
released in updates
(ping #38)
the kernels for arm are living in different (centos) repositories
RPI(4): http://mirror.centos.org/altarch/7/kernel/armhfp/kernel-rpi2/ and http://mirror.centos.org/altarch/7/kernel/aarch64/kernel-rpi2/ generic http://mirror.centos.org/altarch/7/kernel/armhfp/kernel-generic/ and http://mirror.centos.org/altarch/7/kernel/aarch64/kernel-generic/
(nethserver) system-init disables the default CentOS-xxx.repo entry's
Meaning the kernel is never updated.
Possible solutions:
or
cc/ @DavidePrincipi
EDIT: Same applies to aarch64