-
-
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
bionic-host: rename to aosp-libs, bump to 9.0.0-r76, add aosp-utils subpackage, revbump revdeps #22906
base: master
Are you sure you want to change the base?
bionic-host: rename to aosp-libs, bump to 9.0.0-r76, add aosp-utils subpackage, revbump revdeps #22906
Conversation
daeb42b
to
d380f68
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey, nice work!
Does any of the subpackages need to:
TERMUX_SUBPKG_BREAKS="bionic-host (<< 9.0.0-r76)"
TERMUX_SUBPKG_REPLACES="bionic-host (<< 9.0.0-r76)"
or are all of the subpackage files freshly added in this version?
If for example $PREFIX/opt/bionic-host/lib/libcrypto.so was part of bionic-host 8.0.0-r51 then we would get a file conflict when trying to install the subpackage without BREAKS and REPLACES.
If the |
d380f68
to
29bc357
Compare
Is there any specific reason for creating lots of subpackages? In the case if you want to split it only for separating bionic itself and other stuff we can rename this package to |
yes it is split for organizational purposes and clarity, since the For example, in an earlier version, I had
I added in the The subpackage organization made it easy for me to keep track of what I was doing during those changes. If you would like to remove the subpackages and make everything combined into a single package, and rename the package, I would suggest this name:
Reflecting the idea that this is AOSP, but compiled and patched in a unique way for the needs of some Termux projects. If you would like to combine most of the subpackages into a single subpackage, but keep the main package separate, I would suggest they could use these names:
If you would like to rename the package but keep all the subpackages separate still, I would suggest they could use these names:
I think names like these (any of the above) generally make it easier to understand at a glance exactly what this package is, than the current names, especially since:
Those are the reasons why I think it would be best to choose a name and organization for the package carefully and accurately, that is flexible to match any present or future potential use cases. I think if the name will be changed, the input of multiple people might be helpful in order to choose the best name. EDIT: after considering names some more, I have decided to try " If you want to go with the name I suggested, I would suggest using the installation folder name " Just so others know I understand the following part, I am aware of the other instances of the string " |
…-libs package Dependency of termux#22906
645904e
to
307368f
Compare
…-libs package Dependency of termux#22906
307368f
to
02b2178
Compare
…ubpackage, revbump revdeps
02b2178
to
eba45ac
Compare
depends on chore(scripts/setup-ubuntu): retarget symbolic link to prepare for aosp-libs package #23054 - if this idea is approved, it will not successfully build until a new symbolic link propagates into a new termux-package-builder docker imagemerged.libz.so
appeared, AOSP-basedlibicuuc.so
was previously added, and in general it seems like this name is more accurate and idiomatic to present and future flexible use-cases of this package./system/lib/libc.so
file of AOSP 8.0.0 is bugged and freezes when run inside Docker on 32-bit devices, but the same file in AOSP 9.0.0 is unaffected.aosp-utils
is dependencies that would be very helpful and idiomatic for deblobbify, replacing the system folder with several other components termux-docker#72.mksh
provides/system/bin/sh
for termux-docker.iputils
provides/system/bin/ping
for termux-docker which is a dependency of$PREFIX/bin/ping
.toybox
provides/system/bin/su
which is used as a crucial component of termux-docker to switch to thesystem
user during itsentrypoint.sh
.pypy3
I documented there earlier (the change that fixes that error is solely addingcoreutils
toTERMUX_PKG_BUILD_DEPENDS
).pypy
andpypy3
for 32-bit targets..github
folder./proc/sys/kernel/pid_max
was 32768, not 65536 or higher, for a very long time, probably due to some other thing on my computer unrelated to Termux, and I did not notice this. Therefore, this problem never appeared for me locally in any Docker container or Termux package I built. As a result, hopefully on the plus side, I can fairly confidently assure that setting the value to 65535 will not break any packages, because I tested building all termux packages in the past locally when I didn't know I was using a much lower value, and it never caused any problems.