Update build system and action to build .apk package#9
Open
ArtikusHG wants to merge 3 commits into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #8
This was much easier than I expected! These two simple changes were all that was needed to build a functional .apk package for OpenWRT 25.12. However, there's a slight problem - installation from the web interface currently seems impossible, as from what I understand, from now on, all OpenWRT packages need to be signed - and that happens at the repo level, not at the package level. So there's two possible options:
apk add --allow-untrusted path-to-hapt-package.apk--allow-untrustedfrom the web interface, or add to the readme that the only supported way of installing the package is via the command line.Other than that small caveat, everything seems to work! Thanks for the amazing project, hapt has been the only 100% reliable way to detect when I'm away so far, and it makes my life a lot better :)
EDIT: it seems like other, even really popular OpenWRT projects aren't bothering with hosting their own repo, and instead just telling users to use --allow-untrusted, for example: https://github.com/Openwrt-Passwall/openwrt-passwall2. With that in mind, I'll update the readme too