fix: building the INSTALL script

This commit is contained in:
ngn
2024-08-12 03:18:48 +03:00
parent 1a2593959e
commit 21c30cc8e5
2 changed files with 6 additions and 1 deletions

View File

@ -185,6 +185,11 @@ matter-chroot "${target}" make-ca > /dev/null
check_ret "Failed to run make-ca, install certs manually"
rm -f "${target}/certdata.txt"
info "Running install scripts"
matter-chroot "${target}" bash -c "bash /var/lib/matt/data/scripts/*" > /dev/null
check_ret "Failed to run install scripts"
rm -f "${target}/var/lib/matt/data/scripts"
info "Setup complete, now creating the archive..."
pushd "${target}" > /dev/null
tar czf ../${name}.tar.gz *