On Thu, Dec 29, 2022 at 6:10 PM <[email protected]> wrote:
> Hello, > > I am using Yocto on a RISC-V board, Microchip PolarFire Icicle Kit: > https://www.microsemi.com/existing-parts/parts/152514 > (Board's Yocto directory: > https://github.com/polarfire-soc/meta-polarfire-soc-yocto-bsp) > > I would like to use docker containers with this OS and architecture. > Seeking advice with "meta-virtualization", is this feasible? > > What I have done: > > - I have added the "meta-virtualization" layer (pulled from git) and > added them to "bblayers.conf". > > > - In "local.conf", I added the line: > - IMAGE_INSTALL += "docker" > - After running bitbake, I get an error message: > > | NOTE: make -j 32 cross-local > | [image: 🐳] cross-local > | -linkshared not supported on linux/riscv64 > | make: *** [Makefile:85: cross-local] Error 1 > | ERROR: oe_runmake failed > | WARNING: exit code 1 from a shell command. > ERROR: Task (/home/ubuntu/work/yocto/yocto-dev/meta-virtualization/ > recipes-containers/docker/docker-ce_git.bb:do_compile) failed with exit > code '1' > > riscv isn't an architecture that is built or tested with meta-virt, so while it might be feasible, I don't even know what work would be required to get all the components building for the architecture. Clearly the flags we are using in the recipe don't work for riscv (or perhaps they are being added by the docker Makefiles themselves .. I'm not on my typical setup so I can't check), so that's the first thing to investigate and then work through the issues. Patches to fix the build for the architecture would be accepted, but there's no one that I know of who's currently working on support. Bruce > Thanks, > > Jonathan > > > > -- - Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end - "Use the force Harry" - Gandalf, Star Trek II
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#7783): https://lists.yoctoproject.org/g/meta-virtualization/message/7783 Mute This Topic: https://lists.yoctoproject.org/mt/95945792/21656 Mute #meta-virtualization:https://lists.yoctoproject.org/g/meta-virtualization/mutehashtag/meta-virtualization Mute #yocto:https://lists.yoctoproject.org/g/meta-virtualization/mutehashtag/yocto Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
