Skip to content

Commit

Permalink
Merge pull request #816 from YoeDistro/kraj/master
Browse files Browse the repository at this point in the history
Update layers, Fix ptest runs on qemu
  • Loading branch information
cbrake authored Aug 4, 2023
2 parents 6b358de + 37afa95 commit 64a52ba
Show file tree
Hide file tree
Showing 26 changed files with 59 additions and 22 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
- name: Build Images
run: |
/bin/bash -c ". ./envsetup.sh visionfive2 && bitbake yoe-installer-image"
/bin/bash -c ". ./envsetup.sh rpi4-64 && bitbake yoe-installer-image yoe-qt5-image"
/bin/bash -c ". ./envsetup.sh rpi4-64 && bitbake yoe-installer-image yoe-kiosk-image"
- name: ver
run: echo "ver=$(printf ' - ' && cat sources/meta-yoe/conf/distro/yoe.inc | grep 'DISTRO_CODENAME =' | cut -d' ' -f 3 )" >> $GITHUB_OUTPUT
id: ver
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
/bin/bash -c "sed -i -e 's/SDK_UPDATE_URL.*$//' conf/site.conf"
- name: Build Image
run: |
/bin/bash -c ". ./envsetup.sh qemuarm64 && bitbake yoe-qt5-image"
/bin/bash -c ". ./envsetup.sh qemuarm64 && bitbake yoe-kiosk-image"
- name: Test Image
run: |
export DISPLAY=":0"
Expand Down
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,4 @@
[submodule "sources/meta-qt6"]
path = sources/meta-qt6
url = https://github.com/YoeDistro/meta-qt6
branch = 6.5
branch = yoe/6.5
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,25 @@ and this project adheres to
- Implement new project detection logic in envsetup
- Upgrade Simple IoT to v0.12.2
- Fix dependencies for yoe-kiosk-browser
- Convert CVE_CHECK_IGNORE to CVE_STATUS in meta-openembedded
- Fix cross builds for python3-pyaudio
- Enable wayland/x11/opengl configs based corresponding distro features in mesa-pvr
- Move libadwaita to core layer
- Move gcr3 to meta-oe
- Upgrade systemd to 253.7
- Upgrade FSL graphics stack to 6.4.11.p1.2 BSP release
- Use libgpiod 1.x for VAR-SOM based projects e.g. var-som-mx8
- Switch Qemu based projects to use QT6 instead of QT5

### Added

- Added recipes
- webkitgtk3, libnvme, python3-telnetlib3, mstpd

### Removed

- Remove version-going-backwards from build QA errors

## [2023.07] - 2023-07-31

### Changed
Expand Down
2 changes: 2 additions & 0 deletions conf/projects/qemucommon/config.conf
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ QEMU_USE_KVM = "1"
#TEST_RUNQEMUPARAMS = "publicvnc"
# needed for running ptests automatically
PACKAGE_FEED_URIS ?= ""
# Needed for ptest runs
EXTRA_IMAGE_FEATURES += "debug-tweaks"

IMG_VERSION = "0.0.1"
#####################################################################
Expand Down
2 changes: 1 addition & 1 deletion conf/projects/qemucommon/layers.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ BBLAYERS = "\
\
${TOPDIR}/sources/meta-clang \
${TOPDIR}/sources/meta-elm-binary \
${TOPDIR}/sources/meta-qt5 \
${TOPDIR}/sources/meta-qt6 \
\
${TOPDIR}/sources/meta-openembedded/meta-filesystems \
${TOPDIR}/sources/meta-openembedded/meta-gnome \
Expand Down
2 changes: 1 addition & 1 deletion conf/projects/qemuriscv32/layers.conf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ BBLAYERS = "\
\
${TOPDIR}/sources/meta-clang \
${TOPDIR}/sources/meta-elm-binary \
${TOPDIR}/sources/meta-qt5 \
${TOPDIR}/sources/meta-qt6 \
\
${TOPDIR}/sources/meta-openembedded/meta-filesystems \
${TOPDIR}/sources/meta-openembedded/meta-gnome \
Expand Down
2 changes: 1 addition & 1 deletion conf/projects/qemuriscv64/layers.conf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ BBLAYERS = "\
\
${TOPDIR}/sources/meta-clang \
${TOPDIR}/sources/meta-elm-binary \
${TOPDIR}/sources/meta-qt5 \
${TOPDIR}/sources/meta-qt6 \
\
${TOPDIR}/sources/meta-openembedded/meta-filesystems \
${TOPDIR}/sources/meta-openembedded/meta-gnome \
Expand Down
3 changes: 3 additions & 0 deletions conf/projects/var-dart-imx6ul/config.conf
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ IMAGE_FSTYPES:append = " wic.xz wic.bmap tar.xz"
#TEST_SERVER_IP = "10.0.0.13"
TEST_TARGET = "simpleremote"

# Needed for logic in Varscite wifi bringup script
PREFERRED_VERSION_libgpiod = "1.%"

IMG_VERSION = "0.0.1"
#####################################################################
# add project specific configuration below this line
Expand Down
3 changes: 3 additions & 0 deletions conf/projects/var-som-mx8/config.conf
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ TEST_TARGET_IP = "10.0.0.36"
TEST_SERVER_IP = "10.0.0.13"
TEST_TARGET = "simpleremote"

# Needed for logic in Varscite wifi bringup script
PREFERRED_VERSION_libgpiod = "1.%"

IMG_VERSION = "0.0.1"
#####################################################################
# add project specific configuration below this line
Expand Down
3 changes: 3 additions & 0 deletions conf/projects/var-som-mx8m-nano/config.conf
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ TEST_TARGET = "simpleremote"

do_image_wic[depends] += "imx-boot:do_deploy"

# Needed for logic in Varscite wifi bringup script
PREFERRED_VERSION_libgpiod = "1.%"

IMG_VERSION = "0.0.1"
#####################################################################
# add project specific configuration below this line
Expand Down
3 changes: 3 additions & 0 deletions conf/projects/var-som-mx8x/config.conf
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ TEST_TARGET_IP = "10.0.0.36"
TEST_SERVER_IP = "10.0.0.13"
TEST_TARGET = "simpleremote"

# Needed for logic in Varscite wifi bringup script
PREFERRED_VERSION_libgpiod = "1.%"

IMG_VERSION = "0.0.1"
#####################################################################
# add project specific configuration below this line
Expand Down
4 changes: 4 additions & 0 deletions envsetup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -695,3 +695,7 @@ yoe_install_image() {
unset WICIMG
}

# Needed for running per-image ptest images in parallel on qemu
yoe_create_tap_devices() {
sudo runqemu-gen-tapdevs `id -u` ` nproc --all`
}
2 changes: 1 addition & 1 deletion sources/meta-freescale-3rdparty
2 changes: 1 addition & 1 deletion sources/meta-openembedded
Submodule meta-openembedded updated 68 files
+0 −59 meta-gnome/recipes-connectivity/geary/geary/0001-client-Add-missing-type-arguments-for-interfaces-to-.patch
+0 −156 meta-gnome/recipes-connectivity/geary/geary/0001-vala-unit-Fix-non-null-build-with-newer-vala.patch
+2 −4 meta-gnome/recipes-connectivity/geary/geary_44.0.bb
+1 −1 meta-gnome/recipes-gnome/evolution-data-server/evolution-data-server.bb
+1 −1 meta-gnome/recipes-gnome/gnome-online-accounts/gnome-online-accounts_3.48.0.bb
+0 −24 meta-gnome/recipes-gnome/libadwaita/libadwaita_1.3.3.bb
+1 −1 meta-gnome/recipes-gnome/yelp/yelp_42.2.bb
+1 −1 meta-gnome/recipes-gnome/zenity/zenity_3.44.0.bb
+1 −2 meta-initramfs/recipes-devtools/dracut/dracut_056.bb
+2 −2 meta-networking/recipes-connectivity/daq/daq_2.0.7.bb
+22 −5 meta-networking/recipes-connectivity/daq/files/0001-correct-the-location-of-unistd.h.patch
+2 −4 meta-networking/recipes-connectivity/freeradius/freeradius_3.0.26.bb
+2 −4 meta-networking/recipes-connectivity/mbedtls/mbedtls_2.28.3.bb
+0 −5 meta-networking/recipes-connectivity/mbedtls/mbedtls_3.4.0.bb
+3 −6 meta-networking/recipes-connectivity/openthread/wpantund_git.bb
+2 −7 meta-networking/recipes-connectivity/samba/samba_4.18.5.bb
+2 −0 meta-networking/recipes-filter/libnetfilter/libnetfilter-queue_1.0.5.bb
+2 −0 meta-networking/recipes-filter/libnfnetlink/libnfnetlink_1.0.2.bb
+10 −12 meta-networking/recipes-protocols/mdns/mdns_1790.80.10.bb
+4 −8 meta-networking/recipes-protocols/openflow/openflow.inc
+1 −2 meta-networking/recipes-support/dovecot/dovecot_2.3.20.bb
+5 −7 meta-networking/recipes-support/ntp/ntp_4.2.8p17.bb
+1 −2 meta-networking/recipes-support/openvpn/openvpn_2.6.3.bb
+1 −5 meta-networking/recipes-support/spice/spice_git.bb
+2 −5 meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb_git.bb
+8 −10 meta-oe/recipes-bsp/nvme-cli/nvme-cli_2.5.bb
+1 −3 meta-oe/recipes-connectivity/libtorrent/libtorrent_git.bb
+3 −5 meta-oe/recipes-core/emlog/emlog_git.bb
+1 −3 meta-oe/recipes-dbs/postgresql/postgresql_15.3.bb
+0 −2 meta-oe/recipes-devtools/flatbuffers/flatbuffers.bb
+3 −1 meta-oe/recipes-devtools/php/php_8.2.8.bb
+1 −3 meta-oe/recipes-devtools/uw-imap/uw-imap_2007f.bb
+3 −1 meta-oe/recipes-extended/libimobiledevice/libplist_2.3.0.bb
+3 −1 meta-oe/recipes-extended/libimobiledevice/libplist_git.bb
+0 −3 meta-oe/recipes-extended/libzip/libzip_1.10.0.bb
+18 −0 meta-oe/recipes-extended/networking/mstpd/bridge-stp
+10 −0 meta-oe/recipes-extended/networking/mstpd/mstpd.service
+32 −0 meta-oe/recipes-extended/networking/mstpd_git.bb
+2 −2 meta-oe/recipes-extended/rsyslog/rsyslog_8.2306.0.bb
+1 −3 meta-oe/recipes-extended/sanlock/sanlock_3.8.5.bb
+1 −3 meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb_1.4.9.bb
+1 −1 meta-oe/recipes-extended/wxwidgets/wxwidgets_3.2.1.bb
+36 −0 meta-oe/recipes-gnome/gcr/gcr3/0001-meson.build-correctly-handle-disabled-ssh_agent-opti.patch
+59 −0 meta-oe/recipes-gnome/gcr/gcr3_3.41.1.bb
+0 −4 meta-oe/recipes-graphics/graphviz/graphviz_8.1.0.bb
+1 −3 meta-oe/recipes-graphics/jasper/jasper_2.0.33.bb
+1 −2 meta-oe/recipes-graphics/libsdl/libsdl_1.2.15.bb
+1 −1 meta-oe/recipes-graphics/surf/surf_2.1.bb
+0 −3 meta-oe/recipes-networking/cyrus-sasl/cyrus-sasl_2.1.28.bb
+1 −3 meta-oe/recipes-support/atop/atop_2.4.0.bb
+1 −3 meta-oe/recipes-support/emacs/emacs_28.2.bb
+22 −0 meta-oe/recipes-support/libnvme/libnvme_1.5.bb
+4 −8 meta-oe/recipes-support/nss/nss_3.74.bb
+0 −3 meta-oe/recipes-support/openldap/openldap_2.5.13.bb
+2 −4 meta-oe/recipes-support/pidgin/pidgin_2.14.2.bb
+0 −32 meta-oe/recipes-support/portaudio/portaudio-v19/0001-Find-jack.patch
+0 −49 meta-oe/recipes-support/portaudio/portaudio-v19/0001-cmake-Use-GNUInstallDirs.patch
+6 −10 meta-oe/recipes-support/portaudio/portaudio-v19_19.7.0.bb
+29 −0 meta-oe/recipes-support/webkitgtk/webkitgtk3/0001-FindGObjectIntrospection.cmake-prefix-variables-obta.patch
+28 −0 meta-oe/recipes-support/webkitgtk/webkitgtk3/0001-Source-JavaScriptCore-CMakeLists.txt-ensure-reproduc.patch
+310 −0 meta-oe/recipes-support/webkitgtk/webkitgtk3/0d3344e17d258106617b0e6d783d073b188a2548.patch
+41 −0 meta-oe/recipes-support/webkitgtk/webkitgtk3/4977290ab4ab35258a6da9b13795c9b0f7894bf4.patch
+33 −0 meta-oe/recipes-support/webkitgtk/webkitgtk3/check-GST_GL_HAVE_PLATFORM_GLX.patch
+22 −0 meta-oe/recipes-support/webkitgtk/webkitgtk3/reproducibility.patch
+169 −0 meta-oe/recipes-support/webkitgtk/webkitgtk3_2.40.2.bb
+28 −0 ...hon/recipes-devtools/python/python3-pyaudio/0001-Remove-absolute-paths-into-build-machine-system-dirs.patch
+2 −0 meta-python/recipes-devtools/python/python3-pyaudio_0.2.13.bb
+15 −0 meta-python/recipes-devtools/python/python3-telnetlib3_2.0.4.bb
2 changes: 1 addition & 1 deletion sources/meta-riscv
2 changes: 2 additions & 0 deletions sources/meta-yoe/conf/distro/yoe.inc
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ WARN_TO_ERROR_QA ?= "\

WARN_QA:remove = "${WARN_TO_ERROR_QA}"
ERROR_QA:append = " ${WARN_TO_ERROR_QA}"
# Yoe does not build binary feeds, this build QA error breaks builds unnessarily
ERROR_QA:remove = "version-going-backwards"
#
# Additional image features
#
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
SECTION = "apps"

DEPENDS = "go-native elm-binary-native nodejs-native"
DEPENDS += "go-native elm-binary-native nodejs-native curl-native ca-certificates-native"

inherit systemd update-rc.d goarch

SRCREV = "1ccbf799106af7dde86491461295082d90758e1c"
SRCREV = "93a659b8b4b61ed7718b1846d68e518ebf54799b"

BRANCH ?= "master"

Expand All @@ -30,6 +30,11 @@ INITSCRIPT_PARAMS = "start 99 5 . stop 20 6 ."
do_configure[network] = "1"
do_compile[network] = "1"

# It uses curl-native to fetch npm dependencies which need to also use
# native certs bundle, by default curl is compiled to point to curl-native's RSS
# location which is buildtime path of curl-native not the recipe where it is being used
export CURL_CA_BUNDLE = "${RECIPE_SYSROOT_NATIVE}${sysconfdir}/ssl/certs/ca-certificates.crt"

do_configure() {
export GOPATH=${GOPATH}
export GOFLAGS="-modcacherw"
Expand Down
2 changes: 1 addition & 1 deletion sources/poky
Submodule poky updated 78 files
+4 −0 meta-poky/conf/distro/poky-tiny.conf
+39 −0 meta/classes-global/insane.bbclass
+4 −0 meta/classes-recipe/kernel-fitimage.bbclass
+2 −2 meta/conf/distro/include/maintainers.inc
+0 −36 meta/lib/oeqa/selftest/cases/distrodata.py
+34 −0 meta/recipes-bsp/gnu-efi/gnu-efi/0001-riscv64-adjust-type-definitions.patch
+32 −0 meta/recipes-bsp/gnu-efi/gnu-efi/0001-riscv64-ignore-unknown-relocs.patch
+8 −2 meta/recipes-bsp/gnu-efi/gnu-efi_3.0.17.bb
+1 −2 meta/recipes-connectivity/bluez5/bluez5_5.68.bb
+0 −510 meta/recipes-core/gettext/gettext-minimal-0.21.1/Makefile.in.in
+0 −386 meta/recipes-core/gettext/gettext-minimal-0.21.1/aclocal/gettext.m4
+0 −678 meta/recipes-core/gettext/gettext-minimal-0.21.1/aclocal/host-cpu-c-abi.m4
+0 −283 meta/recipes-core/gettext/gettext-minimal-0.21.1/aclocal/iconv.m4
+0 −65 meta/recipes-core/gettext/gettext-minimal-0.21.1/aclocal/intlmacosx.m4
+0 −168 meta/recipes-core/gettext/gettext-minimal-0.21.1/aclocal/lib-ld.m4
+0 −813 meta/recipes-core/gettext/gettext-minimal-0.21.1/aclocal/lib-link.m4
+0 −323 meta/recipes-core/gettext/gettext-minimal-0.21.1/aclocal/lib-prefix.m4
+0 −32 meta/recipes-core/gettext/gettext-minimal-0.21.1/aclocal/nls.m4
+0 −454 meta/recipes-core/gettext/gettext-minimal-0.21.1/aclocal/po.m4
+0 −91 meta/recipes-core/gettext/gettext-minimal-0.21.1/aclocal/progtest.m4
+0 −684 meta/recipes-core/gettext/gettext-minimal-0.21.1/config.rpath
+0 −25 meta/recipes-core/gettext/gettext-minimal-0.21.1/remove-potcdate.sin
+26 −10 meta/recipes-core/gettext/gettext-minimal-native_0.21.1.bb
+4 −0 meta/recipes-core/gettext/gettext-sources.inc
+3 −3 meta/recipes-core/gettext/gettext_0.21.1.bb
+4 −4 meta/recipes-core/glibc/glibc-locale.inc
+1 −0 meta/recipes-core/images/core-image-minimal-initramfs.bb
+1 −0 meta/recipes-core/images/core-image-tiny-initramfs.bb
+1 −1 meta/recipes-core/kbd/kbd_2.6.1.bb
+2 −10 meta/recipes-core/meta/buildtools-extended-tarball.bb
+1 −9 meta/recipes-core/meta/uninative-tarball.bb
+462 −0 meta/recipes-core/ncurses/files/0001-Fix-CVE-2023-29491.patch
+1 −0 meta/recipes-core/ncurses/ncurses_6.4.bb
+1 −1 meta/recipes-core/ovmf/ovmf-shell-image.bb
+0 −0 meta/recipes-core/systemd/systemd-boot_253.7.bb
+1 −1 meta/recipes-core/systemd/systemd.inc
+0 −0 meta/recipes-core/systemd/systemd_253.7.bb
+0 −0 meta/recipes-core/util-linux/util-linux-libuuid_2.39.1.bb
+4 −6 meta/recipes-core/util-linux/util-linux.inc
+0 −53 meta/recipes-core/util-linux/util-linux/0001-check-for-sys-pidfd.h.patch
+0 −40 meta/recipes-core/util-linux/util-linux/0001-configure.ac-Improve-check-for-magic.patch
+9 −1 meta/recipes-core/util-linux/util-linux/run-ptest
+0 −0 meta/recipes-core/util-linux/util-linux_2.39.1.bb
+4 −4 meta/recipes-devtools/jquery/jquery_3.7.0.bb
+31 −0 meta/recipes-devtools/patchelf/patchelf/0001-Set-interpreter-only-when-necessary.patch
+42 −0 meta/recipes-devtools/patchelf/patchelf/0002-align-startOffset-with-p_align-instead-of-pagesize-f.patch
+32 −0 meta/recipes-devtools/patchelf/patchelf/0003-make-LOAD-segment-extensions-based-on-p_align-instea.patch
+5 −1 meta/recipes-devtools/patchelf/patchelf_0.18.0.bb
+1 −1 meta/recipes-devtools/python/python3-certifi_2023.7.22.bb
+1 −1 meta/recipes-devtools/python/python3-more-itertools_10.0.0.bb
+1 −4 meta/recipes-devtools/python/python3-sphinx_7.1.1.bb
+1 −1 meta/recipes-devtools/python/python3-wheel_0.41.0.bb
+0 −303 meta/recipes-devtools/strace/strace/00ace1392f5bd289239b755458dcdeeed69af1da.patch
+0 −50 meta/recipes-devtools/strace/strace/3bbfb541b258baec9eba674b5d8dc30007a61542.patch
+0 −50 meta/recipes-devtools/strace/strace/f31c2f4494779e5c5f170ad10539bfc2dfafe967.patch
+1 −4 meta/recipes-devtools/strace/strace_6.4.bb
+4 −3 meta/recipes-extended/acpica/acpica_20230628.bb
+1 −1 meta/recipes-extended/images/core-image-full-cmdline.bb
+1 −1 meta/recipes-extended/images/core-image-testcontroller-initramfs.bb
+1 −1 meta/recipes-extended/images/core-image-testcontroller.bb
+2 −0 meta/recipes-extended/libarchive/libarchive_3.6.2.bb
+37 −0 meta/recipes-extended/procps/procps/0001-po-fr.po-address-failures-with-gettext-0.22.patch
+1 −0 meta/recipes-extended/procps/procps_4.0.3.bb
+0 −25 meta/recipes-extended/sudo/files/0001-lib-util-mksigname.c-correctly-include-header-for-ou.patch
+2 −3 meta/recipes-extended/sudo/sudo.inc
+1 −2 meta/recipes-extended/sudo/sudo_1.9.14p2.bb
+3 −2 meta/recipes-gnome/epiphany/epiphany_44.5.bb
+0 −36 meta/recipes-gnome/gcr/gcr3/0001-meson.build-correctly-handle-disabled-ssh_agent-opti.patch
+0 −59 meta/recipes-gnome/gcr/gcr3_3.41.1.bb
+25 −0 meta/recipes-gnome/libadwaita/libadwaita_1.3.3.bb
+3 −1 meta/recipes-gnome/librsvg/librsvg_2.56.1.bb
+20 −6 meta/recipes-kernel/linux-firmware/linux-firmware_20230625.bb
+1 −1 meta/recipes-kernel/linux/cve-exclusion_6.1.inc
+77 −0 meta/recipes-multimedia/ffmpeg/ffmpeg/0001-avcodec-x86-mathops-clip-constants-used-with-shift-i.patch
+1 −0 meta/recipes-multimedia/ffmpeg/ffmpeg_6.0.bb
+1 −0 meta/recipes-sato/images/core-image-sato.bb
+3 −2 meta/recipes-sato/webkit/webkitgtk_2.40.2.bb
+2 −0 scripts/lib/devtool/standard.py

0 comments on commit 64a52ba

Please sign in to comment.