Skip to content
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

What is the Glibc Iconv Encodings _iconv_from Feature #249

Open
berney opened this issue Jan 30, 2024 · 2 comments
Open

What is the Glibc Iconv Encodings _iconv_from Feature #249

berney opened this issue Jan 30, 2024 · 2 comments
Labels

Comments

@berney
Copy link
Contributor

berney commented Jan 30, 2024

I see that in the kubler/glibc image that it makes a tarball backup of the Glibc Iconv encodings and mentions users can get them with _iconv_from.
I see in kubler that if _iconv_from is set it will add a footer to the documentation.
But I don't see any helper function or similar that will extract the tarball.

I'm curious how this feature works, if I misunderstand the code, or if a piece is missing or got renamed.

@edannenberg
Copy link
Owner

That's an internal generic feature called build_dependencies, which covers edge cases where some resources like header files that only exist in the final rootfs tar ball are stored in the image dir as a separate tar ball. Child images that might need these files at build time can pull them in again via this mechanism.

Searching for headers_from in the kubler-images repo should give better insight on how it is used.

But I don't see any helper function or similar that will extract the tarball.

See extract_build_dependencies() and build_rootfs().

@r7l
Copy link
Contributor

r7l commented Apr 16, 2024

Just stumbled across this as i've had an application unable to run without iconv. Took me a while to realize what's going on but this feature is actually nice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants