From 5ca843947e2899dc9752657455390a5494d78630 Mon Sep 17 00:00:00 2001 From: shenmo <jifengshenmo@outlook.com> Date: Mon, 17 Mar 2025 04:00:04 +0000 Subject: [PATCH] =?UTF-8?q?=E4=B8=8D=E5=86=8D=E5=9C=A8=E6=9E=84=E5=BB=BA?= =?UTF-8?q?=E9=98=B6=E6=AE=B5=E9=9C=80=E8=A6=81dpkg?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: shenmo <jifengshenmo@outlook.com> --- .../@PKG_NAME@/files/amber-ce-tools/container-init/init.sh | 6 +++++- src/opt/apps/@PKG_NAME@/files/build-container.sh | 6 +----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/opt/apps/@PKG_NAME@/files/amber-ce-tools/container-init/init.sh b/src/opt/apps/@PKG_NAME@/files/amber-ce-tools/container-init/init.sh index 11f21b4..af3e15c 100755 --- a/src/opt/apps/@PKG_NAME@/files/amber-ce-tools/container-init/init.sh +++ b/src/opt/apps/@PKG_NAME@/files/amber-ce-tools/container-init/init.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/ diff --git a/src/opt/apps/@PKG_NAME@/files/build-container.sh b/src/opt/apps/@PKG_NAME@/files/build-container.sh index b5351c1..d801223 100755 --- a/src/opt/apps/@PKG_NAME@/files/build-container.sh +++ b/src/opt/apps/@PKG_NAME@/files/build-container.sh @@ -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 +