Skip to content

Conversation

@dnltz
Copy link
Contributor

@dnltz dnltz commented Aug 7, 2025

This container is a copy of the yocto-ubuntu-24.04 file with additional changes required by Android. I think it's easier to maintain this container in the future by just using the original yocto-ubuntu file and adding everything add the end.

This PR also includes some clean-ups with spaces/tabs.

dnltz added 2 commits August 6, 2025 14:09
Convert all spaces into tabs and add an extra tab to all
additional lines of the same command.

Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
This Containerfile is based on yocto-ubuntu-24.04 with
additional packages to build an ASOP image at the end.

Signed-off-by: Daniel Schultz <d.schultz@phytec.de>

# Android requires libncurses5 and libtinfo5 but Ubuntu doesn't provide them anymore
RUN ln -s /usr/lib/x86_64-linux-gnu/libncurses.so.6 /usr/lib/x86_64-linux-gnu/libncurses.so.5
RUN ln -s /usr/lib/x86_64-linux-gnu/libtinfo.so.6 /usr/lib/x86_64-linux-gnu/libtinfo.so.5
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@smk-embedded this is a little bit hacky but Android still requires libncurses and libtinfo 5. Do you know a better way to install those older versions? There are no apt packages anymore. I think one solution is to manually download them.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this hack is fine, we do not need to fix all use-cases here

@smk-embedded
Copy link
Contributor

smk-embedded commented Jan 9, 2026

This PR was forgotten, who requested that? We could merge it to have a base for future android builds. We would need to separate the spaces/tabs thing. If we do space fixes, I would only do because of a linter.

@dnltz
Copy link
Contributor Author

dnltz commented Jan 9, 2026

This PR was forgotten, who requested that? We could merge it to have a base for future android builds

I opened this PR because I worked on a customer issue last year that required me to build ASOP13. I thought it's not a bad idea to have an official container for those type of customers and for future ASOP releases.

I can rebase and fix those issues next week. Shouldn't be a big task.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants