diff options
author | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2023-05-11 16:16:15 +0200 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2023-05-31 09:15:45 +0000 |
commit | 1b7b7213e7a77d35b30cea990dfe03f32c0f5bea (patch) | |
tree | a29ec72ed7a9ee4b8944e5f28037f18691e8c0d7 /scripts/run-yocto-check-layer.sh | |
parent | 50f330e3d09bffcfe070fc5ec30a6a47ceeb45df (diff) |
Ensure all layers do pass yocto-check-layer and run-yocto-check-layer.sh scripts
Ensure the layers do pass again and that the scripts are up-to-date.
Bug-AGL: SPEC-4680
Bug-AGL: SPEC-4685
Change-Id: I65cc70f657c9c56e396764699930cfa74d893364
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'scripts/run-yocto-check-layer.sh')
-rwxr-xr-x | scripts/run-yocto-check-layer.sh | 43 |
1 files changed, 32 insertions, 11 deletions
diff --git a/scripts/run-yocto-check-layer.sh b/scripts/run-yocto-check-layer.sh index 4b9e81825..378df20ae 100755 --- a/scripts/run-yocto-check-layer.sh +++ b/scripts/run-yocto-check-layer.sh @@ -1,5 +1,5 @@ #!/bin/bash -set -x +#set -x SCRIPTPATH="$( cd $(dirname $0) >/dev/null 2>&1 ; pwd -P )" echo $SCRIPTPATH @@ -19,18 +19,44 @@ AGL_FEATURES ?= "" AGL_EXTRA_IMAGE_FSTYPES ?= "" # important settings imported from poky-agl.conf -# we do not import -DISTRO_FEATURES:append = " systemd smack" +# we cannot import the distro config right away +# as the initial values are poky only till the layer +# is added in + +AGL_DEFAULT_DISTRO_FEATURES := "usrmerge largefile opengl wayland pam bluetooth bluez5 3g polkit" +DISTRO_FEATURES:append := " systemd wayland pam \${AGL_DEFAULT_DISTRO_FEATURES}" DISTRO_FEATURES_BACKFILL_CONSIDERED:append = " sysvinit" VIRTUAL-RUNTIME_init_manager = "systemd" -EOF +# ignore due to issue upstream +BBMASK += "meta-flutter/recipes-graphics/toyota/ivi-homescreen_git.bb " + + +# required by meta-flutter/recipes-graphics/toyota/flutter-auto_git.bb" +LICENSE_FLAGS_ACCEPTED += "commercial" + +# Need to ignore as we have more recent version +# meta-openembedded/meta-oe/recipes-graphics/libvncserver/libvncserver_0.9.13.bb +BBMASK += "meta-openembedded/meta-oe/recipes-graphics/libvncserver/libvncserver_*" + +# due to this, we also ignore: +BBMASK += "meta-oe/recipes-support/remmina/remmina_* meta-oe/recipes-graphics/x11vnc/x11vnc_* " -yocto-check-layer \ +EOF + +yocto-check-layer --no-auto-dependency \ --dependency \ - $AGLROOT/external/meta-openembedded/meta-oe \ $AGLROOT/meta-agl/meta-agl-core \ + $AGLROOT/meta-agl/meta-app-framework \ + $AGLROOT/external/meta-openembedded/meta-oe \ + $AGLROOT/external/meta-openembedded/meta-python \ + $AGLROOT/external/meta-openembedded/meta-networking \ + $AGLROOT/external/meta-openembedded/meta-multimedia \ + $AGLROOT/external/meta-flutter \ + $AGLROOT/external/meta-qt5 \ + $AGLROOT/external/meta-clang \ + $AGLROOT/external/meta-python2 \ -- \ $AGLROOT/meta-agl-demo @@ -38,8 +64,3 @@ yocto-check-layer \ [ $? = 0 ] && rm -rf ${TMPROOT}/testbuild-ycl exit 0 - - --dependency \ - $AGLROOT/external/meta-openembedded/meta-oe \ - $AGLROOT/external/meta-openembedded/meta-python \ - $AGLROOT/external/meta-openembedded/meta-networking \ |