Re: Cannot add docker on AGL demo image for Raspberry pi 4 but on pure Yocto works fine

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



My appologies for the screenshot, although it's resolution on PC is very clear.

This is a similar building error when I tried to build it for qemu and agl-image-minimal.

ubuntu@ip-172-31-21-236:~/agl_r13_stable/build$ bitbake -k agl-image-minimal
Loading cache: 100% |##################################################################################################################################################################| Time: 0:00:00
Loaded 3376 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies
ERROR: Nothing RPROVIDES 'docker-ce' (but /home/ubuntu/agl_r13_stable/meta-agl/meta-agl-core/recipes-platform/images/agl-image-minimal.bb RDEPENDS on or otherwise requires it)
docker-ce was skipped: docker-ce - docker-ce: system groupname docker does not have a static ID defined. Add docker to one of these files: /home/ubuntu/agl_r13_stable/meta-agl/meta-agl-core/files/group
NOTE: Runtime target 'docker-ce' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['docker-ce']
ERROR: Nothing RPROVIDES 'agl-image-minimal'
No eligible RPROVIDERs exist for 'agl-image-minimal'
NOTE: Runtime target 'agl-image-minimal' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['agl-image-minimal']

Build Configuration:
BB_VERSION           = "1.46.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "universal"
TARGET_SYS           = "x86_64-agl-linux"
MACHINE              = "qemux86-64"
DISTRO               = "poky-agl"
DISTRO_VERSION       = "13.0.0"
TUNE_FEATURES        = "m64 corei7"
TARGET_FPU           = ""
meta-oe              = "HEAD:ab9fca485e13f6f2f9761e1d2810f87c2e4f060a"
meta-agl-core
meta-agl-core-test
meta-agl-bsp         = "HEAD:70ee918271b8ef7046fdb25fc315b09938b9b8a6"
meta
meta-poky            = "HEAD:bba323389749ec3e306509f8fb12649f031be152"
meta-filesystems
meta-python
meta-networking      = "HEAD:ab9fca485e13f6f2f9761e1d2810f87c2e4f060a"
meta-virtualization  = "HEAD:c5f61e547b90aa8058cf816f00902afed9c96f72"

ERROR: All buildable tasks have been run but the build is incomplete (--continue mode). Errors for the tasks that failed will have been printed above.                                 | ETA:  0:00:00
ERROR: Command execution failed: 1

Summary: There were 4 ERROR messages shown, returning a non-zero exit code.

I the configuration changes on bblayers.conf that added to support docker are:
bblayers.conf:
changed only this:
YOCTO_LAYERS = " \
  ${METADIR}/external/poky/meta \
  ${METADIR}/external/poky/meta-poky \
  ${METADIR}/external/meta-openembedded/meta-filesystems \
  ${METADIR}/external/meta-openembedded/meta-python  \
  ${METADIR}/external/meta-openembedded/meta-networking  \
  ${METADIR}/external/meta-virtualization \
  "
and on local.conf I added on the bottom on the file:
DISTRO_FEATURES_append = " virtualization"
IMAGE_INSTALL_append = " docker-ce"

Kind regards,
Nikos
_._,_._,_

Links:

You receive all messages sent to this group.

View/Reply Online (#9778) | Reply To Group | Reply To Sender | Mute This Topic | New Topic
Your Subscription | Contact Group Owner | Unsubscribe [list-automotive-discussions82@xxxxxxxxxxx]

_._,_._,_

[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux