mirror of
https://gitee.com/amber-ce/amber-ce-bookworm.git
synced 2025-12-14 19:12:05 +08:00
8.4
This commit is contained in:
@@ -22,13 +22,17 @@ read_config() {
|
||||
}
|
||||
|
||||
pushd $(dirname $(realpath $0))
|
||||
read_config "ace-base.config"
|
||||
cp ace-base.config ace-base-build.config
|
||||
echo "@ARCH@=$(dpkg --print-architecture)" >> ace-base-build.config
|
||||
read_config "ace-base-build.config"
|
||||
|
||||
# 访问变量
|
||||
echo "Package Name: $PKG_NAME"
|
||||
echo "Host Name: $HOST_NAME"
|
||||
echo "Executable Name: $EXEC_NAME"
|
||||
echo "Pretty Name: $PRETTY_NAME"
|
||||
echo "Architecture: $ARCH"
|
||||
echo "Codename: $CODE_NAME"
|
||||
|
||||
if [[ -z "$1" ]];then
|
||||
echo "Need TARGET DIR"
|
||||
@@ -38,5 +42,5 @@ target_dir="${1}" # 要处理的目标目录
|
||||
|
||||
bash replacer.sh ${target_dir}/
|
||||
bash linker.sh ${target_dir}/
|
||||
cd ${target_dir}/opt/apps/$PKG_NAME/files && bash build-container.sh $(uname -m)
|
||||
cd ${target_dir}/opt/apps/$PKG_NAME/files && bash build-container.sh $ARCH $CODE_NAME
|
||||
popd
|
||||
Reference in New Issue
Block a user