add os support
This commit is contained in:
6
build.sh
6
build.sh
@ -47,8 +47,12 @@ elif [ X"$kernel" == X"kylin" ]; then
|
|||||||
dist_version="KYLIN"
|
dist_version="KYLIN"
|
||||||
elif [ X"$kernel" == X"suse" ]; then
|
elif [ X"$kernel" == X"suse" ]; then
|
||||||
dist_version="SUSE"
|
dist_version="SUSE"
|
||||||
|
elif [ X"$kernel" = X"redflag" ]; then
|
||||||
|
dist_version="Asianux"
|
||||||
|
elif [ X"$kernel" = X"asianux" ]; then
|
||||||
|
dist_version="Asianux"
|
||||||
else
|
else
|
||||||
echo "We only support EulerOS, OPENEULER(aarch64), SUSE and CentOS platform."
|
echo "We only support EulerOS, OPENEULER(aarch64) SUSE, CentOS and Asianux platform."
|
||||||
echo "Kernel is $kernel"
|
echo "Kernel is $kernel"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user