不再在构建阶段需要dpkg

Signed-off-by: shenmo <jifengshenmo@outlook.com>
This commit is contained in:
shenmo 2025-03-17 04:00:04 +00:00 committed by Gitee
parent 2a9cb4ea36
commit 5ca843947e
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 6 additions and 6 deletions
src/opt/apps/@PKG_NAME@/files
amber-ce-tools/container-init
build-container.sh

@ -120,8 +120,12 @@ unlink /amber-ce-tools/bin-override/host-spawn
ln -sfv /amber-ce-tools/bin-override/host-spawn-$(uname -m) /amber-ce-tools/bin-override/host-spawn
## install host-integration
pushd /amber-ce-tools/ace-host-integration
apt install --reinstall /amber-ce-tools/ace-host-integration.deb
dpkg-deb -Z xz -b . ../ace-host-integration.deb
popd
apt install --reinstall /amber-ce-tools/ace-host-integration.deb -y
cd /amber-ce-tools/data-dir/

@ -38,10 +38,6 @@ sudo rm -rf ace-env/var/cache/apt/archives/*.deb
sudo tar -I 'xz -T0' -cvf ace-env.tar.xz ace-env/*
sudo rm -rf ace-env
pushd amber-ce-tools/ace-host-integration
dpkg-deb -Z xz -b . ../ace-host-integration.deb
popd