Skip to content

Do package subpackages support different patches for the same sourcecode tree without cloning the same source again? #17450

Closed Answered by sylirre
JeffreyO asked this question in Q&A
Discussion options

You must be logged in to vote

Why do you think subpackages can help with that? The purpose of subpackages is only to split original package on multiple parts, e.g. to reduce dependencies weight or reduce package size by splitting optional parts into own package.

Subpackages won't allow using separate patches. That's intended to ensure that all parts were built from the same source code.

Your options:

  • Update patches of existing aapt package. My suggestion: consider this variant.
  • Create new package apktool-aapt with different patches and make it dependency of aapt.
  • Build aapt within apktool package and thus keep patches in apktool directory.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by sylirre
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants