update to syscare 1.2.0-4

Signed-off-by: renoseven <dev@renoseven.net>
(cherry picked from commit c5bd5fbad289c7fa9c4e2dff753fa6098e222546)
This commit is contained in:
renoseven 2023-11-24 04:53:41 +08:00 committed by openeuler-sync-bot
parent 6f18363c9f
commit b3f8323e07
2 changed files with 5 additions and 5 deletions

Binary file not shown.

View File

@ -13,7 +13,7 @@
############################################ ############################################
Name: syscare Name: syscare
Version: 1.2.0 Version: 1.2.0
Release: 3 Release: 4
Summary: System hot-fix service Summary: System hot-fix service
License: MulanPSL-2.0 and GPL-2.0-only License: MulanPSL-2.0 and GPL-2.0-only
URL: https://gitee.com/openeuler/syscare URL: https://gitee.com/openeuler/syscare
@ -150,7 +150,6 @@ Summary: Kernel module for syscare patch build tools.
BuildRequires: make gcc BuildRequires: make gcc
BuildRequires: kernel-devel BuildRequires: kernel-devel
Requires: kernel >= %{kernel_version} Requires: kernel >= %{kernel_version}
Conflicts: %{pkg_build_ebpf}
############### Description ################ ############### Description ################
%description build-kmod %description build-kmod
@ -159,7 +158,7 @@ Syscare build dependency - kernel module.
############### PostInstall ################ ############### PostInstall ################
%post build-kmod %post build-kmod
echo "/lib/modules/%{kernel_name}/extra/syscare/upatch_hijacker.ko" | /sbin/weak-modules --add-module --no-initramfs echo "/lib/modules/%{kernel_name}/extra/syscare/upatch_hijacker.ko" | /sbin/weak-modules --add-module --no-initramfs
depmod depmod > /dev/null 2>&1
############### PreUninstall ############### ############### PreUninstall ###############
%preun build-kmod %preun build-kmod
@ -168,7 +167,7 @@ depmod
############## PostUninstall ############### ############## PostUninstall ###############
%postun build-kmod %postun build-kmod
echo "/lib/modules/%{kernel_name}/extra/syscare/upatch_hijacker.ko" | /sbin/weak-modules --remove-module --no-initramfs echo "/lib/modules/%{kernel_name}/extra/syscare/upatch_hijacker.ko" | /sbin/weak-modules --remove-module --no-initramfs
depmod depmod > /dev/null 2>&1
################## Files ################### ################## Files ###################
%files build-kmod %files build-kmod
@ -182,7 +181,6 @@ depmod
Summary: eBPF for syscare patch build tools. Summary: eBPF for syscare patch build tools.
BuildRequires: make llvm clang bpftool BuildRequires: make llvm clang bpftool
BuildRequires: libbpf libbpf-devel libbpf-static BuildRequires: libbpf libbpf-devel libbpf-static
Conflicts: %{pkg_build_kmod}
############### Description ################ ############### Description ################
%description build-ebpf %description build-ebpf
@ -207,6 +205,8 @@ Syscare build dependency - eBPF.
################ Change log ################ ################ Change log ################
############################################ ############################################
%changelog %changelog
* Fri Nov 24 2023 renoseven<dev@renoseven.net> - 1.2.0-4
- Fix 'kpatch driver cannot support old version' issue
* Fri Nov 24 2023 renoseven<dev@renoseven.net> - 1.2.0-3 * Fri Nov 24 2023 renoseven<dev@renoseven.net> - 1.2.0-3
- Fix 'upatch only apply first patch for new process' issue - Fix 'upatch only apply first patch for new process' issue
* Wed Nov 22 2023 renoseven<dev@renoseven.net> - 1.2.0-2 * Wed Nov 22 2023 renoseven<dev@renoseven.net> - 1.2.0-2