From f8d67d64eb44afb16f838cd8385d7dda47955485 Mon Sep 17 00:00:00 2001 From: Zhipeng Xie Date: Wed, 10 Feb 2021 02:16:14 -0500 Subject: [PATCH] modify hotpatch id length limit from 20 to 32 Signed-off-by: Zhipeng Xie --- kpatch.spec | 8 +++++++- make_hotpatch | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/kpatch.spec b/kpatch.spec index 80dff1e..cf383c6 100644 --- a/kpatch.spec +++ b/kpatch.spec @@ -1,7 +1,7 @@ Name: kpatch Epoch: 1 Version: 0.9.1 -Release: 11 +Release: 12 Summary: A Linux dynamic kernel patching infrastructure License: GPLv2 @@ -97,6 +97,12 @@ popd %{_mandir}/man1/*.1.gz %changelog +* Wed Feb 10 2021 Zhipeng Xie -1:0.9.1-12 +- Type:enhancement +- ID:NA +- SUG:NA +- DESC:modify hotpatch id length limit from 20 to 32 + * Mon Jan 11 2021 Zhipeng Xie -1:0.9.1-11 - Type:enhancement - ID:NA diff --git a/make_hotpatch b/make_hotpatch index fefbad1..9612e63 100644 --- a/make_hotpatch +++ b/make_hotpatch @@ -154,7 +154,7 @@ function fn_check_reg_char() function fn_check_id() { local l_id=$1 - fn_check_reg_char "$l_id" "20" "-_" + fn_check_reg_char "$l_id" "32" "-_" if [ $? -ne 0 ];then echo "error: check hotpatch id failed" return 1 -- Gitee