!44 kpatch: remove uname-build-check from build dependency
From: @hubin57 Reviewed-by: @xiezhipeng1 Signed-off-by: @xiezhipeng1
This commit is contained in:
commit
cedf02fea7
@ -163,7 +163,7 @@ livepatch -r cmdline
|
|||||||
## 编译更新补丁工具
|
## 编译更新补丁工具
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
yum install -y git rpm-build elfutils-libelf-devel uname-build-checks gdb-headless
|
yum install -y git rpm-build elfutils-libelf-devel gdb-headless
|
||||||
git clone https://gitee.com/src-openeuler/kpatch.git
|
git clone https://gitee.com/src-openeuler/kpatch.git
|
||||||
mkdir -p ~/rpmbuild/SOURCES/
|
mkdir -p ~/rpmbuild/SOURCES/
|
||||||
/bin/cp kpatch/* ~/rpmbuild/SOURCES/
|
/bin/cp kpatch/* ~/rpmbuild/SOURCES/
|
||||||
|
|||||||
10
kpatch.spec
10
kpatch.spec
@ -1,7 +1,7 @@
|
|||||||
Name: kpatch
|
Name: kpatch
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Version: 0.9.1
|
Version: 0.9.1
|
||||||
Release: 16
|
Release: 17
|
||||||
Summary: A Linux dynamic kernel patching infrastructure
|
Summary: A Linux dynamic kernel patching infrastructure
|
||||||
|
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
@ -42,7 +42,7 @@ Patch0027:0027-create-build-diff-support-for-.cold-functions-with-n.patch
|
|||||||
Patch0028:0028-lookup-Add-__UNIQUE_ID_-to-maybe_discarded_sym-list.patch
|
Patch0028:0028-lookup-Add-__UNIQUE_ID_-to-maybe_discarded_sym-list.patch
|
||||||
Patch0029:0029-create-diff-object-error-on-detect-new-changed-ALTIN.patch
|
Patch0029:0029-create-diff-object-error-on-detect-new-changed-ALTIN.patch
|
||||||
|
|
||||||
BuildRequires: gcc elfutils-libelf-devel uname-build-checks kernel-devel git
|
BuildRequires: gcc elfutils-libelf-devel kernel-devel git
|
||||||
Requires: bc make gcc patch bison flex openssl-devel
|
Requires: bc make gcc patch bison flex openssl-devel
|
||||||
Recommends: %{name}-help = %{version}-%{release}
|
Recommends: %{name}-help = %{version}-%{release}
|
||||||
|
|
||||||
@ -101,6 +101,12 @@ popd
|
|||||||
%{_mandir}/man1/*.1.gz
|
%{_mandir}/man1/*.1.gz
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Sep 28 2021 Bin Hu<hubin57@huawei.com> -1:0.9.1-17
|
||||||
|
- Type:bugfix
|
||||||
|
- ID:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:remove uname-build-check from build dependency
|
||||||
|
|
||||||
* Sat Aug 21 2021 Zhipeng Xie<xiezhipeng1@huawei.com> -1:0.9.1-16
|
* Sat Aug 21 2021 Zhipeng Xie<xiezhipeng1@huawei.com> -1:0.9.1-16
|
||||||
- Type:enhancement
|
- Type:enhancement
|
||||||
- ID:NA
|
- ID:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user