From c5969746a4f07885f9c6358e2b4962b2c0cc47d5 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Thu, 16 Nov 2023 16:56:51 -0800 Subject: [PATCH 01/10] qemucommon: Delete obsoleted QEMU_USE_SLIRP Also use append instead of += so these options can always be added when enabled. Signed-off-by: Khem Raj --- conf/projects/qemucommon/config.conf | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/conf/projects/qemucommon/config.conf b/conf/projects/qemucommon/config.conf index 21defbc21..7206a5c65 100644 --- a/conf/projects/qemucommon/config.conf +++ b/conf/projects/qemucommon/config.conf @@ -23,12 +23,11 @@ IMAGE_FSTYPES:remove = "tar.bz2 tar.xz tar tar.gz wic.xz wic.bmap" # use kvm with x86/x86_64 qemu QEMU_USE_KVM = "1" # normal networking requires sudo access slirp does not -#QEMU_USE_SLIRP = "1" -#TEST_RUNQEMUPARAMS = "slirp" +#TEST_RUNQEMUPARAMS:append = " slirp" #TEST_SERVER_IP = "10.0.2.2:8000" # Launch vnc backend during testing -#TEST_RUNQEMUPARAMS = "publicvnc" +#TEST_RUNQEMUPARAMS:append = " publicvnc" # needed for running ptests automatically PACKAGE_FEED_URIS ?= "" # Needed for ptest runs From 15565f9dc8555c681189c6cbf9f6ba3c9e0bb282 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Thu, 16 Nov 2023 17:00:56 -0800 Subject: [PATCH 02/10] Layer Updates: sources/meta-freescale-3rdparty sources/meta-openembedded sources/meta-qcom sources/meta-qt6 sources/meta-raspberrypi sources/meta-riscv sources/meta-rockchip sources/meta-ti sources/poky * sources/meta-freescale-3rdparty bf46965...a9bba0f (1): > Merge pull request #287 from chrisdimich/master * sources/meta-openembedded f110988708...3029554ceb (37): > bolt: upgrade 0.9.5 -> 0.9.6 > unbound: upgrade 1.18.0 -> 1.19.0 > static-id: add missing netdata group > python3-gpiod: setup target config in ptest compile > meta-oe/static-ids: Change postgres to 28 to match forced id in recipe > juce/projucer: Backport a fix for the compilation under recent GCC > pkggrp: drop netkit > README: drop netkit maintainer > MAINTANERS: drop netkit > netkit: Drop old and no upstream > libebml: Enable shared libraries > libopenmpt: Added license change reason and dropped md5sum > fuse-exfat: Dropped md5sum > system-config-printer: Add cups to rdepends > gnome-control-center: Add rdepends > python3-pystemd: upgrade 0.10.0 -> 0.13.2 > python3-zeroconf: upgrade 0.120.0 -> 0.126.0 > python3-py7zr: Upgrade 0.20.7 -> 0.20.8 > python3-polyline: upgrade 1.4.0 -> 2.0.1 > python3-pillow: Upgrade 10.0.1 -> 10.1.0 > emlog: ignore CVE-2022-3968 & CVE-2023-43291 > gtksourceview4: Upgrade 4.8.2 -> 4.8.4 > gimp: Update to 2.10.36 > gstd: Upgrade to 0.15.0 > yelp: Use autotools for build system > beep: Upgrade to 1.4.12 > packagegroup-meta-multimedia: Remove dleyna recipes > dleyna: Skip all dleyna recipes, slated for removal > dleyna-core: Update to tip of master > python3-bitarray: Upgrade 2.8.2 -> 2.8.3 > python3-wrapt: Upgrade 1.15.0 -> 1.16.0 > python3-file-magic: add recipe > dlt-daemon: cherry-pick another upstream-proposed patch > protobuf: stage protoc binary to sysroot > gnome-terminal: Add missing dependency on libhandy > gnome-console: Add missing dependency on gtk4-native > cannelloni: Fix build with clang and libc++ runtime * sources/meta-qcom 288b3cc...41e37ca (5): > Merge pull request #544 from quic-vkraleti/master > Merge pull request #546 from lumag/8150-hdk > Merge pull request #543 from lumag/drop-32-bit > Merge pull request #545 from lumag/modem-ci > Merge pull request #542 from lumag/yocto-scsi-ufs * sources/meta-qt6 0735804...8deccea (1): > Merge pull request #18 from YoeDistro/kraj/6.6 * sources/meta-raspberrypi 6ef8b57...eb79172 (2): > rpi-eeprom: Update to 2023.10.18-2712 > linux-raspberrypi_6.1.bb: Update to 6.1.61 release * sources/meta-riscv 57be39c...951d4de (1): > Add support for milkv-duo board * sources/meta-rockchip 3d91ea1...265e8c3 (1): > allow KERNEL_IMAGETYPE override * sources/meta-ti 461b6aa7...d29501f8 (3): > conf: machine: am62xx-lp-evm.conf: Pick MCU GPIO wakeup overlay > kernel-fitimage: Remove signing of fitImage entries for 5.10 kernel > linux-ti-staging: Remove kernel v5.10 packages * sources/poky abf3e54d118...cdecc1f6056 (19): > bitbake: toaster/tests: Add UI TestCase for deleting project > bitbake: toaster/tox.ini: Add py 3.11 and 3.12 > bitbake: runqueue: Refactor StaleSetSceneTasks event out of build_scenequeue_data > bitbake: runqueue: Move 'cantskip' into sqdata > selftest/reproducible: Allow packages exclusion via config > selftest/reproducible: Split a long line > vim: Improve locale handling > bitbake: toaster: test_create_new_project typos, whitespace > bitbake: toaster: fix obsolete use of find_element_by_link_text > bitbake: toaster: use docs for BitBake link on landing page > bitbake: asyncrpc: Add option to set log level when running as a process > bitbake: toaster: drop deprecated USE_L10N from settings > bitbake: codegen: cleanup deprecated AST usages > bitbake: toaster/tests: Add UI TestCase to test "show rows" feature, change displaying rows in table > bitbake: toaster/tests: Add UI TestCase to test "edit column" feature show/hide column > bitbake: toaster/tests: Add UI TestCase to test filtering feature on 'completed_on' column > bitbake: toaster/tests: Add UI TestCase to test the filtering feature on 'failure tasks' column > bitbake: toaster/tests: Add UI TestCase to test search box on all build page > bitbake: toaster/tests: Add UI TestCase to test if 'no build' message is shown Signed-off-by: Khem Raj --- sources/meta-freescale-3rdparty | 2 +- sources/meta-openembedded | 2 +- sources/meta-qcom | 2 +- sources/meta-qt6 | 2 +- sources/meta-raspberrypi | 2 +- sources/meta-riscv | 2 +- sources/meta-rockchip | 2 +- sources/meta-ti | 2 +- sources/poky | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/sources/meta-freescale-3rdparty b/sources/meta-freescale-3rdparty index bf46965ca..a9bba0f7f 160000 --- a/sources/meta-freescale-3rdparty +++ b/sources/meta-freescale-3rdparty @@ -1 +1 @@ -Subproject commit bf46965ca7b5e004f8db68c7fc4defeafe83e0f2 +Subproject commit a9bba0f7fc3765431433886a3e78632dcfa7ad26 diff --git a/sources/meta-openembedded b/sources/meta-openembedded index f11098870..3029554ce 160000 --- a/sources/meta-openembedded +++ b/sources/meta-openembedded @@ -1 +1 @@ -Subproject commit f1109887083d97365e3e0c292a76cb0195af269d +Subproject commit 3029554ceb0b0bb52a8d8ec3f0a75c5113662fe6 diff --git a/sources/meta-qcom b/sources/meta-qcom index 288b3cc81..41e37ca4f 160000 --- a/sources/meta-qcom +++ b/sources/meta-qcom @@ -1 +1 @@ -Subproject commit 288b3cc817484c6ff218cf1cd87dd1db0261ba52 +Subproject commit 41e37ca4f4fb9fac66b2ef8ad6c65f497274003a diff --git a/sources/meta-qt6 b/sources/meta-qt6 index 0735804ac..8deccea1f 160000 --- a/sources/meta-qt6 +++ b/sources/meta-qt6 @@ -1 +1 @@ -Subproject commit 0735804ac1332f77c3713f963939fde6917563a1 +Subproject commit 8deccea1f74d9738699c2d153724f36a652887ca diff --git a/sources/meta-raspberrypi b/sources/meta-raspberrypi index 6ef8b576b..eb79172bc 160000 --- a/sources/meta-raspberrypi +++ b/sources/meta-raspberrypi @@ -1 +1 @@ -Subproject commit 6ef8b576b8c24177c75d676e5846f826bc0951d8 +Subproject commit eb79172bc9dd30a5f332b118ff4b66951a46cc4a diff --git a/sources/meta-riscv b/sources/meta-riscv index 57be39c1d..951d4de35 160000 --- a/sources/meta-riscv +++ b/sources/meta-riscv @@ -1 +1 @@ -Subproject commit 57be39c1d28606adbe59af53106b9aff9c9d378c +Subproject commit 951d4de35c3da143248e0d50134741c1b7703092 diff --git a/sources/meta-rockchip b/sources/meta-rockchip index 3d91ea1db..265e8c3df 160000 --- a/sources/meta-rockchip +++ b/sources/meta-rockchip @@ -1 +1 @@ -Subproject commit 3d91ea1db49c42e7024513e8113a0a193fec06a8 +Subproject commit 265e8c3df24e32b846d8179a5a4728065f151b1b diff --git a/sources/meta-ti b/sources/meta-ti index 461b6aa70..d29501f88 160000 --- a/sources/meta-ti +++ b/sources/meta-ti @@ -1 +1 @@ -Subproject commit 461b6aa70aa28a3ce1fa8dc6882399238a946425 +Subproject commit d29501f882e2297701c0f22fbd187161c7acc50b diff --git a/sources/poky b/sources/poky index abf3e54d1..cdecc1f60 160000 --- a/sources/poky +++ b/sources/poky @@ -1 +1 @@ -Subproject commit abf3e54d118139e1fcd952a691b77a0c53db6a30 +Subproject commit cdecc1f6056a9f4ff15c6af91c15262172d04b57 From d80b5a1b8fd27be2a9f0ef330eab6e2c90af5c72 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Thu, 16 Nov 2023 17:51:04 -0800 Subject: [PATCH 03/10] qemucommon: Cleanup config Remove redundant settings which are now default in testimage class Signed-off-by: Khem Raj --- conf/projects/qemucommon/config.conf | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/conf/projects/qemucommon/config.conf b/conf/projects/qemucommon/config.conf index 7206a5c65..c007af892 100644 --- a/conf/projects/qemucommon/config.conf +++ b/conf/projects/qemucommon/config.conf @@ -4,14 +4,7 @@ YOE_PROFILE = "yoe-glibc-systemd-wayland" # usually not changed often # Add 4G space to QEMU image #IMAGE_ROOTFS_EXTRA_SPACE:append = " + 4000000" -# common -#TEST_SERVER_IP = "10.0.0.13" -# QEMU -#TEST_TARGET_IP = "192.168.7.2" #TEST_QEMUBOOT_TIMEOUT = "100" -#TEST_TARGET = "qemu" -#TEST_TARGET = "simpleremote" -#TFTP_SERVER_IP = "10.0.0.13" # Enable clang static analyzer #INHERIT += "scan-build" @@ -20,18 +13,15 @@ YOE_PROFILE = "yoe-glibc-systemd-wayland" IMAGE_FSTYPES:append = " wic.xz wic.bmap tar.xz" IMAGE_FSTYPES:remove = "tar.bz2 tar.xz tar tar.gz wic.xz wic.bmap" -# use kvm with x86/x86_64 qemu -QEMU_USE_KVM = "1" # normal networking requires sudo access slirp does not #TEST_RUNQEMUPARAMS:append = " slirp" -#TEST_SERVER_IP = "10.0.2.2:8000" # Launch vnc backend during testing #TEST_RUNQEMUPARAMS:append = " publicvnc" # needed for running ptests automatically PACKAGE_FEED_URIS ?= "" # Needed for ptest runs -EXTRA_IMAGE_FEATURES += "debug-tweaks" +EXTRA_IMAGE_FEATURES:append = " debug-tweaks" IMG_VERSION = "0.0.1" ##################################################################### From 6a5c1a49798037f142ff86601b60acb53f17de05 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Thu, 16 Nov 2023 17:04:41 -0800 Subject: [PATCH 04/10] CHANGELOG.md: Document changes Signed-off-by: Khem Raj --- CHANGELOG.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cc5092d83..2c1cf0af2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -33,6 +33,8 @@ and this project adheres to - Use meson as default buildsystem for gnomebase.bbclass - Adjust recipes in meta-openembedded to work with meson defaults for gnomebase.bbclass +- Obsolete dleyna related recipes +- Update linux-raspberrypi to 6.1.61 ### Added @@ -44,7 +46,7 @@ and this project adheres to - reptyr, python3-unoconv, python3-screeninfo, python3-zopeevent - python3-flask-restx, exiftool, python3-pdm, python3-pdm-backend - python3-wand, python3-py7zr, python3-pyppmd, python3-pybcj - - bindfs, kmsxx + - bindfs, kmsxx, python3-file-magic - Add KAS support in meta-riscv - Add handler to create go recipes Add go-vendor class - Add recipetool handler to create go recipes @@ -57,7 +59,7 @@ and this project adheres to ### Removed - Remove ${CCACHE} from FORTRAN compiler in bitbake config file -- Removed recipes - libcroco +- Removed recipes - libcroco, netkit - Drop obsolete SERIAL_CONSOLES_CHECK for all machines - Dropped recipes: - python3-nacl, toscoterm From c5c47a414ca7ae9102a43bc45fc764fd0c79bb9c Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Thu, 16 Nov 2023 18:49:51 -0800 Subject: [PATCH 05/10] local.sh.example: Document port 8000 usage Fix exporting DOCKER_EXTRA_ARGS Signed-off-by: Khem Raj --- local.sh.example | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/local.sh.example b/local.sh.example index 41c14b912..57ff8b613 100644 --- a/local.sh.example +++ b/local.sh.example @@ -34,9 +34,10 @@ # format is host-port:container-port e.g. # 5900 is for VNC # 8181 is for clang static analyzer bitbake -cscanview +# 8000 is for opkg feedserver #export DOCKER_PORTS="5900:5900 8181:8181" # Pass additional options to launch docker # --net=host is used to expose host network to # container, e.g. TAP devices created on host are accessible inside # docker needed for running ptests e.g. core-image-ptest-all -#DOCKER_EXTRA_ARGS = "--net=host" +#export DOCKER_EXTRA_ARGS="--net=host" From 0889883a7f1c5c76a7cde8c6adc9698d6895a878 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 17 Nov 2023 20:50:05 -0800 Subject: [PATCH 06/10] odroid-c4: Enable linuxfb in QT Signed-off-by: Khem Raj --- conf/projects/odroid-c4/config.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/conf/projects/odroid-c4/config.conf b/conf/projects/odroid-c4/config.conf index a9c673cda..196e77674 100644 --- a/conf/projects/odroid-c4/config.conf +++ b/conf/projects/odroid-c4/config.conf @@ -24,6 +24,9 @@ OLDEST_KERNEL = "4.9" #TEST_SERVER_IP = "10.0.0.13" TEST_TARGET = "simpleremote" +# 4.9 kernel as such can not do drm backends +PACKAGECONFIG_GRAPHICS:append:pn-qtbase = " linuxfb" + IMG_VERSION = "0.0.1" ##################################################################### # add project specific configuration below this line From aa88293e755dc107a9c994981c350e86e2ee742f Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 17 Nov 2023 20:51:02 -0800 Subject: [PATCH 07/10] odroid-c4: Use eglfs backend by default Signed-off-by: Khem Raj --- conf/projects/odroid-c4/config.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/projects/odroid-c4/config.conf b/conf/projects/odroid-c4/config.conf index 196e77674..ee3fb4505 100644 --- a/conf/projects/odroid-c4/config.conf +++ b/conf/projects/odroid-c4/config.conf @@ -1,7 +1,7 @@ MACHINE = "odroid-c4-hardkernel" DISTRO = "yoe" # "yoe---" -YOE_PROFILE = "yoe-glibc-systemd-wayland" +YOE_PROFILE = "yoe-glibc-systemd-eglfs" # Acknowledge that Synaptics can revoke their license at any time on the # Rapsberry pi firmware From d784c3cb2afaca2430c75ef7f649bbe046f6216e Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 17 Nov 2023 21:02:55 -0800 Subject: [PATCH 08/10] yoe-kiosk-browser: Add option to install linuxfb version of systemd unit Signed-off-by: Khem Raj --- .../qt6-layer/recipes-qt/kiosk-browser/yoe-kiosk-browser.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sources/meta-yoe/dynamic-layers/qt6-layer/recipes-qt/kiosk-browser/yoe-kiosk-browser.bb b/sources/meta-yoe/dynamic-layers/qt6-layer/recipes-qt/kiosk-browser/yoe-kiosk-browser.bb index a24129c1e..08e1c81f8 100644 --- a/sources/meta-yoe/dynamic-layers/qt6-layer/recipes-qt/kiosk-browser/yoe-kiosk-browser.bb +++ b/sources/meta-yoe/dynamic-layers/qt6-layer/recipes-qt/kiosk-browser/yoe-kiosk-browser.bb @@ -32,9 +32,11 @@ do_install:append() { echo "Browser URL: ${YOE_KIOSK_BROWSER_URL}" if ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'true', 'false', d)}; then install -D -m 0644 ${S}/yoe-kiosk-browser-wayland.service ${D}${systemd_unitdir}/system/yoe-kiosk-browser.service - else + elif ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'true', 'false', d)}; then install -D -m 0644 ${S}/yoe-kiosk-browser-eglfs.service ${D}${systemd_unitdir}/system/yoe-kiosk-browser.service install -D -m 0644 ${S}/eglfs.json ${D}${sysconfdir}/default/eglfs.json + else + install -D -m 0644 ${S}/yoe-kiosk-browser-linuxfb.service ${D}${systemd_unitdir}/system/yoe-kiosk-browser.service fi install -D -m 0644 ${S}/yoe-kiosk-browser-env ${D}${sysconfdir}/default/yoe-kiosk-browser From d8d9576f9bd5cc70c410c2842e6bf5bbbf2f085f Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 17 Nov 2023 21:23:49 -0800 Subject: [PATCH 09/10] graphics.inc: openGL is not hard requirement We can also run kiosk-broswer over linuxfb Signed-off-by: Khem Raj --- sources/meta-yoe/recipes-core/images/graphics.inc | 2 -- 1 file changed, 2 deletions(-) diff --git a/sources/meta-yoe/recipes-core/images/graphics.inc b/sources/meta-yoe/recipes-core/images/graphics.inc index 80dc27684..5018282f9 100644 --- a/sources/meta-yoe/recipes-core/images/graphics.inc +++ b/sources/meta-yoe/recipes-core/images/graphics.inc @@ -1,7 +1,5 @@ inherit features_check -REQUIRED_DISTRO_FEATURES = "opengl" - X11PKGS = "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', '', 'packagegroup-core-x11 packagegroup-xfce-base', d)}" X11ONLYPKGS = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', '${X11PKGS}', '', d)}" X11FEATURE = "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', '', 'x11', d)}" From 7e370204d282d78e32698c182c1a89c54038a9ae Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 17 Nov 2023 21:24:36 -0800 Subject: [PATCH 10/10] odroid-c4: Remove openGL from distro features This helps in building image which runs on linuxfb out of box Signed-off-by: Khem Raj --- conf/projects/odroid-c4/config.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/conf/projects/odroid-c4/config.conf b/conf/projects/odroid-c4/config.conf index ee3fb4505..27c965664 100644 --- a/conf/projects/odroid-c4/config.conf +++ b/conf/projects/odroid-c4/config.conf @@ -3,6 +3,7 @@ DISTRO = "yoe" # "yoe---" YOE_PROFILE = "yoe-glibc-systemd-eglfs" +DISTRO_FEATURES:remove = "opengl" # Acknowledge that Synaptics can revoke their license at any time on the # Rapsberry pi firmware LICENSE_FLAGS_ACCEPTED += "\