forked from huawei/openGauss-server
fix (package): add simple install to package script
This commit is contained in:
parent
706d659328
commit
ecd3d8d102
|
|
@ -310,6 +310,7 @@ function target_file_copy()
|
|||
copy_files_list "$1" $2
|
||||
|
||||
cp ${SCRIPT_DIR}/version.cfg ${BUILD_DIR}/temp
|
||||
cp -rf ${SCRIPT_DIR}/../../simpleInstall ${BUILD_DIR}/temp
|
||||
if [ $? -ne 0 ]; then
|
||||
die "copy ${SCRIPT_DIR}/version.cfg to ${BUILD_DIR}/temp failed"
|
||||
fi
|
||||
|
|
|
|||
|
|
@ -99,7 +99,7 @@ function check_os() {
|
|||
|
||||
local shmall=$(cat /proc/sys/kernel/shmall)
|
||||
local pagesize=$(getconf PAGESIZE)
|
||||
if [ $(($shared_buffers/1024/1024-$shmall/1024/1024*$pagesize)) -gt 0 ]; then
|
||||
if [ $(($shared_buffers/1024/1024/1024-$shmall/1024/1024/1024*$pagesize)) -gt 0 ]; then
|
||||
echo "The usage of the device [Shared_buffers] space cannot be greater than shmall*PAGESIZE." && exit 1
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue