-
Notifications
You must be signed in to change notification settings - Fork 49
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
"PKG_MIRROR_HASH:=skip" in Makefile, but build fails with "Package HASH check failed". #35
Comments
May I ask how this PKG_MIRROR_HASH is derived? I read the documentation, it is source code to generate tar.xz sha265, but I tried for a long time, the hash is never correct, I think it is the step of generating the tar.xz is wrong, please tell me how to correctly package the source code to generate the tar.xz so as to calculate this value THX |
Many methods have been tried, such as the following After $SHA_smartdns has been obtained, the process is as follows, what's wrong...or what's the correct method?
after that
After that change the Makefile ready to go to openwrt/gh-action-sdk@main to run
or one of and so on...
It's all wrong. |
skipping not possible from CI action, see openwrt/gh-action-sdk#35 openwrt/gh-action-sdk#18
The reply is a little late, sorry This PR worked perfect, THANKS!!! |
I am glad! Thanks for testing this and for your feedback. |
"PKG_MIRROR_HASH:=skip" in Makefile, but build fails with "Package HASH check failed".
I saw this #18 but it didn't help
Makefile like
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://www.github.com/xx/xx.git
PKG_MIRROR_HASH:=skip
PKG_SOURCE_VERSION:=b482340c35d47f63fecfb324f4d513c5f2255190
build log
step: make package/openwrt-pkg/check
make[1]: Entering directory '/builder'
make[2]: Entering directory '/feed/openwrt-pkg'
WARNING: PKG_MIRROR_HASH uses deprecated hash, set to 5cb6d1cf30437d42a1b172a7d3477eea178f26330dd26e32fff2c7741559cae1
make[2]: Leaving directory '/feed/openwrt-pkg'
time: package/feeds/packages_ci/openwrt-pkg/check#0.01#0.00#0.02
make[1]: Leaving directory '/builder'
Package HASH check failed
Error: Process completed with exit code 1.
I removed "PKG_MIRROR_HASH:=skip" from the Makefile, the problem is still there, the error is
WARNING: PKG_MIRROR_HASH is missing, set to
Any help?
The text was updated successfully, but these errors were encountered: