new: support for building specific packages with mp-pool
This commit is contained in:
@ -115,7 +115,7 @@ EOF
|
||||
popd > /dev/null
|
||||
|
||||
info "Syncing repositories"
|
||||
matt sync --root "${target}" --yes
|
||||
matt sync --root "${target}"
|
||||
check_ret "matt command failed"
|
||||
|
||||
info "Installing base system packages"
|
||||
@ -186,9 +186,11 @@ 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
|
||||
echo 'bash /var/lib/matt/data/scripts/*' > "${target}/install_scripts"
|
||||
matter-chroot "${target}" bash /install_scripts > /dev/null
|
||||
check_ret "Failed to run install scripts"
|
||||
rm -r "${target}/var/lib/matt/data/scripts"
|
||||
rm "${target}/install_scripts"
|
||||
|
||||
info "Setup complete, now creating the archive..."
|
||||
pushd "${target}" > /dev/null
|
||||
|
Reference in New Issue
Block a user