Skip to content

Commit

Permalink
Merge pull request #870 from YoeDistro/kraj/master
Browse files Browse the repository at this point in the history
Update layers and fix docker for running ptests
  • Loading branch information
cbrake authored Nov 18, 2023
2 parents 3a68492 + 7e37020 commit 2a1510c
Show file tree
Hide file tree
Showing 15 changed files with 26 additions and 30 deletions.
6 changes: 4 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
Expand All @@ -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
Expand Down
6 changes: 5 additions & 1 deletion conf/projects/odroid-c4/config.conf
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
MACHINE = "odroid-c4-hardkernel"
DISTRO = "yoe"
# "yoe-<libc>-<init-system>-<windowing-system>"
YOE_PROFILE = "yoe-glibc-systemd-wayland"
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 += "\
Expand All @@ -24,6 +25,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
Expand Down
17 changes: 3 additions & 14 deletions conf/projects/qemucommon/config.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -20,19 +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
#QEMU_USE_SLIRP = "1"
#TEST_RUNQEMUPARAMS = "slirp"
#TEST_SERVER_IP = "10.0.2.2:8000"
#TEST_RUNQEMUPARAMS:append = " slirp"

# Launch vnc backend during testing
#TEST_RUNQEMUPARAMS = "publicvnc"
#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"
#####################################################################
Expand Down
3 changes: 2 additions & 1 deletion local.sh.example
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,10 @@
# format is host-port:container-port e.g.
# 5900 is for VNC
# 8181 is for clang static analyzer bitbake -cscanview <recipe>
# 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"
2 changes: 1 addition & 1 deletion sources/meta-freescale-3rdparty
2 changes: 1 addition & 1 deletion sources/meta-openembedded
Submodule meta-openembedded updated 89 files
+0 −1 meta-filesystems/recipes-filesystems/fuse-exfat/fuse-exfat_1.4.0.bb
+2 −1 meta-gnome/recipes-gimp/gimp/gimp_2.10.36.bb
+1 −1 meta-gnome/recipes-gnome/gnome-console/gnome-console_45.0.bb
+1 −1 meta-gnome/recipes-gnome/gnome-control-center/gnome-control-center_45.1.bb
+1 −0 meta-gnome/recipes-gnome/gnome-terminal/gnome-terminal_3.50.1.bb
+1 −1 meta-gnome/recipes-gnome/gtksourceview/gtksourceview4_4.8.4.bb
+1 −1 meta-gnome/recipes-gnome/yelp/yelp_42.2.bb
+1 −2 meta-multimedia/recipes-mkv/libebml/libebml_1.4.4.bb
+2 −0 meta-multimedia/recipes-multimedia/dleyna/dleyna-connector-dbus_0.3.0.bb
+3 −1 meta-multimedia/recipes-multimedia/dleyna/dleyna-core_0.6.0.bb
+2 −0 meta-multimedia/recipes-multimedia/dleyna/dleyna-renderer_0.6.0.bb
+2 −0 meta-multimedia/recipes-multimedia/dleyna/dleyna-server_0.6.0.bb
+0 −22 meta-multimedia/recipes-multimedia/gstreamer-1.0/gstd/0001-gstd-yocto-compatibility.patch
+18 −11 meta-multimedia/recipes-multimedia/gstreamer-1.0/gstd_git.bb
+2 −1 meta-multimedia/recipes-multimedia/juce/projucer.inc
+23 −0 ...multimedia/recipes-multimedia/juce/projucer/0001-StandardHeader-Include-utility-for-GCC-12-compatibil.patch
+1 −1 meta-multimedia/recipes-multimedia/libopenmpt/libopenmpt_0.7.3.bb
+0 −3 meta-multimedia/recipes-multimedia/packagegroups/packagegroup-meta-multimedia.bb
+0 −4 meta-networking/MAINTAINERS
+0 −1 meta-networking/README.md
+1 −0 ...etworking/dynamic-layers/meta-python/recipes-printing/system-config-printer/system-config-printer_1.5.18.bb
+37 −0 ...tworking/recipes-connectivity/cannelloni/cannelloni/0001-include-bits-stdc-.h-only-when-using-libstdc.patch
+3 −1 meta-networking/recipes-connectivity/cannelloni/cannelloni_1.1.0.bb
+0 −17 meta-networking/recipes-core/packagegroups/packagegroup-meta-networking.bb
+0 −32 meta-networking/recipes-netkit/netkit-ftp/netkit-ftp/0001-ftp-include-sys-types.h-for-u_long.patch
+0 −27 meta-networking/recipes-netkit/netkit-ftp/netkit-ftp/Add_ARG_MAX_define.patch
+0 −50 meta-networking/recipes-netkit/netkit-ftp/netkit-ftp_0.17.bb
+0 −53 meta-networking/recipes-netkit/netkit-rpc/netkit-rpc/0001-rpcgen-Fix-printf-formats.patch
+0 −39 meta-networking/recipes-netkit/netkit-rpc/netkit-rpc/gcc4.patch
+0 −51 meta-networking/recipes-netkit/netkit-rpc/netkit-rpc_0.17.bb
+0 −35 meta-networking/recipes-netkit/netkit-rsh/netkit-rsh/CVE-2019-7282-and-CVE-2019-7283.patch
+0 −27 meta-networking/recipes-netkit/netkit-rsh/netkit-rsh/fix-host-variable.patch
+0 −34 meta-networking/recipes-netkit/netkit-rsh/netkit-rsh/fixup_wait3_api_change.patch
+0 −30 meta-networking/recipes-netkit/netkit-rsh/netkit-rsh/netkit-rsh-0.17-rexec-ipv6.patch
+0 −39 meta-networking/recipes-netkit/netkit-rsh/netkit-rsh/no_pam_build_fix.patch
+0 −10 meta-networking/recipes-netkit/netkit-rsh/netkit-rsh/rexec.pam
+0 −20 meta-networking/recipes-netkit/netkit-rsh/netkit-rsh/rexec.xinetd.netkit
+0 −12 meta-networking/recipes-netkit/netkit-rsh/netkit-rsh/rlogin.pam
+0 −23 meta-networking/recipes-netkit/netkit-rsh/netkit-rsh/rlogin.xinetd.netkit
+0 −77 meta-networking/recipes-netkit/netkit-rsh/netkit-rsh/rsh-redone_link_order_file.patch
+0 −10 meta-networking/recipes-netkit/netkit-rsh/netkit-rsh/rsh.pam
+0 −21 meta-networking/recipes-netkit/netkit-rsh/netkit-rsh/rsh.xinetd.netkit
+0 −105 meta-networking/recipes-netkit/netkit-rsh/netkit-rsh_0.17.bb
+0 −120 meta-networking/recipes-netkit/netkit-rusers/netkit-rusers/0001-Link-with-libtirpc.patch
+0 −30 meta-networking/recipes-netkit/netkit-rusers/netkit-rusers/rpc.rusersd-Makefile-fix-parallel-build-issue.patch
+0 −72 meta-networking/recipes-netkit/netkit-rusers/netkit-rusers_0.17.bb
+0 −46 meta-networking/recipes-netkit/netkit-rwho/netkit-rwho/0001-Add-missing-include-path-to-I-options.patch
+0 −72 meta-networking/recipes-netkit/netkit-rwho/netkit-rwho/0002-Fix-build-issues-found-with-musl.patch
+0 −71 meta-networking/recipes-netkit/netkit-rwho/netkit-rwho/rwhod
+0 −2 meta-networking/recipes-netkit/netkit-rwho/netkit-rwho/rwhod.default
+0 −108 meta-networking/recipes-netkit/netkit-rwho/netkit-rwho_0.17.bb
+0 −457 meta-networking/recipes-netkit/netkit-telnet/files/0001-Drop-using-register-keyword.patch
+0 −116 meta-networking/recipes-netkit/netkit-telnet/files/0001-telnet-telnetd-Fix-deadlock-on-cleanup.patch
+0 −68 meta-networking/recipes-netkit/netkit-telnet/files/0001-telnet-telnetd-Fix-print-format-strings.patch
+0 −56 ...etworking/recipes-netkit/netkit-telnet/files/0001-telnetd-utility.c-Fix-buffer-overflow-in-netoprintf.patch
+0 −27 ...tworking/recipes-netkit/netkit-telnet/files/0001-utility-Include-time.h-form-time-and-strftime-protot.patch
+0 −112 meta-networking/recipes-netkit/netkit-telnet/files/CVE-2020-10188.patch
+0 −53 meta-networking/recipes-netkit/netkit-telnet/files/CVE-2022-39028.patch
+0 −1,217 meta-networking/recipes-netkit/netkit-telnet/files/To-aviod-buffer-overflow-in-telnet.patch
+0 −41 meta-networking/recipes-netkit/netkit-telnet/files/Warning-fix-in-the-step-of-install.patch
+0 −48 meta-networking/recipes-netkit/netkit-telnet/files/cross-compile.patch
+0 −14 meta-networking/recipes-netkit/netkit-telnet/files/telnet-xinetd
+0 −74 meta-networking/recipes-netkit/netkit-telnet/netkit-telnet_0.17.bb
+0 −27 meta-networking/recipes-netkit/netkit-tftp/netkit-tftp/0001-tftp-Include-missing-fcntl.h.patch
+0 −11 meta-networking/recipes-netkit/netkit-tftp/netkit-tftp/tftp.conf
+0 −59 meta-networking/recipes-netkit/netkit-tftp/netkit-tftp_0.17.bb
+1 −1 meta-networking/recipes-support/unbound/unbound_1.19.0.bb
+1 −1 meta-oe/files/static-group-meta-oe
+1 −1 meta-oe/files/static-passwd-meta-oe
+1 −1 meta-oe/recipes-bsp/bolt/bolt_0.9.6.bb
+2 −0 meta-oe/recipes-core/emlog/emlog_git.bb
+3 −0 meta-oe/recipes-devtools/protobuf/protobuf_4.23.4.bb
+3 −16 meta-oe/recipes-extended/beep/beep_1.4.12.bb
+0 −63 meta-oe/recipes-extended/beep/files/0001-Do-not-use-Werror-as-it-fails-with-newer-clang-11.patch
+78 −0 meta-oe/recipes-extended/beep/files/0001-beep-library-Make-it-compatible-with-c99.patch
+36 −0 meta-oe/recipes-extended/dlt-daemon/dlt-daemon/567.patch
+1 −0 meta-oe/recipes-extended/dlt-daemon/dlt-daemon_2.18.10.bb
+3 −2 meta-python/recipes-devtools/python/python3-bitarray_2.8.3.bb
+21 −0 meta-python/recipes-devtools/python/python3-file-magic_0.4.1.bb
+2 −1 meta-python/recipes-devtools/python/python3-gpiod_2.1.3.bb
+1 −1 meta-python/recipes-devtools/python/python3-pillow_10.1.0.bb
+0 −26 meta-python/recipes-devtools/python/python3-polyline_1.4.0.bb
+25 −0 meta-python/recipes-devtools/python/python3-polyline_2.0.1.bb
+1 −1 meta-python/recipes-devtools/python/python3-py7zr_0.20.8.bb
+9 −2 meta-python/recipes-devtools/python/python3-pystemd_0.13.2.bb
+1 −1 meta-python/recipes-devtools/python/python3-wrapt_1.16.0.bb
+1 −1 meta-python/recipes-devtools/python/python3-zeroconf_0.126.0.bb
+1 −0 meta-webserver/files/static-group-meta-webserver
+1 −1 meta-webserver/files/static-passwd-meta-webserver
2 changes: 1 addition & 1 deletion sources/meta-qt6
2 changes: 1 addition & 1 deletion sources/meta-riscv
Submodule meta-riscv updated 1 files
+6 −0 kas/milkv-duo.yml
2 changes: 1 addition & 1 deletion sources/meta-ti
Submodule meta-ti updated 23 files
+0 −214 meta-ti-bsp/classes/kernel-fitimage-ti-u-boot.bbclass
+1 −0 meta-ti-bsp/conf/machine/am62xx-lp-evm.conf
+0 −353 meta-ti-bsp/recipes-kernel/linux/files/0001-ata-ahci-fix-enum-constants-for-gcc-13.patch
+0 −1 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-5.10/defconfig
+0 −1 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-5.10/dra7xx/defconfig
+0 −1 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-5.10/k3/defconfig
+0 −1 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-5.10/omapl138/defconfig
+0 −1 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-5.10/ti33x/defconfig
+0 −1 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-5.10/ti43x/defconfig
+0 −1 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-5.10/defconfig
+0 −1 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-5.10/dra7xx/defconfig
+0 −1 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-5.10/k3/defconfig
+0 −1 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-5.10/ti33x/defconfig
+0 −1 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-5.10/ti43x/defconfig
+0 −10 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt_5.10.bb
+0 −1 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-systest-5.10/defconfig
+0 −1 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-systest-5.10/dra7xx/defconfig
+0 −1 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-systest-5.10/k3/defconfig
+0 −1 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-systest-5.10/omapl138/defconfig
+0 −1 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-systest-5.10/ti33x/defconfig
+0 −1 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-systest-5.10/ti43x/defconfig
+0 −5 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-systest_5.10.bb
+0 −48 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_5.10.bb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions sources/meta-yoe/recipes-core/images/graphics.inc
Original file line number Diff line number Diff line change
@@ -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)}"
Expand Down

0 comments on commit 2a1510c

Please sign in to comment.