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