[Bug]: jp command in apt-utils.sh mis parsed base-files.json
Description
Checklist
hideActivity
Show:
Details
Details
Assignee
Unassigned
UnassignedReporter
GitHub
GitHubPriority
Created February 27, 2025 at 6:18 PM
Updated February 27, 2025 at 6:18 PM
What happened?
when the system fetches the base-files.json files, and uses the jp command to parse it, it fails with a syntax error. resulting in the system believing the base-files was not downloaded.
How to reproduce?
build such that the base-files is downloaded, i.e. clear all cache and have a situation that it is needed.
offending line in the code:
`found_package_filename=$(jq -r .[\"${package_download_release}\"].${ARCH} $package_info_download_url_file)`
fixed line:
`found_package_filename=$(jq -r .\"${package_download_release}\".\"${ARCH}\" $package_info_download_url_file)`
Branch
main (main development branch)
On which host OS are you running the build script and observing this problem?
Ubuntu 24.04 Noble
Are you building on Windows WSL2?
[x] Yes, my Ubuntu/Debian/OtherOS is running on WSL2
Relevant log URL
No response
Code of Conduct
[x] I agree to follow this project's Code of Conduct
Raised by: https://github.com/awinner1
https://github.com/armbian/build/issues/7886