!72 自定义构建目录位置
From: @lvgenggeng Reviewed-by: @hubin95, @xiezhipeng1 Signed-off-by: @xiezhipeng1
This commit is contained in:
commit
2367b476e4
@ -1,7 +1,7 @@
|
|||||||
Name: kpatch
|
Name: kpatch
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Version: 0.9.5
|
Version: 0.9.5
|
||||||
Release: 15
|
Release: 16
|
||||||
Summary: A Linux dynamic kernel patching infrastructure
|
Summary: A Linux dynamic kernel patching infrastructure
|
||||||
|
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
@ -119,6 +119,12 @@ popd
|
|||||||
%{_mandir}/man1/*.1.gz
|
%{_mandir}/man1/*.1.gz
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Oct 17 2022 lvgenggeng <lvgenggeng@uniontech.com> - 1:0.9.5-16
|
||||||
|
- Type:enhancement
|
||||||
|
- ID:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:make_hotpatch: add CUSTOM_BUILD_DIR env
|
||||||
|
|
||||||
* Sun Oct 9 2022 Bin Hu <hubin73@huawei.com> -1:0.9.5-15
|
* Sun Oct 9 2022 Bin Hu <hubin73@huawei.com> -1:0.9.5-15
|
||||||
- Type:bugfix
|
- Type:bugfix
|
||||||
- ID:NA
|
- ID:NA
|
||||||
|
|||||||
@ -19,10 +19,17 @@ G_HOTPATCH_TAR=
|
|||||||
G_DIFFEXT=
|
G_DIFFEXT=
|
||||||
G_JOBS="$(getconf _NPROCESSORS_ONLN)"
|
G_JOBS="$(getconf _NPROCESSORS_ONLN)"
|
||||||
G_PATCH_SRC=
|
G_PATCH_SRC=
|
||||||
G_KERNEL_SRC=/opt/patch_workspace/kernel-source
|
if [ -z "$CUSTOM_BUILD_DIR" ];then
|
||||||
G_KERNEL_CONFIG=/opt/patch_workspace/.config
|
G_KERNEL_SRC=/opt/patch_workspace/kernel-source
|
||||||
G_HOTPATCH_DIR=/opt/patch_workspace/hotpatch
|
G_KERNEL_CONFIG=/opt/patch_workspace/.config
|
||||||
G_VMLINUX=/opt/patch_workspace/vmlinux
|
G_HOTPATCH_DIR=/opt/patch_workspace/hotpatch
|
||||||
|
G_VMLINUX=/opt/patch_workspace/vmlinux
|
||||||
|
else
|
||||||
|
G_KERNEL_SRC="$CUSTOM_BUILD_DIR"/kernel-source
|
||||||
|
G_KERNEL_CONFIG="$CUSTOM_BUILD_DIR"/.config
|
||||||
|
G_HOTPATCH_DIR="$CUSTOM_BUILD_DIR"/hotpatch
|
||||||
|
G_VMLINUX="$CUSTOM_BUILD_DIR"/vmlinux
|
||||||
|
fi
|
||||||
G_PREFIX=klp
|
G_PREFIX=klp
|
||||||
G_TMP_DIR=
|
G_TMP_DIR=
|
||||||
G_PATCHFILE=
|
G_PATCHFILE=
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user