mirror of
https://gitee.com/amber-ce/amber-ce-bookworm.git
synced 2025-05-17 13:39:51 +08:00
不再硬编码pkg
Signed-off-by: shenmo <jifengshenmo@outlook.com>
This commit is contained in:
parent
9eb23aa93f
commit
5986f2d076
@ -38,5 +38,5 @@ target_dir="${1}" # 要处理的目标目录
|
|||||||
|
|
||||||
bash replacer.sh ${target_dir}/
|
bash replacer.sh ${target_dir}/
|
||||||
bash linker.sh ${target_dir}/
|
bash linker.sh ${target_dir}/
|
||||||
cd pkg/opt/apps/$PKG_NAME/files && bash build-container.sh $(uname -m)
|
cd ${target_dir}/opt/apps/$PKG_NAME/files && bash build-container.sh $(uname -m)
|
||||||
popd
|
popd
|
@ -31,5 +31,5 @@ echo "Executable Name: $EXEC_NAME"
|
|||||||
echo "Pretty Name: $PRETTY_NAME"
|
echo "Pretty Name: $PRETTY_NAME"
|
||||||
target_dir="${1}"
|
target_dir="${1}"
|
||||||
mkdir ${target_dir}/usr/bin
|
mkdir ${target_dir}/usr/bin
|
||||||
ln -vfs ../../opt/apps/$PKG_NAME/files/bin/ace-run pkg/usr/bin/$EXEC_NAME
|
ln -vfs ../../opt/apps/$PKG_NAME/files/bin/ace-run ${target_dir}/usr/bin/$EXEC_NAME
|
||||||
ln -vfs ../../opt/apps/$PKG_NAME/files/bin/amber-ce-configure-nvidia pkg/usr/bin/$PKG_NAME-configure-nvidia
|
ln -vfs ../../opt/apps/$PKG_NAME/files/bin/amber-ce-configure-nvidia ${target_dir}/usr/bin/$PKG_NAME-configure-nvidia
|
||||||
|
Loading…
x
Reference in New Issue
Block a user