!121 [sync] PR-117: update syscare to 1.2.0-4
From: @openeuler-sync-bot Reviewed-by: @snoweay Signed-off-by: @snoweay
This commit is contained in:
commit
6cb9515e37
Binary file not shown.
10
syscare.spec
10
syscare.spec
@ -13,7 +13,7 @@
|
||||
############################################
|
||||
Name: syscare
|
||||
Version: 1.2.0
|
||||
Release: 3
|
||||
Release: 4
|
||||
Summary: System hot-fix service
|
||||
License: MulanPSL-2.0 and GPL-2.0-only
|
||||
URL: https://gitee.com/openeuler/syscare
|
||||
@ -150,7 +150,6 @@ Summary: Kernel module for syscare patch build tools.
|
||||
BuildRequires: make gcc
|
||||
BuildRequires: kernel-devel
|
||||
Requires: kernel >= %{kernel_version}
|
||||
Conflicts: %{pkg_build_ebpf}
|
||||
|
||||
############### Description ################
|
||||
%description build-kmod
|
||||
@ -159,7 +158,7 @@ Syscare build dependency - kernel module.
|
||||
############### PostInstall ################
|
||||
%post build-kmod
|
||||
echo "/lib/modules/%{kernel_name}/extra/syscare/upatch_hijacker.ko" | /sbin/weak-modules --add-module --no-initramfs
|
||||
depmod
|
||||
depmod > /dev/null 2>&1
|
||||
|
||||
############### PreUninstall ###############
|
||||
%preun build-kmod
|
||||
@ -168,7 +167,7 @@ depmod
|
||||
############## PostUninstall ###############
|
||||
%postun build-kmod
|
||||
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 build-kmod
|
||||
@ -182,7 +181,6 @@ depmod
|
||||
Summary: eBPF for syscare patch build tools.
|
||||
BuildRequires: make llvm clang bpftool
|
||||
BuildRequires: libbpf libbpf-devel libbpf-static
|
||||
Conflicts: %{pkg_build_kmod}
|
||||
|
||||
############### Description ################
|
||||
%description build-ebpf
|
||||
@ -207,6 +205,8 @@ Syscare build dependency - eBPF.
|
||||
################ Change log ################
|
||||
############################################
|
||||
%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
|
||||
- Fix 'upatch only apply first patch for new process' issue
|
||||
* Wed Nov 22 2023 renoseven<dev@renoseven.net> - 1.2.0-2
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user