!904 support ubuntu platform
Merge pull request !904 from zhengxue/ubuntu_dev
This commit is contained in:
@ -51,8 +51,10 @@ elif [ X"$kernel" == X"openeuler" ]; then
|
||||
dist_version="OPENEULER"
|
||||
elif [ X"$kernel" == X"kylin" ]; then
|
||||
dist_version="KYLIN"
|
||||
elif [ X"$kernel" = X"ubuntu" ]; then
|
||||
dist_version="UBUNTU"
|
||||
else
|
||||
echo "Only support EulerOS, OPENEULER(aarch64), CentOS and Kylin(aarch64) platform."
|
||||
echo "Only support EulerOS, OPENEULER(aarch64), CentOS, Kylin(aarch64) and Ubuntu(x86) platform."
|
||||
echo "Kernel is $kernel"
|
||||
exit 1
|
||||
fi
|
||||
|
1304
build/script/opengauss_release_list_ubuntu_single
Normal file
1304
build/script/opengauss_release_list_ubuntu_single
Normal file
File diff suppressed because it is too large
Load Diff
@ -61,8 +61,10 @@ elif [ X"$kernel" == X"euleros" ]; then
|
||||
dist_version="EulerOS"
|
||||
elif [ X"$kernel" == X"kylin" ]; then
|
||||
dist_version="Kylin"
|
||||
elif [ X"$kernel" = X"ubuntu" ]; then
|
||||
dist_version="Ubuntu"
|
||||
else
|
||||
echo "We only support openEuler(aarch64), EulerOS(aarch64), CentOS, Kylin(aarch64) platform."
|
||||
echo "We only support openEuler(aarch64), EulerOS(aarch64), CentOS, Kylin(aarch64) and Ubuntu(x86) platform."
|
||||
echo "Kernel is $kernel"
|
||||
exit 1
|
||||
fi
|
||||
|
@ -702,6 +702,8 @@ else ifeq ($(PLAT_FORM_STR), centos7.6_x86_64)
|
||||
cp '$(LIBCURL_LIB_PATH)/libcurl.so.4.6.0' '$(DESTDIR)$(libdir)/libcurl.so.4.6.0'
|
||||
else ifeq ($(PLAT_FORM_STR), kylin_aarch64)
|
||||
cp '$(LIBCURL_LIB_PATH)/libcurl.so.4.6.0' '$(DESTDIR)$(libdir)/libcurl.so.4.6.0'
|
||||
else ifeq ($(PLAT_FORM_STR), ubuntu18.04_x86_64)
|
||||
cp '$(LIBCURL_LIB_PATH)/libcurl.so.4.6.0' '$(DESTDIR)$(libdir)/libcurl.so.4.6.0'
|
||||
else
|
||||
cp '$(LIBCURL_LIB_PATH)/libcurl.so.4.5.0' '$(DESTDIR)$(libdir)/libcurl.so.4.5.0'
|
||||
endif
|
||||
|
@ -132,6 +132,15 @@ then
|
||||
plat_form_str=kylin_"$cpu_bit"
|
||||
fi
|
||||
|
||||
##################################################################################
|
||||
# ubuntu platform
|
||||
# the result form like this: ubuntu_x86_64
|
||||
##################################################################################
|
||||
if [ "$kernel"x = "ubuntu"x ]
|
||||
then
|
||||
plat_form_str=ubuntu18.04_"$cpu_bit"
|
||||
fi
|
||||
|
||||
|
||||
##################################################################################
|
||||
#
|
||||
|
Reference in New Issue
Block a user