调整立思辰打包结构

This commit is contained in:
modehua 2023-02-13 17:12:37 +08:00
parent 8e233ca672
commit b04d4dcdbd
1 changed files with 11 additions and 2 deletions

View File

@ -356,7 +356,7 @@ then
fi
cp release/$syspath/$cpu/libsane-"$sanelibname"sane.so dpkg/$syspath/$oem/usr/lib/$libpath/sane/libsane-"$sanelibname"sane.so.1
cp release/$syspath/$cpu/libsane-"$sanelibname"sane.so dpkg/$syspath/$oem/usr/local/lib/sane/libsane-"$sanelibname"sane.so.1
if [ $? -ne 0 ];then
echo "copy libsane file fail sane name is :libsane-"$sanelibname"sane.so!!!"
exit 1
@ -394,6 +394,15 @@ elif [ "$oem" == "lscsm" ];
then
cp -rf release/$syspath/$cpu/* dpkg/$syspath/$oem/opt/$dpkgpath
else
#暂时只拷贝立思辰
if [ "$oem" == "lsc" ];
then
if [ ! -d "dpkg/$syspath/$oem/usr/local/lib/sane/" ];
then
mkdir -p "dpkg/$syspath/$oem/usr/local/lib/sane/"
fi
cp release/$syspath/$cpu/libsane-"$sanelibname"sane.so dpkg/$syspath/$oem/usr/local/lib/sane/libsane-"$sanelibname"sane.so.1
fi
savedpkgpath="dpkg/$syspath/$oem/opt/apps/$dpkgpath"
echo $dpkgpath
if [ "$sys" == "UnionTech" ];