-
-
Notifications
You must be signed in to change notification settings - Fork 3.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
The built boot file is too large. #23055
Comments
|
Specifically, this issue is partly caused by the phenomenon that many build-only dependencies are also included in the bootstrap, without considering the difference between build-only dependencies and runtime dependencies. The way that I usually work around this problem, somewhat unoptimally, but effective as a band-aid solution, is, first, I use then, I edit this part of the script to add a condition that "skips" all packages that are not in this list, during the termux-packages/scripts/build-bootstraps.sh Lines 126 to 139 in 3784574
In the future, changes might eventually come that improve this situation and make it easier to compile the custom bootstraps you would like. In the mean time, if you give some clarification about what exact goals you have in mind for the changes you would like to make to your bootstrap, for example,
the alternative If you let me know what the end goal is for your custom bootstrap and what requirements it needs to fulfill, I could probably give you some tips on the fastest ways to get there in an F-Droid-Termux-based codebase. |
./build-bootstraps.sh --architectures aarch64
I have successfully built the "./termux-packages/bootstrap-aarch64.zip",
but its size is about 242MB, while the bootstrap-aarch64.zip in releases page(https://github.com/termux/termux-packages/releases/tag/bootstrap-2022.09.18-r1%2Bapt-android-7) is only 25MB,
Is there a special building parameter for the slim recipe?
The text was updated successfully, but these errors were encountered: