How to remove shared libraries dependencies?
I've a requirement in which I want to package veritysetup binary in a minimal filesystem (which is size constraint)
Including "cryptsetup" package in IMAGE_INSTALL is adding the binary but also a lot of shared libraries which are its dependencies. The shared libraries are increasing the size of the filesystem, which should not be done. I do not need functionalities like ssl for veritysetup, so how can I remove the dependencies on these shared libraries?
I've tried removing eg ssl from https://git.openembedded.org/meta-openembedded/tree/meta-oe/recipes-crypto/cryptsetup/cryptsetup_2.4.3.bb#n29 but the shared libs are still the dependency.
help. Show exactly what you did, and what happened (or didn't happen
even though you expected that).
The basic way to trim dependencies is to set PACKAGECONFIG to a minimal set.
Alex
On Mon, 31 Oct 2022 at 02:34, Priyanshu Sharma
<ms.priyanshu.sharma@...> wrote:
I've a requirement in which I want to package veritysetup binary in a minimal filesystem (which is size constraint)
Including "cryptsetup" package in IMAGE_INSTALL is adding the binary but also a lot of shared libraries which are its dependencies. The shared libraries are increasing the size of the filesystem, which should not be done. I do not need functionalities like ssl for veritysetup, so how can I remove the dependencies on these shared libraries?
I've tried removing eg ssl from https://git.openembedded.org/meta-openembedded/tree/meta-oe/recipes-crypto/cryptsetup/cryptsetup_2.4.3.bb#n29 but the shared libs are still the dependency.
Including "cryptsetup" package in IMAGE_INSTALL is adding the binary but also a lot of shared libraries which are its dependencies. The shared libraries are increasing the size of the filesystem, which should not be done. I do not need functionalities like ssl for veritysetup, so how can I remove the dependencies on these shared libraries?
I've tried removing eg ssl from https://git.openembedded.org/meta-openembedded/tree/meta-oe/recipes-crypto/cryptsetup/cryptsetup_2.4.3.bb#n29 but the shared libs are still the dependency.
I've a requirement in which I want to package veritysetup binary in a minimal filesystem (which is size constraint)
Including "cryptsetup" package in IMAGE_INSTALL is adding the binary but also a lot of shared libraries which are its dependencies. The shared libraries are increasing the size of the filesystem, which should not be done. I do not need functionalities like ssl for veritysetup, so how can I remove the dependencies on these shared libraries?I've tried removing eg ssl from https://git.openembedded.org/meta-openembedded/tree/meta-oe/recipes-crypto/cryptsetup/cryptsetup_2.4.3.bb#n29 but the shared libs are still the dependency.
--