I would like to write a script, that generates .hash file for buildroot package of my app. I have problem with generating hash of tar.gz of whole git package automatically. I can do it by hand, copying hash, that Buildroot computes, and shows, when it gets wrong hash, but I want it to be done automatically.
Does anyone knows how Buildroot generates tar.gz archive from cloned repo? I know, that hash is computed in the same way by me and by Buildroot (I computed hash of file generated by Buildroot, and stored in dl folder).