国产系统补充紫光售后工具依赖文件

This commit is contained in:
luoliangyi 2024-06-06 14:16:51 +08:00
parent 48fa5bac54
commit 0f1fac92f4
5 changed files with 21 additions and 2 deletions

View File

@ -107,7 +107,7 @@ function appbuild()
git -C ../code_device pull git -C ../code_device pull
git -C ../code_app clean -df git -C ../code_app clean -df
git -C ../code_app checkout . #git -C ../code_app checkout .
git -C ../code_app pull git -C ../code_app pull
git -C ../code_lang checkout . git -C ../code_lang checkout .
@ -585,7 +585,7 @@ else
else else
cp -rf release/$syspath/$cpu/* dpkg/$dpkgtype/$oem/opt/apps/$dpkgpath/lib cp -rf release/$syspath/$cpu/* dpkg/$dpkgtype/$oem/opt/apps/$dpkgpath/lib
if [ "$oem" == "hg" ]; if [ "$oem" == "hg" ] || [ "$oem" == "zg" ];
then then
mv dpkg/$dpkgtype/$oem/opt/apps/$dpkgpath/lib/*App dpkg/$dpkgtype/$oem/opt/apps/$dpkgpath/bin mv dpkg/$dpkgtype/$oem/opt/apps/$dpkgpath/lib/*App dpkg/$dpkgtype/$oem/opt/apps/$dpkgpath/bin
fi fi

View File

View File

@ -0,0 +1,19 @@
#!/bin/sh
script_dir=$(cd $(dirname $0);pwd)
cd $script_dir
appname=`basename $0 | sed s,\.sh$,,`
dirname=`dirname $0`
tmp="${dirname#?}"
if [ "${dirname%$tmp}" != "/" ]; then
dirname=$PWD/$dirname
fi
echo $dirname
export LD_LIBRARY_PATH=$dirname/../lib
echo $dirname/../lib
$dirname/$appname $*