-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
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
02b2178
to
eba45ac
Compare
Might be adjusted to follow changes made by licy183 to the |
eba45ac
to
9574e87
Compare
9574e87
to
a1ca926
Compare
a1ca926
to
ee137ce
Compare
I have a question about the licensing. While working on this package, I have been simply assuming that the current But, now after my changes, the package will include binaries built from code in the following sections of AOSP, that it previously did not:
Is it OK to leave the overall package license unchanged, or should I try to add every exact individual license in a list to
|
b75f03e
to
b84f3be
Compare
To be on the side of caution I decided to just do it, but BSD 0-Clause is not an available option so does not pass the linter, so I just left it off from the |
…ubpackage, revbump revdeps
b84f3be
to
efadf4f
Compare
LGTM. |
Ok, I will merge this in 24 hours if no problems are found in that time. The reason that the contents of the termux-docker PR do not yet match the changed name of the package is because I am locally preparing the next version of that to be ready to download all packages from the mirror (and not use deb files stored in git), so it is convenient for me to wait for this PR before pushing more changes into that PR. |
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.
LGTM
Seems like it is time to create PR to termux-docker for using this package as a base. |
Yes I have code of it I am ready to test locally, but first I have to wait ~2 hours for this PR to be compiled by the merge-step CI and upload its packages to packages-cf.termux.dev, before my code will be able to download the packages from the cloud. I have several adjustments and refactors related to that, compared to the version currently in the termux-docker PR (the version currently in the PR only downloads I just won't know whether that part is 100% working until the packages are available to download in the package mirror, then I will be able to test it. EDIT: it worked, now i uploaded the code to the termux-docker PR |
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
).pypy3
after scripts(toolchain): several changes related to $TERMUX_PREFIX/include #23513pypy
andpypy3
for 32-bit targets (regardless of the other changes in this PR, since they appear to have passed CI by chance in previous builds)..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.