diff -ruN pljava-1_5_2/get_PlatForm_str.sh pljava-1_5_2_new/get_PlatForm_str.sh --- pljava-1_5_2/get_PlatForm_str.sh 2021-04-22 23:08:24.901002935 +0800 +++ pljava-1_5_2_new/get_PlatForm_str.sh 2021-04-22 22:53:49.397885172 +0800 @@ -126,6 +126,14 @@ 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 ################################################################################## # diff -ruN pljava-1_5_2/kernal/src/get_PlatForm_str.sh pljava-1_5_2_new/kernal/src/get_PlatForm_str.sh --- pljava-1_5_2/kernal/src/get_PlatForm_str.sh 2021-04-22 23:08:25.329008365 +0800 +++ pljava-1_5_2_new/kernal/src/get_PlatForm_str.sh 2021-04-22 22:57:26.464641840 +0800 @@ -126,6 +126,14 @@ 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=ubuntu_"$cpu_bit" +fi ################################################################################## # diff -ruN pljava-1_5_2/kernal/src/makefiles/get_PlatForm_str.sh pljava-1_5_2_new/kernal/src/makefiles/get_PlatForm_str.sh --- pljava-1_5_2/kernal/src/makefiles/get_PlatForm_str.sh 2021-04-22 23:08:25.437009735 +0800 +++ pljava-1_5_2_new/kernal/src/makefiles/get_PlatForm_str.sh 2021-04-22 22:56:24.591855968 +0800 @@ -126,6 +126,14 @@ 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 ################################################################################## #