!658 Sync master from openEuler-22.03-LTS-Next to tag 5.10.0-98.0.0

From: @zhengzengkai 
Reviewed-by: @xiexiuqi 
Signed-off-by: @xiexiuqi
This commit is contained in:
openeuler-ci-bot 2022-06-21 14:58:49 +00:00 committed by Gitee
commit 72f55482ee
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
7 changed files with 13510 additions and 17688 deletions

File diff suppressed because it is too large Load Diff

2
SOURCE
View File

@ -1 +1 @@
5.10.0-24.0.0
5.10.0-98.0.0

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

BIN
pubring.gpg Normal file

Binary file not shown.

View File

@ -2,13 +2,13 @@
%global KernelVer %{version}-%{release}.raspi.%{_target_cpu}
%global hulkrelease 15.0.0
%global hulkrelease 95.0.0
%global debug_package %{nil}
Name: raspberrypi-kernel
Version: 5.10.0
Release: %{hulkrelease}.3
Release: %{hulkrelease}.8
Summary: Linux Kernel
License: GPLv2
URL: http://www.kernel.org/
@ -88,7 +88,7 @@ install -m 644 arch/%{Arch}/boot/dts/overlays/README $RPM_BUILD_ROOT/boot/dtb-%{
%postun
version_old=0
if [ "$1" == "0" ]; then
version_old=old
echo "warning: something may go wrong when starting this device next time after uninstalling raspberrypi-kernel."
else
version_tmp=0
name_len=`echo -n %{name}-|wc -c`
@ -109,7 +109,7 @@ else
fi
fi
if [ "$version_old" != "0" ]; then
if [ -f /boot/vmlinuz-$version_old ] && [ -d /boot/dtb-$version_old ] && ( [ "$version_old" == "old" ] || [ -d /lib/modules/$version_old ] ); then
if [ -f /boot/vmlinuz-$version_old ] && [ -d /boot/dtb-$version_old ] && [ -d /lib/modules/$version_old ]; then
ls /boot/dtb-$version_old/overlays/*.dtbo > /dev/null 2>&1
if [ "$?" == "0" ]; then
ls /boot/dtb-$version_old/*.dtb > /dev/null 2>&1
@ -129,25 +129,17 @@ if [ "$version_old" != "0" ]; then
fi
install -m 644 /boot/dtb-$version_old/overlays/README /boot/overlays/
else
echo "warning: files in /boot/dtb-$version_old/*.dtb missing when resetting kernel as $version_old, something may go wrong when starting this device next time."
echo "warning: files in /boot/dtb-$version_old/*.dtb missing when resetting raspberrypi-kernel as $version_old, something may go wrong when starting this device next time."
fi
else
echo "warning: files in /boot/dtb-$version_old/overlays missing when resetting kernel as $version_old, something may go wrong when starting this device next time."
echo "warning: files in /boot/dtb-$version_old/overlays missing when resetting raspberrypi-kernel as $version_old, something may go wrong when starting this device next time."
fi
else
echo "warning: files missing when resetting kernel as $version_old, something may go wrong when starting this device next time."
echo "warning: files missing when resetting raspberrypi-kernel as $version_old, something may go wrong when starting this device next time."
fi
fi
%posttrans
if [ "$1" == "1" ]; then
if [ ! -f /boot/vmlinuz-old ] && [ -f /boot/kernel8.img ]; then
mkdir /boot/dtb-old
mv /boot/*.dtb /boot/dtb-old
mv /boot/overlays /boot/dtb-old/
mv /boot/kernel8.img /boot/vmlinuz-old
fi
fi
rm -rf /boot/*.dtb /boot/overlays /boot/kernel8.img
mkdir -p /boot/overlays
install -m 755 /boot/vmlinuz-%{KernelVer} /boot/kernel8.img
@ -174,6 +166,22 @@ install -m 644 /boot/dtb-%{KernelVer}/overlays/README /boot/overlays/
/lib/modules/%{KernelVer}
%changelog
* Mon May 30 2022 Yafen Fang <yafen@iscas.ac.cn> - 5.10.0-95.0.0.8
- update kernel version to openEuler 5.10.0-95.0.0
* Sun May 22 2022 Yafen Fang <yafen@iscas.ac.cn> - 5.10.0-92.0.0.7
- update kernel version to openEuler 5.10.0-92.0.0
* Sat Apr 2 2022 Yafen Fang <yafen@iscas.ac.cn> - 5.10.0-78.0.0.6
- update kernel version to openEuler 5.10.0-78.0.0
* Fri Mar 11 2022 Yafen Fang <yafen@iscas.ac.cn> - 5.10.0-52.0.0.5
- update warning info when uninstall or update raspberrypi-kernel
* Fri Mar 11 2022 Yafen Fang <yafen@iscas.ac.cn> - 5.10.0-52.0.0.4
- update kernel version to openEuler 5.10.0-52.0.0
- update Raspberry Pi patch, last commit (b0272c695e99a8dcc3a01298db56361333f1fdcf): net: phy: lan87xx: Decrease phy polling rate
* Mon Oct 25 2021 Yafen Fang <yafen@iscas.ac.cn> - 5.10.0-15.0.0.3
- update kernel version to openEuler 5.10.0-15.0.0