I think it would be better to remove the subdirectories from the publish sha files, either by switching first into the subdirectory before computing the sha256sum or after the creation via ```sed 's!*/armbian/\.tmp/!!'``` or something similar.
Am I correct to think the creation of the sha files happens via [lib/functions/general/hash-files.sh](../tree/main/lib/functions/general/hash-files.sh)?
How to reproduce?
download and image and try to verify via sha256sum from the CLI
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?
[ ] 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
What happened?
```
$ cat Armbian_23.8.1_Bananapim2plus_jammy_current_6.1.47_minimal.img.xz.sha
59a2f556f497bbe6a99f71a9a35736beadacaff495ab67fef198b799ba0b53d6 */armbian/.tmp/image-679d4d6c-dbbb-4915-ba5c-0f466f3924b9/Armbian_23.8.1_Bananapim2plus_jammy_current_6.1.47_minimal.img.xz
```
I think it would be better to remove the subdirectories from the publish sha files, either by switching first into the subdirectory before computing the sha256sum or after the creation via ```sed 's!*/armbian/\.tmp/!!'``` or something similar.
Am I correct to think the creation of the sha files happens via [lib/functions/general/hash-files.sh](../tree/main/lib/functions/general/hash-files.sh)?
How to reproduce?
download and image and try to verify via sha256sum from the CLI
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?
[ ] 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/leggewie
https://github.com/armbian/build/issues/7731