diff --git a/livepatch b/livepatch index a6f362d682c019d5bd89ff84992ee675756f9d45..fe9d60c8eabc56c8ecba5bb1fabdbad6726d4c4a 100644 --- a/livepatch +++ b/livepatch @@ -1,4 +1,15 @@ #!/bin/bash +# Copyright (C) 2019. Huawei Technologies Co., Ltd. All rights reserved. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License version 2 and +# only version 2 as published by the Free Software Foundation. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + exe_tool=`which os_hotpatch` fn_help() { diff --git a/make_hotpatch b/make_hotpatch index a773944ad4d558328d666600d1c8968457701b60..fb8c37aea682afecdd02536c8a7a73dabe26faf3 100644 --- a/make_hotpatch +++ b/make_hotpatch @@ -1,18 +1,14 @@ -#!/usr/bin/bash -#******************************************************************** -# Copyright (C) Huawei Technologies, 2015-11 -# -# #FileName : make_hotpatch -# #Description : make hotpatch -# #Author : -# #Language : shell -# #Environment : Euler compile env -# #Created : 2015-11 -# #History -# 1.Date: -# Author: -# Modification: -#******************************************************************** +#!/bin/bash +# Copyright (C) 2019. Huawei Technologies Co., Ltd. All rights reserved. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License version 2 and +# only version 2 as published by the Free Software Foundation. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. SHELL_DIR=$(dirname $0) SHELL_DIR=$(cd $SHELL_DIR; pwd) diff --git a/os_hotpatch b/os_hotpatch index d56841a5ff921b92627c06e486eb4b9dfc26782f..38d7277824fcf829cd0ad7f6923e32c367184357 100644 --- a/os_hotpatch +++ b/os_hotpatch @@ -1,18 +1,14 @@ #!/bin/sh -#******************************************************************** -# Copyright (C) Huawei Technologies, 2015-11 -# -# #FileName : make_hotpatch -# #Description : make hotpatch -# #Author : -# #Language : shell -# #Environment : Euler compile env -# #Created : 2015-11 -# #History -# 1.Date: -# Author: -# Modification:2015-12-7 -#******************************************************************** +# Copyright (C) 2019. Huawei Technologies Co., Ltd. All rights reserved. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License version 2 and +# only version 2 as published by the Free Software Foundation. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. SYS_LIVEPATCH=/sys/kernel/livepatch G_TMP_DIR=/lib/modules/hotpatch.$$