Skip to content

Commit

Permalink
Merge pull request #268 from YoeDistro/kraj/master
Browse files Browse the repository at this point in the history
improve automated testing on qemu
  • Loading branch information
cbrake authored Feb 10, 2020
2 parents 84e00f7 + bc21c57 commit 2b79b04
Show file tree
Hide file tree
Showing 11 changed files with 26 additions and 9 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ Install `docker` on host distribution
- RPM based systems - `sudo dnf install docker`
- Archlinux based systems - `sudo pacman -S docker`

Install nftable version of iptables on host distribution
this is needed for VNC port forwarding to work on docker

- Archlinux based sytems - `sudo pacman -S iptables-nft`

## Workspace Setup

1. `git clone --recurse-submodules -j8 -b master git://github.com/YoeDistro/yoe-distro.git yoe`
Expand Down
8 changes: 7 additions & 1 deletion conf/site.conf
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,15 @@ SDK_UPDATE_URL ??= "http://10.0.0.10:8000"
# seen. The line below enable the SDL backend too. By default libsdl2-native will
# be built, if you want to use your host's libSDL instead of the minimal libsdl built
# by libsdl2-native then uncomment the ASSUME_PROVIDED line below.
PACKAGECONFIG_append_pn-qemu-system-native = " sdl"
#PACKAGECONFIG_append_pn-qemu-system-native = " sdl"
#ASSUME_PROVIDED += "libsdl2-native"

IMAGE_CLASSES += "testimage testsdk"
# use kvm with x86/x86_64 qemu
QEMU_USE_KVM = "1"
# Launch vnc backend during testing
TEST_RUNQEMUPARAMS = "publicvnc"

# Enable llvm-pipe
PACKAGECONFIG_append_pn-mesa_qemux86 = " gallium-llvm"
PACKAGECONFIG_append_pn-mesa_qemux86-64 = " gallium-llvm"
Expand Down
6 changes: 6 additions & 0 deletions envsetup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -478,6 +478,11 @@ dkr() {
else
PSEUDO_TTY="-t"
fi
if [ -z "$DOCKER_FORWARD_VNC" ]; then
VNC_PORT=""
else
VNC_PORT="-p 5900:5900"
fi

SSH_AUTH_DIR=~/

Expand All @@ -504,6 +509,7 @@ dkr() {
-e MACHINE=$MACHINE \
-w ${OE_BASE} \
--user $(id -u):$(id -g) \
$VNC_PORT \
${DOCKER_REPO} /bin/bash -c "$CMD $@"
}

Expand Down
2 changes: 1 addition & 1 deletion sources/meta-openembedded
Submodule meta-openembedded updated 46 files
+17 −0 meta-gnome/recipes-gimp/babl/babl_0.1.74.bb
+32 −0 meta-gnome/recipes-gimp/gegl/gegl/0001-meson.build-Give-note-if-sdl2-was-found.patch
+61 −0 meta-gnome/recipes-gimp/gegl/gegl_0.4.20.bb
+60 −0 meta-gnome/recipes-gimp/gimp/gimp_2.10.14.bb
+24 −0 meta-gnome/recipes-gimp/mypaint/libmypaint_git.bb
+12 −0 meta-gnome/recipes-gimp/mypaint/mypaint-brushes-1.0_git.bb
+12 −0 meta-gnome/recipes-gnome/libchamplain/libchamplain_0.12.20.bb
+58 −0 meta-networking/recipes-connectivity/freeradius/files/0001-rlm_python3-add-PY_INC_DIR-in-search-dir.patch
+0 −104 meta-networking/recipes-connectivity/freeradius/files/0001-su-to-radiusd-user-group-when-rotating-logs.patch
+19 −16 meta-networking/recipes-connectivity/freeradius/freeradius_3.0.20.bb
+60 −0 meta-networking/recipes-protocols/mdns/files/0001-Create-subroutine-for-cleaning-recent-interfaces.patch
+58 −0 meta-networking/recipes-protocols/mdns/files/0002-Create-subroutine-for-tearing-down-an-interface.patch
+50 −0 meta-networking/recipes-protocols/mdns/files/0003-Track-interface-socket-family.patch
+177 −0 meta-networking/recipes-protocols/mdns/files/0004-Use-list-for-changed-interfaces.patch
+212 −0 meta-networking/recipes-protocols/mdns/files/0005-Handle-noisy-netlink-sockets.patch
+51 −0 meta-networking/recipes-protocols/mdns/files/0006-Remove-unneeded-function.patch
+129 −0 meta-networking/recipes-protocols/mdns/files/0007-Indicate-loopback-interface-to-mDNS-core.patch
+39 −0 meta-networking/recipes-protocols/mdns/files/0008-Mark-deleted-interfaces-as-being-changed.patch
+45 −0 meta-networking/recipes-protocols/mdns/files/0009-Fix-possible-NULL-dereference.patch
+62 −0 meta-networking/recipes-protocols/mdns/files/0010-Handle-errors-from-socket-calls.patch
+51 −0 meta-networking/recipes-protocols/mdns/files/0011-Change-a-dynamic-allocation-to-file-scope-variable.patch
+11 −0 meta-networking/recipes-protocols/mdns/mdns_878.260.1.bb
+1 −0 meta-oe/recipes-connectivity/modemmanager/modemmanager_1.12.4.bb
+50 −0 meta-oe/recipes-core/dbus/dbus-broker/0005-launch-policy-fix-crash-when-importing-selinux.patch
+59 −0 meta-oe/recipes-core/dbus/dbus-broker/0006-launch-policy-fix-crash-when-exporting-selinux.patch
+2 −0 meta-oe/recipes-core/dbus/dbus-broker_21.bb
+3 −3 meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb
+0 −13 meta-oe/recipes-graphics/babl/babl_0.1.62.bb
+0 −21 meta-oe/recipes-graphics/gegl/gegl/pkgconfig.patch
+0 −34 meta-oe/recipes-graphics/gegl/gegl_0.3.18.bb
+0 −38 meta-oe/recipes-graphics/gimp/gimp/0001-configure-ac-do-not-check-for-freetype-config.patch
+0 −34 meta-oe/recipes-graphics/gimp/gimp/0003-Fix-use-of-gegl-API.patch
+0 −53 meta-oe/recipes-graphics/gimp/gimp/bump_Babl-GEGL_versions.patch
+0 −52 meta-oe/recipes-graphics/gimp/gimp_2.8.22.bb
+1 −1 meta-oe/recipes-graphics/tigervnc/tigervnc_1.10.1.bb
+12 −0 meta-oe/recipes-multimedia/mplayer/mpv/python3.patch
+0 −85 meta-oe/recipes-multimedia/mplayer/mpv_0.26.0.bb
+115 −0 meta-oe/recipes-multimedia/mplayer/mpv_0.32.0.bb
+0 −15 meta-python/recipes-devtools/python/python-alembic.inc
+0 −2 meta-python/recipes-devtools/python/python3-aiohttp_3.5.4.bb
+6 −6 meta-python/recipes-devtools/python/python3-aiohttp_3.6.2.bb
+0 −2 meta-python/recipes-devtools/python/python3-alembic_1.3.2.bb
+17 −0 meta-python/recipes-devtools/python/python3-alembic_1.4.0.bb
+6 −0 meta-webserver/recipes-httpd/nginx/nginx_1.16.1.bb
+0 −6 meta-webserver/recipes-httpd/nginx/nginx_1.17.0.bb
+2 −2 meta-webserver/recipes-httpd/nginx/nginx_1.17.8.bb
2 changes: 1 addition & 1 deletion sources/meta-python2
2 changes: 1 addition & 1 deletion sources/meta-qcom
2 changes: 1 addition & 1 deletion sources/openembedded-core
Submodule openembedded-core updated 79 files
+1 −1 meta/classes/insane.bbclass
+34 −15 meta/classes/kernel-yocto.bbclass
+71 −9 meta/classes/package.bbclass
+1 −1 meta/classes/sstate.bbclass
+1 −1 meta/conf/bitbake.conf
+0 −2 meta/conf/distro/include/maintainers.inc
+1 −1 meta/lib/oeqa/runtime/cases/buildcpio.py
+2 −2 meta/lib/oeqa/sdk/cases/buildcpio.py
+1 −1 meta/lib/oeqa/selftest/cases/meta_ide.py
+4 −1 meta/lib/oeqa/utils/qemurunner.py
+0 −68 meta/recipes-connectivity/dhcp/dhcp/0001-Fix-a-NSUPDATE-compiling-issue.patch
+0 −79 meta/recipes-connectivity/dhcp/dhcp/0001-master-Added-includes-of-new-BIND9-compatibility-hea.patch
+4 −2 meta/recipes-connectivity/dhcp/dhcp/0004-Fix-out-of-tree-builds.patch
+2 −4 meta/recipes-connectivity/dhcp/dhcp_4.4.2.bb
+32 −0 meta/recipes-connectivity/openssl/openssl/reproducible.patch
+1 −0 meta/recipes-connectivity/openssl/openssl_1.1.1d.bb
+1 −0 meta/recipes-core/ncurses/ncurses.inc
+0 −1 meta/recipes-core/packagegroups/packagegroup-self-hosted.bb
+0 −0 meta/recipes-core/systemd/systemd-boot_244.1.bb
+0 −0 meta/recipes-core/systemd/systemd-conf_244.1.bb
+2 −4 meta/recipes-core/systemd/systemd.inc
+17 −16 meta/recipes-core/systemd/systemd/0001-binfmt-Don-t-install-dependency-links-at-install-tim.patch
+100 −68 meta/recipes-core/systemd/systemd/0001-do-not-disable-buffer-in-writing-files.patch
+12 −14 meta/recipes-core/systemd/systemd/0002-don-t-use-glibc-specific-qsort_r.patch
+6 −2 meta/recipes-core/systemd/systemd/0002-src-login-brightness.c-include-sys-wait.h.patch
+0 −63 meta/recipes-core/systemd/systemd/0002-use-lnr-wrapper-instead-of-looking-for-relative-opti.patch
+4 −6 meta/recipes-core/systemd/systemd/0003-implment-systemd-sysv-install-for-OE.patch
+25 −12 meta/recipes-core/systemd/systemd/0003-missing_type.h-add-__compare_fn_t-and-comparison_fn_.patch
+8 −4 meta/recipes-core/systemd/systemd/0003-src-basic-copy.c-include-signal.h.patch
+15 −14 meta/recipes-core/systemd/systemd/0004-add-fallback-parse_printf_format-implementation.patch
+7 −3 meta/recipes-core/systemd/systemd/0004-src-shared-cpu-set-util.h-add-__cpu_mask-definition.patch
+296 −85 meta/recipes-core/systemd/systemd/0005-src-basic-missing.h-check-for-missing-strndupa.patch
+76 −25 meta/recipes-core/systemd/systemd/0006-Include-netinet-if_ether.h.patch
+15 −15 meta/recipes-core/systemd/systemd/0007-don-t-fail-if-GLOB_BRACE-and-GLOB_ALTDIRFUNC-is-not.patch
+4 −6 meta/recipes-core/systemd/systemd/0008-add-missing-FTW_-macros-for-musl.patch
+6 −8 meta/recipes-core/systemd/systemd/0010-fix-missing-of-__register_atfork-for-non-glibc-build.patch
+10 −12 meta/recipes-core/systemd/systemd/0011-Use-uintmax_t-for-handling-rlim_t.patch
+6 −9 meta/recipes-core/systemd/systemd/0014-test-sizeof.c-Disable-tests-for-missing-typedefs-in-.patch
+9 −11 meta/recipes-core/systemd/systemd/0015-don-t-pass-AT_SYMLINK_NOFOLLOW-flag-to-faccessat.patch
+8 −10 meta/recipes-core/systemd/systemd/0016-Define-glibc-compatible-basename-for-non-glibc-syste.patch
+5 −4 meta/recipes-core/systemd/systemd/0017-Do-not-disable-buffering-when-writing-to-oom_score_a.patch
+6 −8 meta/recipes-core/systemd/systemd/0018-distinguish-XSI-compliant-strerror_r-from-GNU-specif.patch
+4 −6 meta/recipes-core/systemd/systemd/0019-Hide-__start_BUS_ERROR_MAP-and-__stop_BUS_ERROR_MAP.patch
+4 −6 meta/recipes-core/systemd/systemd/0020-missing_type.h-add-__compar_d_fn_t-definition.patch
+4 −6 meta/recipes-core/systemd/systemd/0021-avoid-redefinition-of-prctl_mm_map-structure.patch
+4 −6 meta/recipes-core/systemd/systemd/0022-Use-INT_MAX-instead-of-TIME_T_MAX-for-timerfd_settim.patch
+5 −7 meta/recipes-core/systemd/systemd/0024-test-json.c-define-M_PIl.patch
+1 −1 meta/recipes-core/systemd/systemd_244.1.bb
+1 −0 meta/recipes-core/sysvinit/sysvinit_2.96.bb
+2 −2 meta/recipes-devtools/bison/bison_3.5.1.bb
+81 −0 meta/recipes-devtools/perl/files/determinism.patch
+3 −0 meta/recipes-devtools/perl/perl-ptest.inc
+4 −0 meta/recipes-devtools/perl/perl_5.30.1.bb
+35 −0 meta/recipes-devtools/python/python3/0001-configure.ac-fix-LIBPL.patch
+43 −0 meta/recipes-devtools/python/python3/0001-python3-Do-not-hardcode-lib-for-distutils.patch
+4 −2 meta/recipes-devtools/python/python3_3.8.1.bb
+0 −44 meta/recipes-extended/chkconfig/chkconfig-alternatives-native_1.3.59.bb
+0 −33 meta/recipes-extended/chkconfig/chkconfig/replace_caddr_t.patch
+0 −71 meta/recipes-extended/chkconfig/chkconfig_1.3.58.bb
+2 −1 meta/recipes-extended/iputils/iputils_s20190709.bb
+2 −2 meta/recipes-extended/lighttpd/lighttpd_1.4.55.bb
+0 −24 meta/recipes-extended/procps/procps/0001-Fix-out-of-tree-builds.patch
+2 −3 meta/recipes-extended/procps/procps_3.3.16.bb
+1 −1 meta/recipes-extended/sudo/sudo.inc
+8 −1 meta/recipes-extended/sudo/sudo_1.8.30.bb
+0 −0 meta/recipes-graphics/mesa/mesa-gl_19.3.3.bb
+2 −2 meta/recipes-graphics/mesa/mesa_19.3.3.bb
+21 −0 meta/recipes-graphics/wayland/libinput/determinism.patch
+1 −0 meta/recipes-graphics/wayland/libinput_1.14.3.bb
+23 −0 meta/recipes-graphics/xorg-xserver/xserver-xorg/0001-drmmode_display.c-add-missing-mi.h-include.patch
+7 −6 meta/recipes-graphics/xorg-xserver/xserver-xorg_1.20.7.bb
+1 −2 meta/recipes-kernel/cryptodev/cryptodev.inc
+0 −59 meta/recipes-kernel/cryptodev/files/0001-Fix-module-loading-with-Linux-v5.0-rc5.patch
+8 −5 meta/recipes-kernel/kern-tools/kern-tools-native_git.bb
+0 −21 meta/recipes-kernel/linux/linux-yocto.inc
+34 −0 meta/recipes-support/libevdev/libevdev/determinism.patch
+2 −1 meta/recipes-support/libevdev/libevdev_1.8.0.bb
+32 −0 meta/recipes-support/libgcrypt/files/determinism.patch
+1 −0 meta/recipes-support/libgcrypt/libgcrypt_1.8.5.bb

0 comments on commit 2b79b04

Please sign in to comment.