!26 README:add kpatch update operations
From: @xiezhipeng1 Reviewed-by: @licihua Signed-off-by: @licihua
This commit is contained in:
commit
2d8f72d135
10
README.md
10
README.md
@ -154,3 +154,13 @@ livepatch -d cmdline
|
||||
livepatch -r cmdline
|
||||
```
|
||||
|
||||
## 编译更新补丁工具
|
||||
|
||||
```bash
|
||||
yum install -y git rpm-build elfutils-libelf-devel uname-build-checks gdb-headless
|
||||
git clone https://gitee.com/src-openeuler/kpatch.git
|
||||
mkdir -p ~/rpmbuild/SOURCES/
|
||||
/bin/cp kpatch/* ~/rpmbuild/SOURCES/
|
||||
rpmbuild -ba kpatch/kpatch.spec
|
||||
rpm -Uvh ~/rpmbuild/RPMS/`arch`/kpatch*.rpm
|
||||
```
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user