woof-arch source code and findpkgs #4299
Unanswered
woodenshoe-wi
asked this question in
Future enhancements / proposals
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have been experimenting with git-filter-repo and managed to piece together the git histories of the source code that was moved from woof-CE to the initrd_progs/pkg/w_apps_static/w_apps directory.
I uploaded the results here:
https://github.com/woodenshoe-wi/woof-arch
I also reviewed the changes to findpkgs-search-helper.c and added the fix @dimkr suggested for the buggy snprintf() calls.
I don’t remember exactly how I compiled the findpkgs binaries that are currently in woof-CE, but I think I might have used a compiler from Aboriginal Linux, because they are way smaller than what I get with glibc / gcc. In the Makefile there was a line commented out to use musl-gcc and that will give a much smaller executable but I don’t know if it is possible to get 32-bit binaries on a 64-bit OS using musl-gcc. Maybe the toolchains from https://musl.cc would help?
I don’t think that it is ideal for binaries to be in the woof-CE git repo, maybe they could be downloaded as a tarball or something?
On the subject of findpkgs, when I first wrote the helper programs I tried to match the script exactly, but I could tell that the original script I was copying wasn’t perfect and I don’t think finding dependencies was working properly. If improvements can be made to the way that findpkgs works, go for it! That is why I think that it is important to know where the source code is and how to compile it.
Beta Was this translation helpful? Give feedback.
All reactions