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

setup-intel-oneapi-env not compatible with "read-only-rootfs" IMAGE_FEATURE #17

Open
coreycothrum opened this issue May 29, 2024 · 1 comment

Comments

@coreycothrum
Copy link

I'm installing intel-oneapi-mkl via RDEPENDS of another recipe.

The image has read-only-rootfs set in IMAGE_FEATURES.

Build fails with:

ERROR: do_rootfs: The following packages could not be configured offline and rootfs is read-only: ['100-setup-intel-oneapi-env']

setup-intel-oneapi-env is a dependency of intel-oneapi-mkl and getting installed here:

RDEPENDS:${PN} += "bash tbb intel-oneapi-dpcpp-cpp-runtime setup-intel-oneapi-env virtual-opencl-icd"

I believe the pkg_postinst_ontarget function defined here is incompatible with read-only-rootfs:

@coreycothrum
Copy link
Author

I can work around this by overriding the applicable recipes (e.g. intel-oneapi-mkl_%.bbappend) with:

RDEPENDS:${PN}:remove = "setup-intel-oneapi-env"

I'm still on kirkstone, and had to do these recipes:

intel-oneapi-compiler_%.bbappend
intel-oneapi-ipp_%.bbappend
intel-oneapi-mkl_%.bbappend

Seems like these have been renamed/refactored some on master... first glance appears that the compiler recipe no longer has this as a dependency.

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

No branches or pull requests

1 participant