Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id F1CD1C3DA7A for ; Thu, 29 Dec 2022 23:10:28 +0000 (UTC) Subject: Using Docker containers on Yocto with RISC-V architecture #meta-virtualization #yocto To: meta-virtualization@lists.yoctoproject.org From: jmoreno@tierralunaengineering.com X-Originating-Location: Rocklin, California, US (75.39.167.4) X-Originating-Platform: Mac Safari 15.6 User-Agent: GROUPS.IO Web Poster MIME-Version: 1.0 Date: Thu, 29 Dec 2022 15:10:26 -0800 Message-ID: Content-Type: multipart/alternative; boundary="cXuy4jqSderLzqDYksoD" List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Thu, 29 Dec 2022 23:10:28 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-virtualization/message/7782 --cXuy4jqSderLzqDYksoD Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hello, I am using Yocto on a RISC-V board, Microchip PolarFire Icicle Kit: https://www.microsemi.com/ existing-parts/parts/152514 ( https://www.micros= emi.com/existing-parts/parts/152514 ) (Board's Yocto directory: https://github.com/ polarfire-soc/meta-polarfire-= soc-yocto-bsp ( https://github.com/polarfire-soc/meta-polarfire-soc-yocto-= bsp ) ) I would like to use docker containers with this OS and architecture. Seekin= g 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 +=3D "docker" * After running bitbake, I get an error message: | NOTE: make -j 32 cross-local | 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/ recipe= s-containers/docker/ docker-ce_git.bb:do_compile) failed with exit code '1' Thanks, Jonathan --cXuy4jqSderLzqDYksoD Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hello,
 
I am using Yocto on a RISC-V board, Microchip PolarFir= e Icicle Kit:
 
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" lay= er (pulled from git) and added them to "bblayers.conf".
  • In "local.conf", I added the line: &n= bsp;
    • IMAGE_INSTALL +=3D "docker"
  • After running bitbake, I get an error mess= age:
| NOTE: make -j 32 cross-local
| 3D"=F0= cross-local=
| -linkshared= not supported on linux/riscv64
| make: *** [Makefile:85: cross-local] Error 1
| ERROR: o= e_runmake failed
| WARNING: exit code 1 from a shell command.
ERROR: Task (/home/ubuntu/w= ork/yocto/yocto-dev/meta-virtualization/recipes-containers/docker/docker-ce_git.bb:do_co= mpile) failed with exit code '1'
 
Thanks,
 
Jonathan
--cXuy4jqSderLzqDYksoD--