diff options
Diffstat (limited to 'scripts')
l--------- | scripts/ci-yocto-check-layer.sh | 1 | ||||
-rwxr-xr-x | scripts/run-yocto-check-layer-all-layers.sh | 56 | ||||
-rwxr-xr-x | scripts/run-yocto-check-layer.sh | 43 |
3 files changed, 33 insertions, 67 deletions
diff --git a/scripts/ci-yocto-check-layer.sh b/scripts/ci-yocto-check-layer.sh new file mode 120000 index 000000000..fa7c110b0 --- /dev/null +++ b/scripts/ci-yocto-check-layer.sh @@ -0,0 +1 @@ +run-yocto-check-layer.sh
\ No newline at end of file diff --git a/scripts/run-yocto-check-layer-all-layers.sh b/scripts/run-yocto-check-layer-all-layers.sh deleted file mode 100755 index 08db5d126..000000000 --- a/scripts/run-yocto-check-layer-all-layers.sh +++ /dev/null @@ -1,56 +0,0 @@ -#!/bin/bash -set -x - -SCRIPTPATH="$( cd $(dirname $0) >/dev/null 2>&1 ; pwd -P )" -echo $SCRIPTPATH -AGLROOT="$SCRIPTPATH/../.." -POKYDIR="$AGLROOT/external/poky" -TMPROOT=`mktemp -d` - -rm -rf ${TMPROOT}/testbuild-ycl || true -mkdir -p ${TMPROOT}/testbuild-ycl -cd ${TMPROOT}/testbuild-ycl - -source $POKYDIR/oe-init-build-env . - -cat << EOF >> conf/local.conf -# just define defaults -AGL_FEATURES ?= "" -AGL_EXTRA_IMAGE_FSTYPES ?= "" - -# important settings imported from poky-agl.conf -# we do not import -DISTRO_FEATURES:append = " systemd" -DISTRO_FEATURES_BACKFILL_CONSIDERED:append = " sysvinit" -VIRTUAL-RUNTIME_init_manager = "systemd" -#AGL_FEATURES += "aglcore agldemo" -#DISTRO_FEATURES:append = " appfw" - -# workaround: -#ERROR: Nothing RPROVIDES 'qtwebengine-qmlplugins' (but /home/dl9pf/AGL/master-newlayout/external/meta-qt5/recipes-qt/qt5/qt5-creator_git.bb RDEPENDS on or otherwise requires it) -BBMASK += "meta-qt5/recipes-qt/qt5/qt5-creator_git.bb" - -EOF - - -yocto-check-layer -d \ - --dependency \ - $AGLROOT/external/meta-openembedded/meta-oe \ - $AGLROOT/external/meta-openembedded/meta-oe \ - $AGLROOT/external/meta-openembedded/meta-python \ - $AGLROOT/external/meta-openembedded/meta-networking \ - $AGLROOT/external/meta-security \ - $AGLROOT/external/meta-openembedded/meta-perl \ - $AGLROOT/meta-agl/meta-agl-core \ - $AGLROOT/external/meta-qt5 \ - --additional-layers \ - $AGLROOT/external/meta-qt5 \ - $AGLROOT/external/meta-python2 \ - -- \ - $AGLROOT/meta-agl-demo - -cat ${TMPROOT}/testbuild-ycl/conf/bblayers.conf - -[ $? = 0 ] && rm -rf ${TMPROOT}/testbuild-ycl - -exit 0 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 \ |