-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bsp-cli/bsp-desktop: hashing fixes #6838
bsp-cli/bsp-desktop: hashing fixes #6838
Conversation
a3162a5
to
391847f
Compare
The dirs_to_hash and PACKAGES_SEARCH_ROOT_ABSOLUTE_DIRS array are having same values. Can we merge them together and also add a way so that more directories can be added there when required for a board or family? That way all the raw files will get hashed automatically. Only functions will have to be taken care of. |
391847f
to
303c3f3
Compare
Yeah, some refactoring so default list can be shared, and using a two-phase scheme (init array, call hook to populate array, then hash resulting array) can be implemented. Here I'm just trying to fix the bugs for a bsp-cli release. |
3ad501c
to
44d8d38
Compare
- both artifacts use functions in the bsp/utils-bsp.sh file, which wasn't being hashed - bsp-cli hashed non-existent 'packages/bsp-cli' directory, remove - bsp-cli: be verbose when rsync'ing `packages/bsp/common` - force sync in a few strategic spots - utils-bsp.sh: be verbose when copying files (incl `config/optional` stuff)
44d8d38
to
cf4744c
Compare
I'm pretty tired of rebasing this. Can @armbian/build-scripts review this please? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry!
I don't know much about the functionality, but the code looks good 👍
bsp-cli/bsp-desktop: hashing fixes
packages/bsp/common
config/optional
stuff)