Openembedded Core Discussions
 help / color / mirror / Atom feed
* Re: why does OE's systemd have a hard dependency on qemu-native?
From: Burton, Ross @ 2016-12-13 10:48 UTC (permalink / raw)
  To: Robert P. J. Day; +Cc: OE Core mailing list
In-Reply-To: <alpine.LFD.2.20.1612130530170.7395@localhost.localdomain>

[-- Attachment #1: Type: text/plain, Size: 1255 bytes --]

On 13 December 2016 at 10:34, Robert P. J. Day <rpjday@crashcourse.ca>
wrote:

> DEPENDS = "kmod intltool-native gperf-native acl readline libcap
>    libcgroup qemu-native util-linux"
>              ^^^^^^^^^^^ ?
>
> now, i *am* building for qemuppc for testing, but the above is an
> unconditional dependency on qemu-native. what does systemd need
> qemu-native for?
>
>   right below, we read:
>
>     inherit ... qemu ...
>
> so, again, qemu. yet a bit further down:
>

Using the qemu class means you generally need to depend on qemu-native.

SRC_URI_append_qemuall = "
>  file://0001-core-device.c-Change-the-default-device-timeout-to-2.patch"
>
> so now SRC_URI is modified *conditionally* based on qemuall.
>

This is a MACHINE-specific tweak for qemu machines, and unrelated to the
qemu class.

Carry on searching for qemu:

pkg_postinst_udev-hwdb () {
        if test -n "$D"; then
                ${@qemu_run_binary(d, '$D', '${base_bindir}/udevadm')} hwdb
--update \
                        --root $D
                chown root:root $D${sysconfdir}/udev/hwdb.bin
        else
                udevadm hwdb --update
        fi
}

There is a rootfs-time postinst that uses qemu-user to run hwdb.

Ross

[-- Attachment #2: Type: text/html, Size: 2635 bytes --]

^ permalink raw reply

* [PATCH 2/2] grub-efi/live-vm-common: allow grub as EFI_PROVIDER
From: Awais Belal @ 2016-12-13 11:19 UTC (permalink / raw)
  To: openembedded-core
In-Reply-To: <1481627960-3608-1-git-send-email-awais_belal@mentor.com>

This allows grub to be used as EFI_PROVIDER and
extends the grub-efi class so it can be used as is
when EFI_PROVIDER is grub.
Currently this can only be leveraged if you are
using the grub_git recipe and GRUBPLATFORM plus
EFI_PROVIDER are set correctly.

Signed-off-by: Awais Belal <awais_belal@mentor.com>
---
 meta/classes/grub-efi.bbclass       | 23 +++++++++++++++++------
 meta/classes/live-vm-common.bbclass |  2 +-
 2 files changed, 18 insertions(+), 7 deletions(-)

diff --git a/meta/classes/grub-efi.bbclass b/meta/classes/grub-efi.bbclass
index 17417ba..c847645 100644
--- a/meta/classes/grub-efi.bbclass
+++ b/meta/classes/grub-efi.bbclass
@@ -16,8 +16,8 @@
 # ${GRUB_TIMEOUT} - timeout before executing the deault label (optional)
 # ${GRUB_ROOT} - grub's root device.
 
-do_bootimg[depends] += "${MLPREFIX}grub-efi:do_deploy"
-do_bootdirectdisk[depends] += "${MLPREFIX}grub-efi:do_deploy"
+do_bootimg[depends] += "${MLPREFIX}${EFI_PROVIDER}:do_deploy"
+do_bootdirectdisk[depends] += "${MLPREFIX}${EFI_PROVIDER}:do_deploy"
 
 GRUB_SERIAL ?= "console=ttyS0,115200"
 GRUB_CFG_VM = "${S}/grub_vm.cfg"
@@ -40,10 +40,21 @@ efi_populate() {
 
 	install -d ${DEST}${EFIDIR}
 
-	GRUB_IMAGE="bootia32.efi"
-	if [ "${TARGET_ARCH}" = "x86_64" ]; then
-		GRUB_IMAGE="bootx64.efi"
-	fi
+    if [ "${EFI_PROVIDER}" = "grub" ]; then
+	    GRUB_IMAGE="bootia32.${GRUBPLATFORM}"
+	    if [ "${TARGET_ARCH}" = "x86_64" ]; then
+		    GRUB_IMAGE="bootx64.${GRUBPLATFORM}"
+	    elif [ "${TARGET_ARCH}" = "arm" ]; then
+            grubimage = "bootarm.${GRUBPLATFORM}"
+	    elif [ "${TARGET_ARCH}" = "aarch64" ]; then
+            grubimage = "bootaa64.${GRUBPLATFORM}"
+        fi
+    else
+        GRUB_IMAGE="bootia32.efi"
+	    if [ "${TARGET_ARCH}" = "x86_64" ]; then
+		    GRUB_IMAGE="bootx64.efi"
+        fi
+    fi
 	install -m 0644 ${DEPLOY_DIR_IMAGE}/${GRUB_IMAGE} ${DEST}${EFIDIR}
 	EFIPATH=$(echo "${EFIDIR}" | sed 's/\//\\/g')
 	printf 'fs0:%s\%s\n' "$EFIPATH" "$GRUB_IMAGE" >${DEST}/startup.nsh
diff --git a/meta/classes/live-vm-common.bbclass b/meta/classes/live-vm-common.bbclass
index 734697f..0af228b 100644
--- a/meta/classes/live-vm-common.bbclass
+++ b/meta/classes/live-vm-common.bbclass
@@ -13,7 +13,7 @@ def set_live_vm_vars(d, suffix):
 
 EFI = "${@bb.utils.contains("MACHINE_FEATURES", "efi", "1", "0", d)}"
 EFI_PROVIDER ?= "grub-efi"
-EFI_CLASS = "${@bb.utils.contains("MACHINE_FEATURES", "efi", "${EFI_PROVIDER}", "", d)}"
+EFI_CLASS = "${@bb.utils.contains("EFI_PROVIDER", "grub", "grub-efi", "${EFI_PROVIDER}", d)}"
 
 # Include legacy boot if MACHINE_FEATURES includes "pcbios" or if it does not
 # contain "efi". This way legacy is supported by default if neither is
-- 
1.9.1



^ permalink raw reply related

* [PATCH 1/2] grub_git: extend recipe for proper target deployment
From: Awais Belal @ 2016-12-13 11:19 UTC (permalink / raw)
  To: openembedded-core

This extends the grub_git recipe so it can deploy grub
on the target boot disk just like grub-efi. Mainly
this copies stuff from the grub-efi recipe and then
adjusts some bits accordingly. This would allow
using the latest and greatest versions of grub
on the target.

Signed-off-by: Awais Belal <awais_belal@mentor.com>
---
 meta/recipes-bsp/grub/grub_git.bb | 60 +++++++++++++++++++++++++++++++++++----
 1 file changed, 54 insertions(+), 6 deletions(-)

diff --git a/meta/recipes-bsp/grub/grub_git.bb b/meta/recipes-bsp/grub/grub_git.bb
index eb824cc..86fa208 100644
--- a/meta/recipes-bsp/grub/grub_git.bb
+++ b/meta/recipes-bsp/grub/grub_git.bb
@@ -3,11 +3,15 @@ require grub2.inc
 DEFAULT_PREFERENCE = "-1"
 DEFAULT_PREFERENCE_arm = "1"
 
+DEPENDS_class-target += "grub-native"
+RDEPENDS_${PN}_class-target = "diffutils freetype"
+
 FILESEXTRAPATHS =. "${FILE_DIRNAME}/grub-git:"
 
 PV = "2.00+${SRCPV}"
 SRCREV = "7a5b301e3adb8e054288518a325135a1883c1c6c"
 SRC_URI = "git://git.savannah.gnu.org/grub.git \
+           file://cfg \
            file://0001-Disable-mfpmath-sse-as-well-when-SSE-is-disabled.patch \
            file://autogen.sh-exclude-pc.patch \
            file://0001-grub.d-10_linux.in-add-oe-s-kernel-name.patch \
@@ -19,29 +23,73 @@ COMPATIBLE_HOST = '(x86_64.*|i.86.*|arm.*|aarch64.*)-(linux.*|freebsd.*)'
 COMPATIBLE_HOST_armv7a = 'null'
 COMPATIBLE_HOST_armv7ve = 'null'
 
-inherit autotools gettext texinfo
+inherit autotools gettext texinfo deploy
 
 # configure.ac has code to set this automagically from the target tuple
 # but the OE freeform one (core2-foo-bar-linux) don't work with that.
-
 GRUBPLATFORM_arm = "uboot"
 GRUBPLATFORM_aarch64 = "efi"
 GRUBPLATFORM ??= "pc"
 
+CACHED_CONFIGUREVARS += "ac_cv_path_HELP2MAN="
 EXTRA_OECONF = "--with-platform=${GRUBPLATFORM} --disable-grub-mkfont --program-prefix="" \
                 --enable-liblzma=no --enable-device-mapper=no --enable-libzfs=no"
-
+EXTRA_OECONF += "${@bb.utils.contains('GRUBPLATFORM', 'efi', '--enable-efiemu=no', '', d)}"
 EXTRA_OECONF += "${@bb.utils.contains('DISTRO_FEATURES', 'largefile', '--enable-largefile', '--disable-largefile', d)}"
 
-do_install_append () {
+# Determine the target arch for the grub modules
+python __anonymous () {
+    import re
+    target = d.getVar('TARGET_ARCH', True)
+    platform = d.getVar('GRUBPLATFORM', True)
+    if target == "x86_64":
+        grubtarget = 'x86_64'
+        grubimage = "bootx64." + platform
+    elif re.match('i.86', target):
+        grubtarget = 'i386'
+        grubimage = "bootia32." + platform
+    elif re.match('arm', target):
+        grubtarget = 'arm'
+        grubimage = "bootarm." + platform
+    elif re.match('aarch64', target):
+        grubtarget = 'arm64'
+        grubimage = "bootaa64." + platform
+    else:
+        raise bb.parse.SkipPackage("grub is incompatible with target %s" % target)
+    d.setVar("GRUB_TARGET", grubtarget)
+    d.setVar("GRUB_IMAGE", grubimage)
+}
+
+do_install_class-native() {
+    install -d ${D}${bindir}
+    install -m 755 grub-mkimage ${D}${bindir}
+}
+
+do_install_append() {
     install -d ${D}${sysconfdir}/grub.d
     rm -rf ${D}${libdir}/charset.alias
 }
 
+GRUB_BUILDIN ?= "boot linux ext2 fat serial part_msdos part_gpt normal efi_gop iso9660 search"
+do_deploy() {
+    # Search for the grub.cfg on the local boot media by using the
+    # built in cfg file provided via this recipe
+    grub-mkimage -c ../cfg -p /EFI/BOOT -d ./grub-core/ \
+                   -O ${GRUB_TARGET}-${GRUBPLATFORM} -o ./${GRUB_IMAGE} \
+                   ${GRUB_BUILDIN}
+    install -m 644 ${B}/${GRUB_IMAGE} ${DEPLOYDIR}
+}
+
+do_deploy_class-native() {
+    :
+}
+
+addtask deploy after do_install before do_build
+
 # debugedit chokes on bare metal binaries
 INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
 
-RDEPENDS_${PN} = "diffutils freetype"
-
 INSANE_SKIP_${PN} = "arch"
 INSANE_SKIP_${PN}-dbg = "arch"
+
+BBCLASSEXTEND = "native"
-- 
1.9.1



^ permalink raw reply related

* [PATCH 00/69] Consolidated Pull
From: Ross Burton @ 2016-12-13 12:34 UTC (permalink / raw)
  To: openembedded-core

Part 1 of the final rush before M1.

All green on the AB with the following caveats:
- nightly-arm64 failed due to a misconfiguration on the AB
- selftest failed in same-tune-same-hash, fixed in this branch and verified
  locally
- mips-lsb failed building binutils but a rebuild worked, looks like a transient
  compile failure.

Ross

The following changes since commit 0fb96d1913603352e36c0b7a6bad71d3460e358a:

  meta-yocto-bsp: bump to the latest linux stable kernel for the non-x86 BSPs (2016-12-09 08:54:37 +0000)

are available in the git repository at:

  ssh://git@git.yoctoproject.org/poky-contrib ross/mut

for you to fetch changes up to 1fc68e2038104a7182f36068a60642a4bb6386e8:

  libpcap: Disable exposed bits of WinPCAP remote capture support (2016-12-13 12:23:54 +0000)

----------------------------------------------------------------
Alessio Igor Bogani (1):
      wic: Create a logical partition only when it is really mandatory

Andreas Müller (1):
      mesa: update to 13.0.2

Armin Kuster (1):
      libtiff: Update to 4.0.7

Awais Belal (1):
      grub2: fix some quirks and div by zero

Bruce Ashfield (2):
      linux-yocto/4.8: update to -rt7
      kernel-yocto: explicitly trap subcommand errors

California Sullivan (1):
      parselogs.py: Don't clog QA with Joule errors

Carlos Alberto Lopez Perez (1):
      Revert "webkitgtk: drop patch 0001-WebKitMacros-Append-to-I-and-not-to-isystem.patch"

Chen Qi (2):
      libarchive: fix ALTERNATIVE_PRIORITY to avoid conflict
      Use weak assignment for SERIAL_CONSOLES in qemu configuration files

Ed Bartosh (11):
      wic: rename command line option -p -> -s
      oe-run-native: standardize usage output
      oe-trim-schemas: create usage output
      beaglebone.conf: enable generation of wic.bmap
      oe-setup-rpmrepo: standardize usage output
      oe-setup-builddir: create usage output
      oepydevshell-internal.py: standardize usage output
      oe-git-proxy: create usage output
      oe-find-native-sysroot: create usage output
      oe-buildenv-internal: show usage output
      edgerouter.conf: enable generation of wic.bmap

Fabio Berton (1):
      libpcap: Disable exposed bits of WinPCAP remote capture support

Huang Qiyu (4):
      libnotify : 0.7.6 -> 0.7.7
      mpfr: 3.1.4 -> 3.1.5
      slang: 2.3.0 -> 2.3.1
      cups: 2.1.4 -> 2.2.1

Ismo Puustinen (2):
      libva: check for "opengl" feature
      gstreamer-vaapi-1.0: check for "opengl" feature

Jackie Huang (1):
      gcr: add missing dependencies for vapi

Jason Wessel (1):
      systemd: Backport cgroup fix from 233 to 232

Juro Bystricky (2):
      edgerouter.py: avoid python3 exception
      targetloader.py: drop test for ClassType

Jussi Kukkonen (13):
      matchbox-wm: Upgrade 1.2.1 -> 1.2.2
      libxfont2: Add recipe
      xserver-xorg: Upgrade 1.18.4 -> 1.19.0
      xf86-input-evdev: Upgrade 2.10.3 -> 2.10.4
      xf86-input-keyboard: Upgrade 1.8.1 -> 1.9.0
      xf86-input-keyboard: Remove git recipe
      xf86-input-mouse: Upgrade 1.9.1 -> 1.9.2
      xf86-input-mouse: Remove git recipe
      xf86-input-synaptics: Upgrade 1.8.3 -> 1.9.0
      xf86-input-synaptics: Remove git recipe
      xf86-video-omap: Upgrade 0.4.4 -> 0.4.5
      xf86-video-vmware: Upgrade 13.1.0 -> 13.2.1
      xf86-input-libinput: Upgrade 0.22 -> 0.23

Khem Raj (6):
      gstreamer1.0: Upgrade to 1.10.1
      systemd-boot: Use PV in recipe name
      gstreamer1.0-plugins-bad: Define and use WAYLAND_PROTOCOLS_SYSROOT_DIR for output of pkg-config
      gstreamer1.0-rtsp-server: Add libcheck to deps
      gstreamer1.0-vaapi: Import from meta-intel
      puzzles: Upgrade and fix with clang

Mans Rullgard (1):
      initscripts: populate-volatile: improve config file parsing

Mariano Lopez (3):
      oeqa/utils/commands.py: Make a copy of variables in get_bb_vars
      oeqa/utils/metadata.py: Add metadata library
      oe-selftest: Add option to submit test result to a git repository.

Maxin B. John (1):
      ref-images.xml: remove core-image-directfb reference

Ola x Nilsson (4):
      devtool: selftest: add test for devtool plugin loading
      recipetool: selftest: Add test for recipetool plugin loading
      devtool: Load plugins in a well defined order
      recipetool: Load plugins in a well defined order

Patrick Ohly (1):
      buildstats.py: skip collecting unavailable /proc data

Ross Burton (5):
      tiff: set CVE_PRODUCT
      curl: set CVE_PRODUCT
      cve-check: allow recipes to override the product name
      archiver: don't change directory when generating tarball
      rm_work: add do_write_qemuboot_conf to task list

Saul Wold (1):
      genericx86 & x86-base: Update PREFERRED_VERSION for 4.8 kernel

Yuanjie Huang (1):
      glibc: Enable backtrace from abort on ARM

Zheng Ruoqin (1):
      xkeyboard-config: 2.18 -> 2.19

 documentation/ref-manual/ref-images.xml            |   3 -
 meta-selftest/lib/devtool/bbpath.py                |  44 ++
 meta-selftest/lib/recipetool/bbpath.py             |  41 ++
 meta-yocto-bsp/conf/machine/beaglebone.conf        |   2 +-
 meta-yocto-bsp/conf/machine/edgerouter.conf        |   2 +-
 .../conf/machine/include/genericx86-common.inc     |   2 +-
 .../lib/oeqa/controllers/edgeroutertarget.py       |   2 +-
 meta/classes/archiver.bbclass                      |   8 +-
 meta/classes/cve-check.bbclass                     |   6 +-
 meta/classes/kernel-yocto.bbclass                  |   7 +
 meta/classes/rm_work.bbclass                       |   2 +-
 meta/conf/machine/qemuarm.conf                     |   2 +-
 meta/conf/machine/qemuarm64.conf                   |   2 +-
 meta/conf/machine/qemumips.conf                    |   2 +-
 meta/conf/machine/qemumips64.conf                  |   2 +-
 meta/conf/machine/qemuppc.conf                     |   2 +-
 meta/conf/machine/qemux86-64.conf                  |   2 +-
 meta/conf/machine/qemux86.conf                     |   2 +-
 meta/lib/buildstats.py                             |  19 +-
 meta/lib/oeqa/controllers/testtargetloader.py      |   2 -
 meta/lib/oeqa/runtime/parselogs.py                 |  14 +-
 meta/lib/oeqa/selftest/devtool.py                  |  43 ++
 meta/lib/oeqa/selftest/recipetool.py               |  44 ++
 meta/lib/oeqa/utils/commands.py                    |   1 +
 meta/lib/oeqa/utils/metadata.py                    |  83 +++
 ...ern-efi-mm.c-grub_efi_finish_boot_service.patch |  79 +++
 ...ern-efi-mm.c-grub_efi_get_memory_map-Neve.patch |  43 ++
 meta/recipes-bsp/grub/grub2.inc                    |   2 +
 .../{systemd-boot.bb => systemd-boot_232.bb}       |   0
 .../libpcap/libpcap/disable-remote.patch           |  36 ++
 meta/recipes-connectivity/libpcap/libpcap_1.8.1.bb |   1 +
 meta/recipes-core/glibc/glibc.inc                  |   6 +
 .../initscripts-1.0/populate-volatile.sh           |   6 +-
 .../initscripts/initscripts-1.0/volatiles          |   6 +-
 ...use-the-unified-hierarchy-for-the-systemd.patch |  51 ++
 meta/recipes-core/systemd/systemd_232.bb           |   1 +
 meta/recipes-extended/cups/cups.inc                |   2 +-
 meta/recipes-extended/cups/cups_2.1.4.bb           |   6 -
 meta/recipes-extended/cups/cups_2.2.1.bb           |   6 +
 .../libarchive/libarchive_3.2.2.bb                 |   2 +-
 ...x-error-conflicting-types-for-posix_close.patch |  39 --
 .../slang/{slang_2.3.0.bb => slang_2.3.1.bb}       |   6 +-
 .../gcr-add-missing-dependencies-for-vapi.patch    |  51 ++
 meta/recipes-gnome/gcr/gcr_3.20.0.bb               |   2 +
 .../{libnotify_0.7.6.bb => libnotify_0.7.7.bb}     |   4 +-
 meta/recipes-graphics/libva/libva_1.7.3.bb         |   4 +-
 .../{matchbox-wm_1.2.1.bb => matchbox-wm_1.2.2.bb} |   4 +-
 .../mesa/{mesa-gl_13.0.1.bb => mesa-gl_13.0.2.bb}  |   0
 .../mesa/{mesa_13.0.1.bb => mesa_13.0.2.bb}        |   4 +-
 ...-evdev_2.10.3.bb => xf86-input-evdev_2.10.4.bb} |   4 +-
 ...board_1.8.1.bb => xf86-input-keyboard_1.9.0.bb} |   4 +-
 .../xorg-driver/xf86-input-keyboard_git.bb         |  16 -
 ...put_0.22.0.bb => xf86-input-libinput_0.23.0.bb} |   4 +-
 ...ut-mouse_1.9.1.bb => xf86-input-mouse_1.9.2.bb} |   5 +-
 .../xorg-driver/xf86-input-mouse_git.bb            |  18 -
 ...tics_1.8.3.bb => xf86-input-synaptics_1.9.0.bb} |   4 +-
 .../xorg-driver/xf86-input-synaptics_git.bb        |  18 -
 ...ideo-omap_0.4.4.bb => xf86-video-omap_0.4.5.bb} |   4 +-
 .../0002-add-option-for-vmwgfx.patch               |  37 +-
 ...mware_13.1.0.bb => xf86-video-vmware_13.2.1.bb} |   4 +-
 meta/recipes-graphics/xorg-lib/libxfont2_2.0.1.bb  |  22 +
 ...ard-config_2.18.bb => xkeyboard-config_2.19.bb} |   4 +-
 .../recipes-graphics/xorg-xserver/xserver-xorg.inc |   6 +-
 ...onfigure.ac-Fix-check-for-CLOCK_MONOTONIC.patch |  61 ++
 ...c-Fix-wayland-scanner-and-protocols-locat.patch |  38 ++
 ...erver-xorg_1.18.4.bb => xserver-xorg_1.19.0.bb} |   9 +-
 meta/recipes-kernel/linux/linux-yocto-rt_4.8.bb    |   4 +-
 meta/recipes-kernel/linux/linux-yocto-tiny_4.8.bb  |   2 +-
 meta/recipes-kernel/linux/linux-yocto_4.8.bb       |   2 +-
 ...libav_1.8.3.bb => gstreamer1.0-libav_1.10.1.bb} |   5 +-
 .../gstreamer/gstreamer1.0-plugins-bad.inc         |   3 +-
 ...-don-t-hardcode-libtool-name-when-running.patch |  35 +-
 ...G_CONFIG_SYSROOT_DIR-to-pkg-config-output.patch |  34 ++
 ...gl.pc.in-don-t-append-GL_CFLAGS-to-CFLAGS.patch |  15 +-
 ...lplugin-enable-gldeinterlace-on-OpenGL-ES.patch | 634 ---------------------
 ...ert-implement-multiple-render-targets-for.patch | 244 --------
 ...ert-don-t-use-the-predefined-variable-nam.patch |  32 --
 .../0005-glshader-add-glBindFragDataLocation.patch |  77 ---
 ...ert-GLES3-deprecates-texture2D-and-it-doe.patch |  51 --
 .../0008-gl-implement-GstGLMemoryEGL.patch         | 495 ----------------
 ...valid-sentinels-for-gst_structure_get-etc.patch |  59 +-
 ...1.8.3.bb => gstreamer1.0-plugins-bad_1.10.1.bb} |  14 +-
 ....8.3.bb => gstreamer1.0-plugins-base_1.10.1.bb} |   5 +-
 ....8.3.bb => gstreamer1.0-plugins-good_1.10.1.bb} |   5 +-
 ....8.3.bb => gstreamer1.0-plugins-ugly_1.10.1.bb} |   5 +-
 .../gstreamer/gstreamer1.0-rtsp-server.inc         |   2 +-
 .../gstreamer/gstreamer1.0-rtsp-server_1.10.1.bb   |   6 +
 .../gstreamer/gstreamer1.0-rtsp-server_1.8.3.bb    |   6 -
 .../gstreamer/gstreamer1.0-vaapi.inc               |  38 ++
 .../gstreamer1.0-vaapi/install-tests.patch         |  43 ++
 .../gstreamer/gstreamer1.0-vaapi_1.10.1.bb         |   6 +
 meta/recipes-multimedia/gstreamer/gstreamer1.0.inc |   1 -
 ...streamer1.0_1.8.3.bb => gstreamer1.0_1.10.1.bb} |   5 +-
 .../libtiff/files/CVE-2015-8665_8683.patch         | 137 -----
 .../libtiff/files/CVE-2015-8781.patch              | 195 -------
 .../libtiff/files/CVE-2015-8784.patch              |  73 ---
 .../libtiff/files/CVE-2016-3186.patch              |  24 -
 .../libtiff/files/CVE-2016-3622.patch              | 129 -----
 .../libtiff/files/CVE-2016-3623.patch              |  52 --
 .../libtiff/files/CVE-2016-3632.patch              |  34 --
 .../libtiff/files/CVE-2016-3658.patch              | 111 ----
 .../libtiff/files/CVE-2016-3945.patch              | 118 ----
 .../libtiff/files/CVE-2016-3990.patch              |  66 ---
 .../libtiff/files/CVE-2016-3991.patch              | 147 -----
 .../libtiff/files/CVE-2016-5321.patch              |  49 --
 .../libtiff/files/CVE-2016-5323.patch              | 107 ----
 .../libtiff/files/CVE-2016-9535-1.patch            | 423 --------------
 .../libtiff/files/CVE-2016-9535-2.patch            |  67 ---
 .../libtiff/files/CVE-2016-9538.patch              |  67 ---
 .../libtiff/files/CVE-2016-9539.patch              |  60 --
 .../libtiff/files/CVE-2016-9540.patch              |  60 --
 .../libtiff/files/Fix_several_CVE_issues.patch     | 281 ---------
 .../libtiff/{tiff_4.0.6.bb => tiff_4.0.7.bb}       |  25 +-
 ...arify-conditions-to-avoid-compiler-errors.patch |  48 ++
 ...mpiler-errors-about-uninitialized-use-of-.patch |  32 --
 meta/recipes-sato/puzzles/puzzles_git.bb           |   4 +-
 ...bKitMacros-Append-to-I-and-not-to-isystem.patch | 185 ++++++
 meta/recipes-sato/webkit/webkitgtk_2.14.2.bb       |   1 +
 meta/recipes-support/curl/curl_7.51.0.bb           |   1 +
 .../mpfr/{mpfr_3.1.4.bb => mpfr_3.1.5.bb}          |   4 +-
 scripts/devtool                                    |   3 +-
 scripts/lib/scriptutils.py                         |   8 +-
 scripts/lib/wic/utils/partitionedfs.py             |   7 +-
 scripts/oe-buildenv-internal                       |  12 +
 scripts/oe-find-native-sysroot                     |  14 +
 scripts/oe-git-proxy                               |  21 +
 scripts/oe-run-native                              |  11 +-
 scripts/oe-selftest                                | 102 ++++
 scripts/oe-setup-builddir                          |   8 +
 scripts/oe-setup-rpmrepo                           |  28 +-
 scripts/oe-trim-schemas                            |   9 +
 scripts/oepydevshell-internal.py                   |  15 +-
 scripts/recipetool                                 |   4 +-
 scripts/wic                                        |   2 +-
 134 files changed, 1434 insertions(+), 4096 deletions(-)
 create mode 100644 meta-selftest/lib/devtool/bbpath.py
 create mode 100644 meta-selftest/lib/recipetool/bbpath.py
 create mode 100644 meta/lib/oeqa/utils/metadata.py
 create mode 100644 meta/recipes-bsp/grub/files/0001-grub-core-kern-efi-mm.c-grub_efi_finish_boot_service.patch
 create mode 100644 meta/recipes-bsp/grub/files/0002-grub-core-kern-efi-mm.c-grub_efi_get_memory_map-Neve.patch
 rename meta/recipes-bsp/systemd-boot/{systemd-boot.bb => systemd-boot_232.bb} (100%)
 create mode 100644 meta/recipes-connectivity/libpcap/libpcap/disable-remote.patch
 create mode 100644 meta/recipes-core/systemd/systemd/0020-back-port-233-don-t-use-the-unified-hierarchy-for-the-systemd.patch
 delete mode 100644 meta/recipes-extended/cups/cups_2.1.4.bb
 create mode 100644 meta/recipes-extended/cups/cups_2.2.1.bb
 delete mode 100644 meta/recipes-extended/slang/slang/0001-Fix-error-conflicting-types-for-posix_close.patch
 rename meta/recipes-extended/slang/{slang_2.3.0.bb => slang_2.3.1.bb} (90%)
 create mode 100644 meta/recipes-gnome/gcr/files/gcr-add-missing-dependencies-for-vapi.patch
 rename meta/recipes-gnome/libnotify/{libnotify_0.7.6.bb => libnotify_0.7.7.bb} (79%)
 rename meta/recipes-graphics/matchbox-wm/{matchbox-wm_1.2.1.bb => matchbox-wm_1.2.2.bb} (94%)
 rename meta/recipes-graphics/mesa/{mesa-gl_13.0.1.bb => mesa-gl_13.0.2.bb} (100%)
 rename meta/recipes-graphics/mesa/{mesa_13.0.1.bb => mesa_13.0.2.bb} (83%)
 rename meta/recipes-graphics/xorg-driver/{xf86-input-evdev_2.10.3.bb => xf86-input-evdev_2.10.4.bb} (83%)
 rename meta/recipes-graphics/xorg-driver/{xf86-input-keyboard_1.8.1.bb => xf86-input-keyboard_1.9.0.bb} (73%)
 delete mode 100644 meta/recipes-graphics/xorg-driver/xf86-input-keyboard_git.bb
 rename meta/recipes-graphics/xorg-driver/{xf86-input-libinput_0.22.0.bb => xf86-input-libinput_0.23.0.bb} (63%)
 rename meta/recipes-graphics/xorg-driver/{xf86-input-mouse_1.9.1.bb => xf86-input-mouse_1.9.2.bb} (76%)
 delete mode 100644 meta/recipes-graphics/xorg-driver/xf86-input-mouse_git.bb
 rename meta/recipes-graphics/xorg-driver/{xf86-input-synaptics_1.8.3.bb => xf86-input-synaptics_1.9.0.bb} (79%)
 delete mode 100644 meta/recipes-graphics/xorg-driver/xf86-input-synaptics_git.bb
 rename meta/recipes-graphics/xorg-driver/{xf86-video-omap_0.4.4.bb => xf86-video-omap_0.4.5.bb} (89%)
 rename meta/recipes-graphics/xorg-driver/{xf86-video-vmware_13.1.0.bb => xf86-video-vmware_13.2.1.bb} (78%)
 create mode 100644 meta/recipes-graphics/xorg-lib/libxfont2_2.0.1.bb
 rename meta/recipes-graphics/xorg-lib/{xkeyboard-config_2.18.bb => xkeyboard-config_2.19.bb} (88%)
 create mode 100644 meta/recipes-graphics/xorg-xserver/xserver-xorg/0001-configure.ac-Fix-check-for-CLOCK_MONOTONIC.patch
 create mode 100644 meta/recipes-graphics/xorg-xserver/xserver-xorg/0002-configure.ac-Fix-wayland-scanner-and-protocols-locat.patch
 rename meta/recipes-graphics/xorg-xserver/{xserver-xorg_1.18.4.bb => xserver-xorg_1.19.0.bb} (70%)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-libav_1.8.3.bb => gstreamer1.0-libav_1.10.1.bb} (86%)
 create mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-Prepend-PKG_CONFIG_SYSROOT_DIR-to-pkg-config-output.patch
 delete mode 100755 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0002-glplugin-enable-gldeinterlace-on-OpenGL-ES.patch
 delete mode 100755 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0003-glcolorconvert-implement-multiple-render-targets-for.patch
 delete mode 100755 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0004-glcolorconvert-don-t-use-the-predefined-variable-nam.patch
 delete mode 100755 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0005-glshader-add-glBindFragDataLocation.patch
 delete mode 100755 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0006-glcolorconvert-GLES3-deprecates-texture2D-and-it-doe.patch
 delete mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0008-gl-implement-GstGLMemoryEGL.patch
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-bad_1.8.3.bb => gstreamer1.0-plugins-bad_1.10.1.bb} (64%)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-base_1.8.3.bb => gstreamer1.0-plugins-base_1.10.1.bb} (85%)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-good_1.8.3.bb => gstreamer1.0-plugins-good_1.10.1.bb} (84%)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-ugly_1.8.3.bb => gstreamer1.0-plugins-ugly_1.10.1.bb} (76%)
 create mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.10.1.bb
 delete mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.8.3.bb
 create mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi.inc
 create mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi/install-tests.patch
 create mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.10.1.bb
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0_1.8.3.bb => gstreamer1.0_1.10.1.bb} (69%)
 delete mode 100644 meta/recipes-multimedia/libtiff/files/CVE-2015-8665_8683.patch
 delete mode 100644 meta/recipes-multimedia/libtiff/files/CVE-2015-8781.patch
 delete mode 100644 meta/recipes-multimedia/libtiff/files/CVE-2015-8784.patch
 delete mode 100644 meta/recipes-multimedia/libtiff/files/CVE-2016-3186.patch
 delete mode 100644 meta/recipes-multimedia/libtiff/files/CVE-2016-3622.patch
 delete mode 100644 meta/recipes-multimedia/libtiff/files/CVE-2016-3623.patch
 delete mode 100644 meta/recipes-multimedia/libtiff/files/CVE-2016-3632.patch
 delete mode 100644 meta/recipes-multimedia/libtiff/files/CVE-2016-3658.patch
 delete mode 100644 meta/recipes-multimedia/libtiff/files/CVE-2016-3945.patch
 delete mode 100644 meta/recipes-multimedia/libtiff/files/CVE-2016-3990.patch
 delete mode 100644 meta/recipes-multimedia/libtiff/files/CVE-2016-3991.patch
 delete mode 100644 meta/recipes-multimedia/libtiff/files/CVE-2016-5321.patch
 delete mode 100644 meta/recipes-multimedia/libtiff/files/CVE-2016-5323.patch
 delete mode 100644 meta/recipes-multimedia/libtiff/files/CVE-2016-9535-1.patch
 delete mode 100644 meta/recipes-multimedia/libtiff/files/CVE-2016-9535-2.patch
 delete mode 100644 meta/recipes-multimedia/libtiff/files/CVE-2016-9538.patch
 delete mode 100644 meta/recipes-multimedia/libtiff/files/CVE-2016-9539.patch
 delete mode 100644 meta/recipes-multimedia/libtiff/files/CVE-2016-9540.patch
 delete mode 100644 meta/recipes-multimedia/libtiff/files/Fix_several_CVE_issues.patch
 rename meta/recipes-multimedia/libtiff/{tiff_4.0.6.bb => tiff_4.0.7.bb} (64%)
 create mode 100644 meta/recipes-sato/puzzles/files/0001-Clarify-conditions-to-avoid-compiler-errors.patch
 delete mode 100644 meta/recipes-sato/puzzles/files/0001-rect-Fix-compiler-errors-about-uninitialized-use-of-.patch
 create mode 100644 meta/recipes-sato/webkit/files/0001-WebKitMacros-Append-to-I-and-not-to-isystem.patch
 rename meta/recipes-support/mpfr/{mpfr_3.1.4.bb => mpfr_3.1.5.bb} (75%)

Alessio Igor Bogani (1):
  wic: Create a logical partition only when it is really mandatory

Andreas Müller (1):
  mesa: update to 13.0.2

Armin Kuster (1):
  libtiff: Update to 4.0.7

Awais Belal (1):
  grub2: fix some quirks and div by zero

Bruce Ashfield (2):
  linux-yocto/4.8: update to -rt7
  kernel-yocto: explicitly trap subcommand errors

California Sullivan (1):
  parselogs.py: Don't clog QA with Joule errors

Carlos Alberto Lopez Perez (1):
  Revert "webkitgtk: drop patch
    0001-WebKitMacros-Append-to-I-and-not-to-isystem.patch"

Chen Qi (2):
  libarchive: fix ALTERNATIVE_PRIORITY to avoid conflict
  Use weak assignment for SERIAL_CONSOLES in qemu configuration files

Ed Bartosh (11):
  wic: rename command line option -p -> -s
  oe-run-native: standardize usage output
  oe-trim-schemas: create usage output
  beaglebone.conf: enable generation of wic.bmap
  oe-setup-rpmrepo: standardize usage output
  oe-setup-builddir: create usage output
  oepydevshell-internal.py: standardize usage output
  oe-git-proxy: create usage output
  oe-find-native-sysroot: create usage output
  oe-buildenv-internal: show usage output
  edgerouter.conf: enable generation of wic.bmap

Fabio Berton (1):
  libpcap: Disable exposed bits of WinPCAP remote capture support

Huang Qiyu (4):
  libnotify : 0.7.6 -> 0.7.7
  mpfr: 3.1.4 -> 3.1.5
  slang: 2.3.0 -> 2.3.1
  cups: 2.1.4 -> 2.2.1

Ismo Puustinen (2):
  libva: check for "opengl" feature
  gstreamer-vaapi-1.0: check for "opengl" feature

Jackie Huang (1):
  gcr: add missing dependencies for vapi

Jason Wessel (1):
  systemd: Backport cgroup fix from 233 to 232

Juro Bystricky (2):
  edgerouter.py: avoid python3 exception
  targetloader.py: drop test for ClassType

Jussi Kukkonen (13):
  matchbox-wm: Upgrade 1.2.1 -> 1.2.2
  libxfont2: Add recipe
  xserver-xorg: Upgrade 1.18.4 -> 1.19.0
  xf86-input-evdev: Upgrade 2.10.3 -> 2.10.4
  xf86-input-keyboard: Upgrade 1.8.1 -> 1.9.0
  xf86-input-keyboard: Remove git recipe
  xf86-input-mouse: Upgrade 1.9.1 -> 1.9.2
  xf86-input-mouse: Remove git recipe
  xf86-input-synaptics: Upgrade 1.8.3 -> 1.9.0
  xf86-input-synaptics: Remove git recipe
  xf86-video-omap: Upgrade 0.4.4 -> 0.4.5
  xf86-video-vmware: Upgrade 13.1.0 -> 13.2.1
  xf86-input-libinput: Upgrade 0.22 -> 0.23

Khem Raj (6):
  gstreamer1.0: Upgrade to 1.10.1
  systemd-boot: Use PV in recipe name
  gstreamer1.0-plugins-bad: Define and use WAYLAND_PROTOCOLS_SYSROOT_DIR
    for output of pkg-config
  gstreamer1.0-rtsp-server: Add libcheck to deps
  gstreamer1.0-vaapi: Import from meta-intel
  puzzles: Upgrade and fix with clang

Mans Rullgard (1):
  initscripts: populate-volatile: improve config file parsing

Mariano Lopez (3):
  oeqa/utils/commands.py: Make a copy of variables in get_bb_vars
  oeqa/utils/metadata.py: Add metadata library
  oe-selftest: Add option to submit test result to a git repository.

Maxin B. John (1):
  ref-images.xml: remove core-image-directfb reference

Ola x Nilsson (4):
  devtool: selftest: add test for devtool plugin loading
  recipetool: selftest: Add test for recipetool plugin loading
  devtool: Load plugins in a well defined order
  recipetool: Load plugins in a well defined order

Patrick Ohly (1):
  buildstats.py: skip collecting unavailable /proc data

Ross Burton (5):
  tiff: set CVE_PRODUCT
  curl: set CVE_PRODUCT
  cve-check: allow recipes to override the product name
  archiver: don't change directory when generating tarball
  rm_work: add do_write_qemuboot_conf to task list

Saul Wold (1):
  genericx86 & x86-base: Update PREFERRED_VERSION for 4.8 kernel

Yuanjie Huang (1):
  glibc: Enable backtrace from abort on ARM

Zheng Ruoqin (1):
  xkeyboard-config: 2.18 -> 2.19

 documentation/ref-manual/ref-images.xml            |   3 -
 meta-selftest/lib/devtool/bbpath.py                |  44 ++
 meta-selftest/lib/recipetool/bbpath.py             |  41 ++
 meta-yocto-bsp/conf/machine/beaglebone.conf        |   2 +-
 meta-yocto-bsp/conf/machine/edgerouter.conf        |   2 +-
 .../conf/machine/include/genericx86-common.inc     |   2 +-
 .../lib/oeqa/controllers/edgeroutertarget.py       |   2 +-
 meta/classes/archiver.bbclass                      |   8 +-
 meta/classes/cve-check.bbclass                     |   6 +-
 meta/classes/kernel-yocto.bbclass                  |   7 +
 meta/classes/rm_work.bbclass                       |   2 +-
 meta/conf/machine/qemuarm.conf                     |   2 +-
 meta/conf/machine/qemuarm64.conf                   |   2 +-
 meta/conf/machine/qemumips.conf                    |   2 +-
 meta/conf/machine/qemumips64.conf                  |   2 +-
 meta/conf/machine/qemuppc.conf                     |   2 +-
 meta/conf/machine/qemux86-64.conf                  |   2 +-
 meta/conf/machine/qemux86.conf                     |   2 +-
 meta/lib/buildstats.py                             |  19 +-
 meta/lib/oeqa/controllers/testtargetloader.py      |   2 -
 meta/lib/oeqa/runtime/parselogs.py                 |  14 +-
 meta/lib/oeqa/selftest/devtool.py                  |  43 ++
 meta/lib/oeqa/selftest/recipetool.py               |  44 ++
 meta/lib/oeqa/utils/commands.py                    |   1 +
 meta/lib/oeqa/utils/metadata.py                    |  83 +++
 ...ern-efi-mm.c-grub_efi_finish_boot_service.patch |  79 +++
 ...ern-efi-mm.c-grub_efi_get_memory_map-Neve.patch |  43 ++
 meta/recipes-bsp/grub/grub2.inc                    |   2 +
 .../{systemd-boot.bb => systemd-boot_232.bb}       |   0
 .../libpcap/libpcap/disable-remote.patch           |  36 ++
 meta/recipes-connectivity/libpcap/libpcap_1.8.1.bb |   1 +
 meta/recipes-core/glibc/glibc.inc                  |   6 +
 .../initscripts-1.0/populate-volatile.sh           |   6 +-
 .../initscripts/initscripts-1.0/volatiles          |   6 +-
 ...use-the-unified-hierarchy-for-the-systemd.patch |  51 ++
 meta/recipes-core/systemd/systemd_232.bb           |   1 +
 meta/recipes-extended/cups/cups.inc                |   2 +-
 meta/recipes-extended/cups/cups_2.1.4.bb           |   6 -
 meta/recipes-extended/cups/cups_2.2.1.bb           |   6 +
 .../libarchive/libarchive_3.2.2.bb                 |   2 +-
 ...x-error-conflicting-types-for-posix_close.patch |  39 --
 .../slang/{slang_2.3.0.bb => slang_2.3.1.bb}       |   6 +-
 .../gcr-add-missing-dependencies-for-vapi.patch    |  51 ++
 meta/recipes-gnome/gcr/gcr_3.20.0.bb               |   2 +
 .../{libnotify_0.7.6.bb => libnotify_0.7.7.bb}     |   4 +-
 meta/recipes-graphics/libva/libva_1.7.3.bb         |   4 +-
 .../{matchbox-wm_1.2.1.bb => matchbox-wm_1.2.2.bb} |   4 +-
 .../mesa/{mesa-gl_13.0.1.bb => mesa-gl_13.0.2.bb}  |   0
 .../mesa/{mesa_13.0.1.bb => mesa_13.0.2.bb}        |   4 +-
 ...-evdev_2.10.3.bb => xf86-input-evdev_2.10.4.bb} |   4 +-
 ...board_1.8.1.bb => xf86-input-keyboard_1.9.0.bb} |   4 +-
 .../xorg-driver/xf86-input-keyboard_git.bb         |  16 -
 ...put_0.22.0.bb => xf86-input-libinput_0.23.0.bb} |   4 +-
 ...ut-mouse_1.9.1.bb => xf86-input-mouse_1.9.2.bb} |   5 +-
 .../xorg-driver/xf86-input-mouse_git.bb            |  18 -
 ...tics_1.8.3.bb => xf86-input-synaptics_1.9.0.bb} |   4 +-
 .../xorg-driver/xf86-input-synaptics_git.bb        |  18 -
 ...ideo-omap_0.4.4.bb => xf86-video-omap_0.4.5.bb} |   4 +-
 .../0002-add-option-for-vmwgfx.patch               |  37 +-
 ...mware_13.1.0.bb => xf86-video-vmware_13.2.1.bb} |   4 +-
 meta/recipes-graphics/xorg-lib/libxfont2_2.0.1.bb  |  22 +
 ...ard-config_2.18.bb => xkeyboard-config_2.19.bb} |   4 +-
 .../recipes-graphics/xorg-xserver/xserver-xorg.inc |   6 +-
 ...onfigure.ac-Fix-check-for-CLOCK_MONOTONIC.patch |  61 ++
 ...c-Fix-wayland-scanner-and-protocols-locat.patch |  38 ++
 ...erver-xorg_1.18.4.bb => xserver-xorg_1.19.0.bb} |   9 +-
 meta/recipes-kernel/linux/linux-yocto-rt_4.8.bb    |   4 +-
 meta/recipes-kernel/linux/linux-yocto-tiny_4.8.bb  |   2 +-
 meta/recipes-kernel/linux/linux-yocto_4.8.bb       |   2 +-
 ...libav_1.8.3.bb => gstreamer1.0-libav_1.10.1.bb} |   5 +-
 .../gstreamer/gstreamer1.0-plugins-bad.inc         |   3 +-
 ...-don-t-hardcode-libtool-name-when-running.patch |  35 +-
 ...G_CONFIG_SYSROOT_DIR-to-pkg-config-output.patch |  34 ++
 ...gl.pc.in-don-t-append-GL_CFLAGS-to-CFLAGS.patch |  15 +-
 ...lplugin-enable-gldeinterlace-on-OpenGL-ES.patch | 634 ---------------------
 ...ert-implement-multiple-render-targets-for.patch | 244 --------
 ...ert-don-t-use-the-predefined-variable-nam.patch |  32 --
 .../0005-glshader-add-glBindFragDataLocation.patch |  77 ---
 ...ert-GLES3-deprecates-texture2D-and-it-doe.patch |  51 --
 .../0008-gl-implement-GstGLMemoryEGL.patch         | 495 ----------------
 ...valid-sentinels-for-gst_structure_get-etc.patch |  59 +-
 ...1.8.3.bb => gstreamer1.0-plugins-bad_1.10.1.bb} |  14 +-
 ....8.3.bb => gstreamer1.0-plugins-base_1.10.1.bb} |   5 +-
 ....8.3.bb => gstreamer1.0-plugins-good_1.10.1.bb} |   5 +-
 ....8.3.bb => gstreamer1.0-plugins-ugly_1.10.1.bb} |   5 +-
 .../gstreamer/gstreamer1.0-rtsp-server.inc         |   2 +-
 ...1.8.3.bb => gstreamer1.0-rtsp-server_1.10.1.bb} |   4 +-
 .../gstreamer/gstreamer1.0-vaapi.inc               |  38 ++
 .../gstreamer1.0-vaapi/install-tests.patch         |  43 ++
 .../gstreamer/gstreamer1.0-vaapi_1.10.1.bb         |   6 +
 meta/recipes-multimedia/gstreamer/gstreamer1.0.inc |   1 -
 ...streamer1.0_1.8.3.bb => gstreamer1.0_1.10.1.bb} |   5 +-
 .../libtiff/files/CVE-2015-8665_8683.patch         | 137 -----
 .../libtiff/files/CVE-2015-8781.patch              | 195 -------
 .../libtiff/files/CVE-2015-8784.patch              |  73 ---
 .../libtiff/files/CVE-2016-3186.patch              |  24 -
 .../libtiff/files/CVE-2016-3622.patch              | 129 -----
 .../libtiff/files/CVE-2016-3623.patch              |  52 --
 .../libtiff/files/CVE-2016-3632.patch              |  34 --
 .../libtiff/files/CVE-2016-3658.patch              | 111 ----
 .../libtiff/files/CVE-2016-3945.patch              | 118 ----
 .../libtiff/files/CVE-2016-3990.patch              |  66 ---
 .../libtiff/files/CVE-2016-3991.patch              | 147 -----
 .../libtiff/files/CVE-2016-5321.patch              |  49 --
 .../libtiff/files/CVE-2016-5323.patch              | 107 ----
 .../libtiff/files/CVE-2016-9535-1.patch            | 423 --------------
 .../libtiff/files/CVE-2016-9535-2.patch            |  67 ---
 .../libtiff/files/CVE-2016-9538.patch              |  67 ---
 .../libtiff/files/CVE-2016-9539.patch              |  60 --
 .../libtiff/files/CVE-2016-9540.patch              |  60 --
 .../libtiff/files/Fix_several_CVE_issues.patch     | 281 ---------
 .../libtiff/{tiff_4.0.6.bb => tiff_4.0.7.bb}       |  25 +-
 ...arify-conditions-to-avoid-compiler-errors.patch |  48 ++
 ...mpiler-errors-about-uninitialized-use-of-.patch |  32 --
 meta/recipes-sato/puzzles/puzzles_git.bb           |   4 +-
 ...bKitMacros-Append-to-I-and-not-to-isystem.patch | 185 ++++++
 meta/recipes-sato/webkit/webkitgtk_2.14.2.bb       |   1 +
 meta/recipes-support/curl/curl_7.51.0.bb           |   1 +
 .../mpfr/{mpfr_3.1.4.bb => mpfr_3.1.5.bb}          |   4 +-
 scripts/devtool                                    |   3 +-
 scripts/lib/scriptutils.py                         |   8 +-
 scripts/lib/wic/utils/partitionedfs.py             |   7 +-
 scripts/oe-buildenv-internal                       |  12 +
 scripts/oe-find-native-sysroot                     |  14 +
 scripts/oe-git-proxy                               |  21 +
 scripts/oe-run-native                              |  11 +-
 scripts/oe-selftest                                | 102 ++++
 scripts/oe-setup-builddir                          |   8 +
 scripts/oe-setup-rpmrepo                           |  28 +-
 scripts/oe-trim-schemas                            |   9 +
 scripts/oepydevshell-internal.py                   |  15 +-
 scripts/recipetool                                 |   4 +-
 scripts/wic                                        |   2 +-
 133 files changed, 1430 insertions(+), 4092 deletions(-)
 create mode 100644 meta-selftest/lib/devtool/bbpath.py
 create mode 100644 meta-selftest/lib/recipetool/bbpath.py
 create mode 100644 meta/lib/oeqa/utils/metadata.py
 create mode 100644 meta/recipes-bsp/grub/files/0001-grub-core-kern-efi-mm.c-grub_efi_finish_boot_service.patch
 create mode 100644 meta/recipes-bsp/grub/files/0002-grub-core-kern-efi-mm.c-grub_efi_get_memory_map-Neve.patch
 rename meta/recipes-bsp/systemd-boot/{systemd-boot.bb => systemd-boot_232.bb} (100%)
 create mode 100644 meta/recipes-connectivity/libpcap/libpcap/disable-remote.patch
 create mode 100644 meta/recipes-core/systemd/systemd/0020-back-port-233-don-t-use-the-unified-hierarchy-for-the-systemd.patch
 delete mode 100644 meta/recipes-extended/cups/cups_2.1.4.bb
 create mode 100644 meta/recipes-extended/cups/cups_2.2.1.bb
 delete mode 100644 meta/recipes-extended/slang/slang/0001-Fix-error-conflicting-types-for-posix_close.patch
 rename meta/recipes-extended/slang/{slang_2.3.0.bb => slang_2.3.1.bb} (90%)
 create mode 100644 meta/recipes-gnome/gcr/files/gcr-add-missing-dependencies-for-vapi.patch
 rename meta/recipes-gnome/libnotify/{libnotify_0.7.6.bb => libnotify_0.7.7.bb} (79%)
 rename meta/recipes-graphics/matchbox-wm/{matchbox-wm_1.2.1.bb => matchbox-wm_1.2.2.bb} (94%)
 rename meta/recipes-graphics/mesa/{mesa-gl_13.0.1.bb => mesa-gl_13.0.2.bb} (100%)
 rename meta/recipes-graphics/mesa/{mesa_13.0.1.bb => mesa_13.0.2.bb} (83%)
 rename meta/recipes-graphics/xorg-driver/{xf86-input-evdev_2.10.3.bb => xf86-input-evdev_2.10.4.bb} (83%)
 rename meta/recipes-graphics/xorg-driver/{xf86-input-keyboard_1.8.1.bb => xf86-input-keyboard_1.9.0.bb} (73%)
 delete mode 100644 meta/recipes-graphics/xorg-driver/xf86-input-keyboard_git.bb
 rename meta/recipes-graphics/xorg-driver/{xf86-input-libinput_0.22.0.bb => xf86-input-libinput_0.23.0.bb} (63%)
 rename meta/recipes-graphics/xorg-driver/{xf86-input-mouse_1.9.1.bb => xf86-input-mouse_1.9.2.bb} (76%)
 delete mode 100644 meta/recipes-graphics/xorg-driver/xf86-input-mouse_git.bb
 rename meta/recipes-graphics/xorg-driver/{xf86-input-synaptics_1.8.3.bb => xf86-input-synaptics_1.9.0.bb} (79%)
 delete mode 100644 meta/recipes-graphics/xorg-driver/xf86-input-synaptics_git.bb
 rename meta/recipes-graphics/xorg-driver/{xf86-video-omap_0.4.4.bb => xf86-video-omap_0.4.5.bb} (89%)
 rename meta/recipes-graphics/xorg-driver/{xf86-video-vmware_13.1.0.bb => xf86-video-vmware_13.2.1.bb} (78%)
 create mode 100644 meta/recipes-graphics/xorg-lib/libxfont2_2.0.1.bb
 rename meta/recipes-graphics/xorg-lib/{xkeyboard-config_2.18.bb => xkeyboard-config_2.19.bb} (88%)
 create mode 100644 meta/recipes-graphics/xorg-xserver/xserver-xorg/0001-configure.ac-Fix-check-for-CLOCK_MONOTONIC.patch
 create mode 100644 meta/recipes-graphics/xorg-xserver/xserver-xorg/0002-configure.ac-Fix-wayland-scanner-and-protocols-locat.patch
 rename meta/recipes-graphics/xorg-xserver/{xserver-xorg_1.18.4.bb => xserver-xorg_1.19.0.bb} (70%)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-libav_1.8.3.bb => gstreamer1.0-libav_1.10.1.bb} (86%)
 create mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-Prepend-PKG_CONFIG_SYSROOT_DIR-to-pkg-config-output.patch
 delete mode 100755 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0002-glplugin-enable-gldeinterlace-on-OpenGL-ES.patch
 delete mode 100755 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0003-glcolorconvert-implement-multiple-render-targets-for.patch
 delete mode 100755 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0004-glcolorconvert-don-t-use-the-predefined-variable-nam.patch
 delete mode 100755 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0005-glshader-add-glBindFragDataLocation.patch
 delete mode 100755 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0006-glcolorconvert-GLES3-deprecates-texture2D-and-it-doe.patch
 delete mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0008-gl-implement-GstGLMemoryEGL.patch
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-bad_1.8.3.bb => gstreamer1.0-plugins-bad_1.10.1.bb} (64%)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-base_1.8.3.bb => gstreamer1.0-plugins-base_1.10.1.bb} (85%)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-good_1.8.3.bb => gstreamer1.0-plugins-good_1.10.1.bb} (84%)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-ugly_1.8.3.bb => gstreamer1.0-plugins-ugly_1.10.1.bb} (76%)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-rtsp-server_1.8.3.bb => gstreamer1.0-rtsp-server_1.10.1.bb} (44%)
 create mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi.inc
 create mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi/install-tests.patch
 create mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.10.1.bb
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0_1.8.3.bb => gstreamer1.0_1.10.1.bb} (69%)
 delete mode 100644 meta/recipes-multimedia/libtiff/files/CVE-2015-8665_8683.patch
 delete mode 100644 meta/recipes-multimedia/libtiff/files/CVE-2015-8781.patch
 delete mode 100644 meta/recipes-multimedia/libtiff/files/CVE-2015-8784.patch
 delete mode 100644 meta/recipes-multimedia/libtiff/files/CVE-2016-3186.patch
 delete mode 100644 meta/recipes-multimedia/libtiff/files/CVE-2016-3622.patch
 delete mode 100644 meta/recipes-multimedia/libtiff/files/CVE-2016-3623.patch
 delete mode 100644 meta/recipes-multimedia/libtiff/files/CVE-2016-3632.patch
 delete mode 100644 meta/recipes-multimedia/libtiff/files/CVE-2016-3658.patch
 delete mode 100644 meta/recipes-multimedia/libtiff/files/CVE-2016-3945.patch
 delete mode 100644 meta/recipes-multimedia/libtiff/files/CVE-2016-3990.patch
 delete mode 100644 meta/recipes-multimedia/libtiff/files/CVE-2016-3991.patch
 delete mode 100644 meta/recipes-multimedia/libtiff/files/CVE-2016-5321.patch
 delete mode 100644 meta/recipes-multimedia/libtiff/files/CVE-2016-5323.patch
 delete mode 100644 meta/recipes-multimedia/libtiff/files/CVE-2016-9535-1.patch
 delete mode 100644 meta/recipes-multimedia/libtiff/files/CVE-2016-9535-2.patch
 delete mode 100644 meta/recipes-multimedia/libtiff/files/CVE-2016-9538.patch
 delete mode 100644 meta/recipes-multimedia/libtiff/files/CVE-2016-9539.patch
 delete mode 100644 meta/recipes-multimedia/libtiff/files/CVE-2016-9540.patch
 delete mode 100644 meta/recipes-multimedia/libtiff/files/Fix_several_CVE_issues.patch
 rename meta/recipes-multimedia/libtiff/{tiff_4.0.6.bb => tiff_4.0.7.bb} (64%)
 create mode 100644 meta/recipes-sato/puzzles/files/0001-Clarify-conditions-to-avoid-compiler-errors.patch
 delete mode 100644 meta/recipes-sato/puzzles/files/0001-rect-Fix-compiler-errors-about-uninitialized-use-of-.patch
 create mode 100644 meta/recipes-sato/webkit/files/0001-WebKitMacros-Append-to-I-and-not-to-isystem.patch
 rename meta/recipes-support/mpfr/{mpfr_3.1.4.bb => mpfr_3.1.5.bb} (75%)

-- 
2.8.1



^ permalink raw reply

* Re: [PATCH 2/8] oeqa/sdkext/devtool.py: remove workspace/sources before running test cases
From: Lopez, Mariano @ 2016-12-13 13:58 UTC (permalink / raw)
  To: Paul Eggleton, Robert Yang
  Cc: Francisco Pedraza, openembedded-core, Limon, Anibal
In-Reply-To: <3281082.n0HP4LhUSl@peggleto-mobl.ger.corp.intel.com>



On 12/12/2016 10:45 PM, Paul Eggleton wrote:
> On Wed, 16 Nov 2016 22:19:31 Robert Yang wrote:
>> Fixed:
>> MACHINE = "qemux86-64"
>> require conf/multilib.conf
>> MULTILIBS = "multilib:lib32"
>> DEFAULTTUNE_virtclass-multilib-lib32 = "x86"
>>
>> $ bitbake core-image-minimal -cpopulate_sdk_ext
>> [snip]
>> ERROR: Source tree path
>> /path/to/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/testsdkex
>> t/tc/workspace/sources/v4l2loopback-driver already exists and is not
>> empty\n' [snip]
>>
>> This is because the test case will run twice
>> (environment-setup-core2-64-poky-linux and
>> environment-setup-x86-pokymllib32-linux), it would fail in the second
>> run, 'devtool reset' can not remove sources, so remove it before running
>> test cases.
>>
>> [YOCTO #10647]
>>
>> Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
>> ---
>>   meta/lib/oeqa/sdkext/devtool.py | 3 +++
>>   1 file changed, 3 insertions(+)
>>
>> diff --git a/meta/lib/oeqa/sdkext/devtool.py
>> b/meta/lib/oeqa/sdkext/devtool.py index 65f41f6..f101eb6 100644
>> --- a/meta/lib/oeqa/sdkext/devtool.py
>> +++ b/meta/lib/oeqa/sdkext/devtool.py
>> @@ -15,6 +15,9 @@ class DevtoolTest(oeSDKExtTest):
>>           self.myapp_cmake_dst = os.path.join(self.tc.sdktestdir,
>> "myapp_cmake") shutil.copytree(self.myapp_cmake_src, self.myapp_cmake_dst)
>>
>> +        # Clean sources dir to make "git clone" can run again
>> +        shutil.rmtree(os.path.join(self.tc.sdktestdir,
>> "tc/workspace/sources"), True) +
>>       def _test_devtool_build(self, directory):
>>           self._run('devtool add myapp %s' % directory)
>>           try:
> It seems to me that's what's missing here is a proper teardown process like we
> have for oe-selftest, so that tests clean up after themselves whether they
> succeed or fail. I'm unsure as to whether that is part of the plan for the new
> QA refactoring though.

To clean directories before/after the test it is not in the plans of the 
QA refactoring, they way Robert did the clean up is appropriated, in the 
setUpClass method, this way it will run before every class test and only 
one time.

Mariano

>
> In the absence of that however I guess we don't have much choice but to do
> something like this.
>
> Cheers,
> Paul
>



^ permalink raw reply

* Re: [PATCH 1/2] grub_git: extend recipe for proper target deployment
From: Burton, Ross @ 2016-12-13 14:17 UTC (permalink / raw)
  To: Awais Belal; +Cc: OE-core
In-Reply-To: <1481627960-3608-1-git-send-email-awais_belal@mentor.com>

[-- Attachment #1: Type: text/plain, Size: 335 bytes --]

On 13 December 2016 at 11:19, Awais Belal <awais_belal@mentor.com> wrote:

> +DEPENDS_class-target += "grub-native"
>

The native magic won't generate dependencies on itself, so this can just be
DEPENDS.


> +RDEPENDS_${PN}_class-target = "diffutils freetype"
>

Does this really need to be class-target-specific?

Ross

[-- Attachment #2: Type: text/html, Size: 1164 bytes --]

^ permalink raw reply

* Re: [PATCH v2 07/13] selftest: imagefeatures: skip tests in case distro feature is missing
From: Burton, Ross @ 2016-12-13 15:05 UTC (permalink / raw)
  To: Leonardo Sandoval; +Cc: OE-core
In-Reply-To: <7b737d7d3b1457c58742e0807c46d2221e5d7647.1480020435.git.leonardo.sandoval.gonzalez@linux.intel.com>

[-- Attachment #1: Type: text/plain, Size: 2065 bytes --]

On 24 November 2016 at 20:58, <leonardo.sandoval.gonzalez@linux.intel.com>
wrote:

> From: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
>
> core-image-clutter and core-image-weston, both required opengl in distro
> features, skip relevant tests if this is not the case.
>
> Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@
> linux.intel.com>
> ---
>  meta/lib/oeqa/selftest/imagefeatures.py | 4 ++++
>  1 file changed, 4 insertions(+)
>
> diff --git a/meta/lib/oeqa/selftest/imagefeatures.py
> b/meta/lib/oeqa/selftest/imagefeatures.py
> index d015c49..a61510b 100644
> --- a/meta/lib/oeqa/selftest/imagefeatures.py
> +++ b/meta/lib/oeqa/selftest/imagefeatures.py
> @@ -78,6 +78,8 @@ class ImageFeatures(oeSelfTest):
>          """
>
>          # Build a core-image-clutter
> +        if 'opengl' not in get_bb_var('DISTRO_FEATURES'):
> +            self.skipTest('opengl not present on DISTRO_FEATURES so
> core-image-clutter cannot be built')
>          bitbake('core-image-clutter')
>

I don't see the point of this test.  Lets save five minutes by just
deleting it.


>      @testcase(1117)
> @@ -96,6 +98,8 @@ class ImageFeatures(oeSelfTest):
>          self.write_config(features)
>
>          # Build a core-image-weston
> +        if 'opengl' not in get_bb_var('DISTRO_FEATURES'):
> +            self.skipTest('opengl not present on DISTRO_FEATURES so
> core-image-weston cannot be built')
>          bitbake('core-image-weston')


The full test is:

        features = 'DISTRO_FEATURES_append = " wayland"\n'
        features += 'CORE_IMAGE_EXTRA_INSTALL += "wayland weston"'
        self.write_config(features)

        # Build a core-image-weston
        bitbake('core-image-weston')

Adding wayland and weston to IMAGE_INSTALL is pointless as thats what the
image does.  Adding wayland is madness if the distro doesn't support it.

Can you rewrite this test so it's basically just "if DISTRO_FEATURES
contains opengl and wayland, build core-image-weston".

Ross

[-- Attachment #2: Type: text/html, Size: 3234 bytes --]

^ permalink raw reply

* [PATCH] ghostscript 9.19 -> 9.20
From: Huang Qiyu @ 2016-12-13 23:05 UTC (permalink / raw)
  To: openembedded-core

1)Upgrade ghostscript from 9.19 to 9.20.
2)Modify ghostscript-9.15-parallel-make.patch, since the data has been changed.

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
---
 .../ghostscript-9.15-parallel-make.patch           | 35 +++++++++++-----------
 .../{ghostscript_9.19.bb => ghostscript_9.20.bb}   |  8 ++---
 2 files changed, 21 insertions(+), 22 deletions(-)
 rename meta/recipes-extended/ghostscript/{ghostscript_9.19.bb => ghostscript_9.20.bb} (92%)

diff --git a/meta/recipes-extended/ghostscript/ghostscript/ghostscript-9.15-parallel-make.patch b/meta/recipes-extended/ghostscript/ghostscript/ghostscript-9.15-parallel-make.patch
index 797b894..8fa2c40 100644
--- a/meta/recipes-extended/ghostscript/ghostscript/ghostscript-9.15-parallel-make.patch
+++ b/meta/recipes-extended/ghostscript/ghostscript/ghostscript-9.15-parallel-make.patch
@@ -1,40 +1,39 @@
-From be1e1b33191afdcfe3c2ecc4ff3e361a5859e9c6 Mon Sep 17 00:00:00 2001
-From: Robert Yang <liezhi.yang@windriver.com>
-Date: Fri, 30 Jan 2015 00:40:22 -0800
-Subject: [PATCH] contrib.mak: fix for parallel build
+From 14937d9247330065359ca0fb648c28dfa5c3b224 Mon Sep 17 00:00:00 2001
+From: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
+Date: Tue, 13 Dec 2016 18:16:41 +0900
+Subject: [PATCH] ghostscript-9.15-parallel-make
 
-Fixed:
-rm: cannot remove `/usr/share/ghostscript/9.15/lib': Is a directory
+From 767bdf8a412b0cce2b734998e9b7e55abeaf932c Mon Sep 17 00:00:00 2001
+From: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
+Date: Tue, 13 Dec 2016 17:55:54 +0900
+Subject: [PATCH] Robert Yang <liezhi.yang@windriver.com> Date: Fri, 30 Jan
+2015 00:40:22 -0800  Subject: [PATCH] contrib.mak: fix for parallel build
 
-Create lib before install to fix the race issue.
-
-Upstream-Status: Pending
-
-Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
+Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
 ---
- contrib/contrib.mak |    2 ++
+ contrib/contrib.mak | 2 ++
  1 file changed, 2 insertions(+)
 
 diff --git a/contrib/contrib.mak b/contrib/contrib.mak
-index 08a80d1..de2e20d 100644
+index 55415b3..0b6b5ae 100644
 --- a/contrib/contrib.mak
 +++ b/contrib/contrib.mak
-@@ -947,6 +947,7 @@ $(DEVOBJ)dviprlib.$(OBJ) : $(JAPSRC)dviprlib.c $(JAPSRC)dviprlib.h
+@@ -1099,6 +1099,7 @@ $(DEVOBJ)dviprlib.$(OBJ) : $(JAPSRC)dviprlib.c $(JAPSRC)dviprlib.h \
  	$(DEVCC) $(O_)$@ $(C_) $(JAPSRC)dviprlib.c
  
- extra-dmprt-install:
+ extra-dmprt-install: install-libdata
 +	mkdir -p $(DESTDIR)$(gsdatadir)$(D)lib
  	$(INSTALL_DATA) $(JAPSRC)dmp_init.ps $(DESTDIR)$(gsdatadir)$(D)lib || exit 1
  	$(INSTALL_DATA) $(JAPSRC)dmp_site.ps $(DESTDIR)$(gsdatadir)$(D)lib || exit 1
  	$(INSTALL_DATA) $(JAPSRC)escp_24.src $(DESTDIR)$(gsdatadir)$(D)lib || exit 1
-@@ -1088,6 +1089,7 @@ $(DEVOBJ)gdevalps.$(OBJ) : $(JAPSRC)gdevalps.c $(PDEVH)
+@@ -1267,6 +1268,7 @@ $(DEVOBJ)gdevalps.$(OBJ) : $(JAPSRC)gdevalps.c $(PDEVH) \
  ### ----------------- Additional .upp files ---------------- ###
  
- extra-upp-install:
+ extra-upp-install: install-libdata
 +	mkdir -p $(DESTDIR)$(gsdatadir)$(D)lib
  	for f in $(CONTRIBSRC)uniprint$(D)*.upp; do \
  	    $(INSTALL_DATA) $$f $(DESTDIR)$(gsdatadir)$(D)lib || exit 1; \
  	done
 -- 
-1.7.9.5
+2.7.4
 
diff --git a/meta/recipes-extended/ghostscript/ghostscript_9.19.bb b/meta/recipes-extended/ghostscript/ghostscript_9.20.bb
similarity index 92%
rename from meta/recipes-extended/ghostscript/ghostscript_9.19.bb
rename to meta/recipes-extended/ghostscript/ghostscript_9.20.bb
index 8524591..0800b4e 100644
--- a/meta/recipes-extended/ghostscript/ghostscript_9.19.bb
+++ b/meta/recipes-extended/ghostscript/ghostscript_9.20.bb
@@ -11,14 +11,14 @@ HOMEPAGE = "http://www.ghostscript.com"
 SECTION = "console/utils"
 
 LICENSE = "GPLv3"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=b17cea54743435ab2a581c237bea294a"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=70dc2bac4d0ce4448da873cd86b123fc"
 
 DEPENDS = "ghostscript-native tiff jpeg fontconfig cups libpng"
 DEPENDS_class-native = "libpng-native"
 
 UPSTREAM_CHECK_URI = "https://github.com/ArtifexSoftware/ghostpdl-downloads/releases"
 
-SRC_URI_BASE = "https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs919/${BPN}-${PV}.tar.gz \
+SRC_URI_BASE = "https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs920/${BPN}-${PV}.tar.gz \
                 file://ghostscript-9.15-parallel-make.patch \
                 file://ghostscript-9.16-Werror-return-type.patch \
                 file://png_mak.patch \
@@ -37,8 +37,8 @@ SRC_URI_class-native = "${SRC_URI_BASE} \
                         file://base-genht.c-add-a-preprocessor-define-to-allow-fope.patch \
                         "
 
-SRC_URI[md5sum] = "c9682ce6b852f9197c69905a43928907"
-SRC_URI[sha256sum] = "cf3c0dce67db1557a87366969945f9c5235887989c0b585e037af366dc035989"
+SRC_URI[md5sum] = "93c5987cd3ab341108be1ebbaadc24fe"
+SRC_URI[sha256sum] = "949b64b46ecf8906db54a94ecf83ab97534ebf946f770d3c3f283cb469cb6e14"
 
 EXTRA_OECONF = "--without-x --with-system-libtiff --without-jbig2dec \
                 --with-fontpath=${datadir}/fonts \
-- 
2.7.4





^ permalink raw reply related

* Re: [PATCH] systemd: disable 'libdir' QA check
From: Mark Asselstine @ 2016-12-13 15:20 UTC (permalink / raw)
  To: Burton, Ross; +Cc: OE-core
In-Reply-To: <CAJTo0Lb0SgZH9LQyqwdXm858XTk6RQD0HTGBnZ1g-sXoy_HbjQ@mail.gmail.com>

On Monday, December 12, 2016 9:17:14 PM EST Burton, Ross wrote:
> On 12 December 2016 at 20:51, Mark Asselstine <mark.asselstine@windriver.com
> > wrote:
> > 
> > I think the discussion I pointed to in the commit log closes the door on
> > any
> > such change. Specific the comment from Lennart --
> > https://github.com/systemd/systemd/issues/3810#issuecomment-235290526
> > 
> > They don't want the library to be found in the default search path, they
> > want
> > to maintain this as a "hidden, internal resource".
> 
> Oh if it's an implementation detail of systemd and not a user-facing
> library then I can see their argument I guess.
> 
> Don't agree with it though.  But, the point is that as long as the parts of
> systemd that could realistically be multilibd are in $libdir then this
> isn't a problem.

It is definitely an internal infra item for systemd and not seen as a 'public' 
library so I think we are best to run with it. I am with you that I don't 
necessarily agree with it. Khem, does this satisfy your concerns?

Mark

> 
> Ross




^ permalink raw reply

* Re: [PATCH v2 11/13] selftest: sstatetests: skip methods in case of poky-tiny or opengl is missing
From: Burton, Ross @ 2016-12-13 15:25 UTC (permalink / raw)
  To: Leonardo Sandoval; +Cc: OE-core
In-Reply-To: <2ecee254e60279af29f86073837fe8bd25998766.1480020435.git.leonardo.sandoval.gonzalez@linux.intel.com>

[-- Attachment #1: Type: text/plain, Size: 1912 bytes --]

On 24 November 2016 at 20:58, <leonardo.sandoval.gonzalez@linux.intel.com>
wrote:

> diff --git a/meta/lib/oeqa/selftest/sstatetests.py
> b/meta/lib/oeqa/selftest/sstatetests.py
> index 6642539..8ea3932 100644
> --- a/meta/lib/oeqa/selftest/sstatetests.py
> +++ b/meta/lib/oeqa/selftest/sstatetests.py
> @@ -42,20 +42,36 @@ class SStateTests(SStateBase):
>      @testcase(975)
>      def test_sstate_creation_distro_specific_pass(self):
>          targetarch = get_bb_var('TUNE_ARCH')
> -        self.run_test_sstate_creation(['binutils-cross-'+ targetarch,
> 'binutils-native'], distro_specific=True, distro_nonspecific=False,
> temp_sstate_location=True)
> +        # Execute the test in all distros expect poky-tiny where
> glibc-initial is not provided
> +        targets = ['binutils-cross-'+ targetarch, 'binutils-native']
> +        if self.distro == 'poky-tiny':
> +            self.skipTest('Distro %s does not support building the
> following targets %s' % (self.distro, ','.join(targets)))
> +        self.run_test_sstate_creation(targets, distro_specific=True,
> distro_nonspecific=False, temp_sstate_location=True)
>

Sounds like it would be easier to just remove glibc-initial from that list,
and either remove it entirely or replace it with a virtual name that both
glibc and musl provide.


> @@ -228,6 +255,8 @@ class SStateTests(SStateBase):
>          build machines and running a builds, override the variables
> calling uname()
>          manually and check using bitbake -S.
>          """
> +        if self.distro == 'poky-tiny':
> +            self.skipTest('core-image-sato not buildable for poky-tiny')
>
>          topdir = get_bb_var('TOPDIR')
>          targetvendor = get_bb_var('TARGET_VENDOR')
>

For all of these tests that just do bitbake -S core-image-sato, if world
works then that is more flexible and more comprehensive.

Ross

[-- Attachment #2: Type: text/html, Size: 2646 bytes --]

^ permalink raw reply

* Re: [PATCH 5/5] libsdl2: fix build on wayland(-dev)less hosts
From: Burton, Ross @ 2016-12-13 15:31 UTC (permalink / raw)
  To: Andreas Müller; +Cc: OE-core
In-Reply-To: <1480983561-11437-5-git-send-email-schnitzeltony@googlemail.com>

[-- Attachment #1: Type: text/plain, Size: 5753 bytes --]

I finally merged the sdl/wayland bits of this series but libsdl2 fails for
me:

|   GEN    gen/wayland-client-protocol.h
| /bin/bash: client-header: command not found
| /bin/bash: client-header: command not found

Ross

On 6 December 2016 at 00:19, Andreas Müller <schnitzeltony@googlemail.com>
wrote:

> * add sysroot prefix to wayland core protocols
> * do not use pkg-config to find wayland-scanner
>
> Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
> ---
>  ...-sysroot-path-so-that-make-finds-our-wayl.patch |  8 +++---
>  ...void-finding-build-host-s-wayland-scanner.patch | 31
> ++++++++++++++++++++++
>  meta/recipes-graphics/libsdl2/libsdl2_2.0.5.bb     |  1 +
>  3 files changed, 37 insertions(+), 3 deletions(-)
>  create mode 100644 meta/recipes-graphics/libsdl2/
> libsdl2/0002-Avoid-finding-build-host-s-wayland-scanner.patch
>
> diff --git a/meta/recipes-graphics/libsdl2/libsdl2/0001-prepend-
> our-sysroot-path-so-that-make-finds-our-wayl.patch
> b/meta/recipes-graphics/libsdl2/libsdl2/0001-prepend-
> our-sysroot-path-so-that-make-finds-our-wayl.patch
> index d042430..efc8418 100644
> --- a/meta/recipes-graphics/libsdl2/libsdl2/0001-prepend-
> our-sysroot-path-so-that-make-finds-our-wayl.patch
> +++ b/meta/recipes-graphics/libsdl2/libsdl2/0001-prepend-
> our-sysroot-path-so-that-make-finds-our-wayl.patch
> @@ -11,18 +11,20 @@ Upstream-Status: Inappropriate [embedded specific]
>
>  Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
>  ---
> - configure.in | 2 +-
> - 1 file changed, 1 insertion(+), 1 deletion(-)
> + configure.in | 4 +-
> + 1 file changed, 2 insertions(+), 2 deletions(-)
>
>  diff --git a/configure.in b/configure.in
>  index 726ded3..3376600 100644
>  --- a/configure.in
>  +++ b/configure.in
>  @@ -1206,7 +1206,7 @@ AC_HELP_STRING([--enable-video-wayland-qt-touch],
> [QtWayland server support for
> +                 WAYLAND_CFLAGS=`$PKG_CONFIG --cflags wayland-client
> wayland-egl wayland-cursor xkbcommon`
>                   WAYLAND_LIBS=`$PKG_CONFIG --libs wayland-client
> wayland-egl wayland-cursor xkbcommon`
>                   WAYLAND_SCANNER=`$PKG_CONFIG --variable=wayland_scanner
> wayland-scanner`
> -                 WAYLAND_CORE_PROTOCOL_DIR=`$PKG_CONFIG
> --variable=pkgdatadir wayland-client`
> +-                WAYLAND_CORE_PROTOCOL_DIR=`$PKG_CONFIG
> --variable=pkgdatadir wayland-client`
>  -                WAYLAND_PROTOCOLS_DIR=`$PKG_CONFIG
> --variable=pkgdatadir wayland-protocols`
> ++                WAYLAND_CORE_PROTOCOL_DIR=${
> WAYLAND_PROTOCOLS_SYSROOT_DIR}`$PKG_CONFIG --variable=pkgdatadir
> wayland-client`
>  +                WAYLAND_PROTOCOLS_DIR=${WAYLAND_PROTOCOLS_SYSROOT_DIR}`$PKG_CONFIG
> --variable=pkgdatadir wayland-protocols`
>                   video_wayland=yes
>               fi
> diff --git a/meta/recipes-graphics/libsdl2/libsdl2/0002-Avoid-
> finding-build-host-s-wayland-scanner.patch b/meta/recipes-graphics/
> libsdl2/libsdl2/0002-Avoid-finding-build-host-s-wayland-scanner.patch
> new file mode 100644
> index 0000000..7837315
> --- /dev/null
> +++ b/meta/recipes-graphics/libsdl2/libsdl2/0002-Avoid-
> finding-build-host-s-wayland-scanner.patch
> @@ -0,0 +1,31 @@
> +From ae879091cf65cb70293b375ec7e61ed12a96d8a7 Mon Sep 17 00:00:00 2001
> +From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
> +Date: Fri, 2 Dec 2016 09:39:25 +0100
> +Subject: [PATCH] Avoid finding build host's wayland-scanner
> +MIME-Version: 1.0
> +Content-Type: text/plain; charset=UTF-8
> +Content-Transfer-Encoding: 8bit
> +
> +Upstream-Status: Inappropriate [embedded specific]
> +
> +Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
> +---
> + configure.in | 2 +-
> + 1 file changed, 1 insertion(+), 1 deletion(-)
> +
> +diff --git a/configure.in b/configure.in
> +index 3376600..2aa6ed4 100644
> +--- a/configure.in
> ++++ b/configure.in
> +@@ -1204,7 +1204,7 @@ AC_HELP_STRING([--enable-video-wayland-qt-touch],
> [QtWayland server support for
> +             if $PKG_CONFIG --exists wayland-client wayland-scanner
> wayland-protocols wayland-egl wayland-cursor egl xkbcommon ; then
> +                 WAYLAND_CFLAGS=`$PKG_CONFIG --cflags wayland-client
> wayland-egl wayland-cursor xkbcommon`
> +                 WAYLAND_LIBS=`$PKG_CONFIG --libs wayland-client
> wayland-egl wayland-cursor xkbcommon`
> +-                WAYLAND_SCANNER=`$PKG_CONFIG --variable=wayland_scanner
> wayland-scanner`
> ++                AC_PATH_PROG([WAYLAND_SCANNER], [wayland-scanner])
> +                 WAYLAND_CORE_PROTOCOL_DIR=${
> WAYLAND_PROTOCOLS_SYSROOT_DIR}`$PKG_CONFIG --variable=pkgdatadir
> wayland-client`
> +                 WAYLAND_PROTOCOLS_DIR=${WAYLAND_PROTOCOLS_SYSROOT_DIR}`$PKG_CONFIG
> --variable=pkgdatadir wayland-protocols`
> +                 video_wayland=yes
> +--
> +2.7.4
> +
> diff --git a/meta/recipes-graphics/libsdl2/libsdl2_2.0.5.bb
> b/meta/recipes-graphics/libsdl2/libsdl2_2.0.5.bb
> index bb75316..606e6fb 100644
> --- a/meta/recipes-graphics/libsdl2/libsdl2_2.0.5.bb
> +++ b/meta/recipes-graphics/libsdl2/libsdl2_2.0.5.bb
> @@ -18,6 +18,7 @@ SRC_URI = " \
>      http://www.libsdl.org/release/SDL2-${PV}.tar.gz \
>      file://linkage.patch \
>      file://0001-prepend-our-sysroot-path-so-that-make-finds-our-wayl.patch
> \
> +    file://0002-Avoid-finding-build-host-s-wayland-scanner.patch \
>  "
>
>  S = "${WORKDIR}/SDL2-${PV}"
> --
> 2.5.5
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>

[-- Attachment #2: Type: text/html, Size: 8351 bytes --]

^ permalink raw reply

* Re: [PATCH 5/5] libsdl2: fix build on wayland(-dev)less hosts
From: Andreas Müller @ 2016-12-13 15:42 UTC (permalink / raw)
  To: Burton, Ross; +Cc: OE-core
In-Reply-To: <CAJTo0LbtMiBd=_rip_Let9C0aAg-moLt2=3V=ghGOUA=yW-m=A@mail.gmail.com>

On Tue, Dec 13, 2016 at 4:31 PM, Burton, Ross <ross.burton@intel.com> wrote:
> I finally merged the sdl/wayland bits of this series but libsdl2 fails for
> me:
>
> |   GEN    gen/wayland-client-protocol.h
> | /bin/bash: client-header: command not found
> | /bin/bash: client-header: command not found
>
> Ross
Strange - something must be wrong on your machine :)

Seriously: Can you supply full log.do_configure and log.do_complie please?

Andreas


^ permalink raw reply

* [PATCH] selftest/wic: extending test coverage for WIC script options
From: Jair Gonzalez @ 2016-12-13 15:53 UTC (permalink / raw)
  To: openembedded-core

The previous WIC script selftest didn't cover all of its command
line options. The following test cases were added to complete
covering them:

1552 Test wic --version
1553 Test wic help create
1554 Test wic help list
1555 Test wic list images
1556 Test wic list source-plugins
1557 Test wic listed images help
1558 Test wic debug, skip-build-check and build_rootfs
1559 Test image vars directory selection
1562 Test alternate output directory

In addition, the following test cases were assigned an ID number on
Testopia:

1560 Test creation of systemd-bootdisk image
1561 Test creation of sdimage-bootpart image

Finally, part of the test methods were rearranged to group them by
functionality, and some cleanup was made to improve the code's
compliance with PEP8 style guide.

Fixes [YOCTO 10594]

Signed-off-by: Jair Gonzalez <jair.de.jesus.gonzalez.plascencia@linux.intel.com>
---
 meta/lib/oeqa/selftest/wic.py | 246 +++++++++++++++++++++++++++++-------------
 1 file changed, 174 insertions(+), 72 deletions(-)

diff --git a/meta/lib/oeqa/selftest/wic.py b/meta/lib/oeqa/selftest/wic.py
index e652fad..46bfb94 100644
--- a/meta/lib/oeqa/selftest/wic.py
+++ b/meta/lib/oeqa/selftest/wic.py
@@ -37,13 +37,13 @@ class Wic(oeSelfTest):
     """Wic test class."""
 
     resultdir = "/var/tmp/wic/build/"
+    alternate_resultdir = "/var/tmp/wic/build/alt/"
     image_is_ready = False
 
     def setUpLocal(self):
         """This code is executed before each test method."""
         self.write_config('IMAGE_FSTYPES += " hddimg"\n'
-                          'MACHINE_FEATURES_append = " efi"\n'
-                          'WKS_FILE = "wic-image-minimal"\n')
+                          'MACHINE_FEATURES_append = " efi"\n')
 
         # Do this here instead of in setUpClass as the base setUp does some
         # clean up which can result in the native tools built earlier in
@@ -56,10 +56,16 @@ class Wic(oeSelfTest):
 
         rmtree(self.resultdir, ignore_errors=True)
 
+    @testcase(1552)
+    def test_version(self):
+        """Test wic --version"""
+        self.assertEqual(0, runCmd('wic --version').status)
+
     @testcase(1208)
     def test_help(self):
-        """Test wic --help"""
+        """Test wic --help and wic -h"""
         self.assertEqual(0, runCmd('wic --help').status)
+        self.assertEqual(0, runCmd('wic -h').status)
 
     @testcase(1209)
     def test_createhelp(self):
@@ -71,19 +77,74 @@ class Wic(oeSelfTest):
         """Test wic list --help"""
         self.assertEqual(0, runCmd('wic list --help').status)
 
+    @testcase(1553)
+    def test_help_create(self):
+        """Test wic help create"""
+        self.assertEqual(0, runCmd('wic help create').status)
+
+    @testcase(1554)
+    def test_help_list(self):
+        """Test wic help list"""
+        self.assertEqual(0, runCmd('wic help list').status)
+
+    @testcase(1215)
+    def test_help_overview(self):
+        """Test wic help overview"""
+        self.assertEqual(0, runCmd('wic help overview').status)
+
+    @testcase(1216)
+    def test_help_plugins(self):
+        """Test wic help plugins"""
+        self.assertEqual(0, runCmd('wic help plugins').status)
+
+    @testcase(1217)
+    def test_help_kickstart(self):
+        """Test wic help kickstart"""
+        self.assertEqual(0, runCmd('wic help kickstart').status)
+
+    @testcase(1555)
+    def test_list_images(self):
+        """Test wic list images"""
+        self.assertEqual(0, runCmd('wic list images').status)
+
+    @testcase(1556)
+    def test_list_source_plugins(self):
+        """Test wic list source-plugins"""
+        self.assertEqual(0, runCmd('wic list source-plugins').status)
+
+    @testcase(1557)
+    def test_listed_images_help(self):
+        """Test wic listed images help"""
+        output = runCmd('wic list images').output
+        imageDetails = [line.split() for line in output.split('\n')]
+        imageList = [row[0] for row in imageDetails]
+        for image in imageList:
+            self.assertEqual(0, runCmd('wic list %s help' % image).status)
+
+    @testcase(1213)
+    def test_unsupported_subcommand(self):
+        """Test unsupported subcommand"""
+        self.assertEqual(1, runCmd('wic unsupported',
+                                   ignore_status=True).status)
+
+    @testcase(1214)
+    def test_no_command(self):
+        """Test wic without command"""
+        self.assertEqual(1, runCmd('wic', ignore_status=True).status)
+
     @testcase(1211)
     def test_build_image_name(self):
         """Test wic create directdisk --image-name core-image-minimal"""
         self.assertEqual(0, runCmd("wic create directdisk "
-                                   "--image-name core-image-minimal").status)
+                                   "--image-name=core-image-minimal").status)
         self.assertEqual(1, len(glob(self.resultdir + "directdisk-*.direct")))
 
     @testcase(1212)
     def test_build_artifacts(self):
         """Test wic create directdisk providing all artifacts."""
-        bbvars = dict((var.lower(), get_bb_var(var, 'core-image-minimal')) \
-                        for var in ('STAGING_DATADIR', 'DEPLOY_DIR_IMAGE',
-                                    'STAGING_DIR_NATIVE', 'IMAGE_ROOTFS'))
+        bbvars = dict((var.lower(), get_bb_var(var, 'core-image-minimal'))
+                      for var in ('STAGING_DATADIR', 'DEPLOY_DIR_IMAGE',
+                                  'STAGING_DIR_NATIVE', 'IMAGE_ROOTFS'))
         status = runCmd("wic create directdisk "
                         "-b %(staging_datadir)s "
                         "-k %(deploy_dir_image)s "
@@ -96,113 +157,110 @@ class Wic(oeSelfTest):
     def test_gpt_image(self):
         """Test creation of core-image-minimal with gpt table and UUID boot"""
         self.assertEqual(0, runCmd("wic create directdisk-gpt "
-                                   "--image-name core-image-minimal").status)
+                                   "--image-name core-image-minimal "
+                                   ).status)
         self.assertEqual(1, len(glob(self.resultdir + "directdisk-*.direct")))
 
-    @testcase(1213)
-    def test_unsupported_subcommand(self):
-        """Test unsupported subcommand"""
-        self.assertEqual(1, runCmd('wic unsupported',
-                                   ignore_status=True).status)
-
-    @testcase(1214)
-    def test_no_command(self):
-        """Test wic without command"""
-        self.assertEqual(1, runCmd('wic', ignore_status=True).status)
-
-    @testcase(1215)
-    def test_help_overview(self):
-        """Test wic help overview"""
-        self.assertEqual(0, runCmd('wic help overview').status)
-
-    @testcase(1216)
-    def test_help_plugins(self):
-        """Test wic help plugins"""
-        self.assertEqual(0, runCmd('wic help plugins').status)
-
-    @testcase(1217)
-    def test_help_kickstart(self):
-        """Test wic help kickstart"""
-        self.assertEqual(0, runCmd('wic help kickstart').status)
-
     @testcase(1264)
     def test_compress_gzip(self):
         """Test compressing an image with gzip"""
         self.assertEqual(0, runCmd("wic create directdisk "
-                                   "--image-name core-image-minimal "
+                                   "-e core-image-minimal "
                                    "-c gzip").status)
-        self.assertEqual(1, len(glob(self.resultdir + \
-                                         "directdisk-*.direct.gz")))
+        self.assertEqual(1, len(glob(self.resultdir +
+                                     "directdisk-*.direct.gz")))
 
     @testcase(1265)
     def test_compress_bzip2(self):
         """Test compressing an image with bzip2"""
         self.assertEqual(0, runCmd("wic create directdisk "
-                                   "--image-name core-image-minimal "
+                                   "--image-name=core-image-minimal "
                                    "-c bzip2").status)
-        self.assertEqual(1, len(glob(self.resultdir + \
-                                         "directdisk-*.direct.bz2")))
+        self.assertEqual(1, len(glob(self.resultdir +
+                                     "directdisk-*.direct.bz2")))
 
     @testcase(1266)
     def test_compress_xz(self):
         """Test compressing an image with xz"""
         self.assertEqual(0, runCmd("wic create directdisk "
-                                   "--image-name core-image-minimal "
-                                   "-c xz").status)
-        self.assertEqual(1, len(glob(self.resultdir + \
-                                         "directdisk-*.direct.xz")))
+                                   "--image-name=core-image-minimal "
+                                   "--compress-with=xz").status)
+        self.assertEqual(1, len(glob(self.resultdir +
+                                     "directdisk-*.direct.xz")))
 
     @testcase(1267)
     def test_wrong_compressor(self):
         """Test how wic breaks if wrong compressor is provided"""
         self.assertEqual(2, runCmd("wic create directdisk "
-                                   "--image-name core-image-minimal "
+                                   "--image-name=core-image-minimal "
                                    "-c wrong", ignore_status=True).status)
 
+    @testcase(1558)
+    def test_debug_skip_build_check_and_build_rootfs(self):
+        """Test wic debug, skip-build-check and build_rootfs"""
+        self.assertEqual(0, runCmd("wic create directdisk "
+                                   "--image-name=core-image-minimal "
+                                   "-D -s -f").status)
+        self.assertEqual(1, len(glob(self.resultdir + "directdisk-*.direct")))
+        self.assertEqual(0, runCmd("wic create directdisk "
+                                   "--image-name=core-image-minimal "
+                                   "--debug "
+                                   "--skip-build-check "
+                                   "--build-rootfs").status)
+        self.assertEqual(1, len(glob(self.resultdir + "directdisk-*.direct")))
+
     @testcase(1268)
     def test_rootfs_indirect_recipes(self):
         """Test usage of rootfs plugin with rootfs recipes"""
         wks = "directdisk-multi-rootfs"
         self.assertEqual(0, runCmd("wic create %s "
-                                   "--image-name core-image-minimal "
+                                   "--image-name=core-image-minimal "
                                    "--rootfs rootfs1=core-image-minimal "
-                                   "--rootfs rootfs2=core-image-minimal" \
+                                   "--rootfs rootfs2=core-image-minimal"
                                    % wks).status)
         self.assertEqual(1, len(glob(self.resultdir + "%s*.direct" % wks)))
 
     @testcase(1269)
     def test_rootfs_artifacts(self):
         """Test usage of rootfs plugin with rootfs paths"""
-        bbvars = dict((var.lower(), get_bb_var(var, 'core-image-minimal')) \
-                        for var in ('STAGING_DATADIR', 'DEPLOY_DIR_IMAGE',
-                                    'STAGING_DIR_NATIVE', 'IMAGE_ROOTFS'))
+        bbvars = dict((var.lower(), get_bb_var(var, 'core-image-minimal'))
+                      for var in ('STAGING_DATADIR', 'DEPLOY_DIR_IMAGE',
+                                  'STAGING_DIR_NATIVE', 'IMAGE_ROOTFS'))
         bbvars['wks'] = "directdisk-multi-rootfs"
         status = runCmd("wic create %(wks)s "
-                        "-b %(staging_datadir)s "
-                        "-k %(deploy_dir_image)s "
-                        "-n %(staging_dir_native)s "
+                        "--bootimg-dir=%(staging_datadir)s "
+                        "--kernel-dir=%(deploy_dir_image)s "
+                        "--native-sysroot=%(staging_dir_native)s "
                         "--rootfs-dir rootfs1=%(image_rootfs)s "
-                        "--rootfs-dir rootfs2=%(image_rootfs)s" \
+                        "--rootfs-dir rootfs2=%(image_rootfs)s"
                         % bbvars).status
         self.assertEqual(0, status)
-        self.assertEqual(1, len(glob(self.resultdir + \
+        self.assertEqual(1, len(glob(self.resultdir +
                                      "%(wks)s-*.direct" % bbvars)))
 
     @testcase(1346)
     def test_iso_image(self):
         """Test creation of hybrid iso image with legacy and EFI boot"""
         self.assertEqual(0, runCmd("wic create mkhybridiso "
-                                   "--image-name core-image-minimal").status)
-        self.assertEqual(1, len(glob(self.resultdir + "HYBRID_ISO_IMG-*.direct")))
-        self.assertEqual(1, len(glob(self.resultdir + "HYBRID_ISO_IMG-*.iso")))
+                                   "--image-name core-image-minimal"
+                                   ).status)
+        self.assertEqual(1, len(glob(self.resultdir +
+                                     "HYBRID_ISO_IMG-*.direct")))
+        self.assertEqual(1, len(glob(self.resultdir +
+                                     "HYBRID_ISO_IMG-*.iso")))
+
+    def __get_image_env_path(self, image):
+        """Generate and obtain the path to <image>.env"""
+        self.assertEqual(0, bitbake('%s -c do_rootfs_wicenv' % image).status)
+        stdir = get_bb_var('STAGING_DIR_TARGET', image)
+        imgdatadir = os.path.join(stdir, 'imgdata')
+        return imgdatadir
 
     @testcase(1347)
     def test_image_env(self):
-        """Test generation of <image>.env files."""
+        """Test generation of <image>.env files"""
         image = 'core-image-minimal'
-        self.assertEqual(0, bitbake('%s -c do_rootfs_wicenv' % image).status)
-        stdir = get_bb_var('STAGING_DIR_TARGET', image)
-        imgdatadir = os.path.join(stdir, 'imgdata')
+        imgdatadir = self.__get_image_env_path(image)
 
         basename = get_bb_var('IMAGE_BASENAME', image)
         self.assertEqual(basename, image)
@@ -220,6 +278,21 @@ class Wic(oeSelfTest):
                 self.assertTrue(var in content, "%s is not in .env file" % var)
                 self.assertTrue(content[var])
 
+    @testcase(1559)
+    def test_image_vars_dir(self):
+        """Test image vars directory selection"""
+        image = 'core-image-minimal'
+        imgenvdir = self.__get_image_env_path(image)
+
+        self.assertEqual(0, runCmd("wic create directdisk "
+                                   "--image-name=%s "
+                                   "-v %s"
+                                   % (image, imgenvdir)).status)
+        self.assertEqual(0, runCmd("wic create directdisk "
+                                   "--image-name=%s "
+                                   "--vars %s"
+                                   % (image, imgenvdir)).status)
+
     @testcase(1351)
     def test_wic_image_type(self):
         """Test building wic images by bitbake"""
@@ -239,7 +312,7 @@ class Wic(oeSelfTest):
     def test_qemux86_directdisk(self):
         """Test creation of qemux-86-directdisk image"""
         image = "qemux86-directdisk"
-        self.assertEqual(0, runCmd("wic create %s -e core-image-minimal" \
+        self.assertEqual(0, runCmd("wic create %s -e core-image-minimal"
                                    % image).status)
         self.assertEqual(1, len(glob(self.resultdir + "%s-*direct" % image)))
 
@@ -247,7 +320,8 @@ class Wic(oeSelfTest):
     def test_mkgummidisk(self):
         """Test creation of mkgummidisk image"""
         image = "mkgummidisk"
-        self.assertEqual(0, runCmd("wic create %s -e core-image-minimal" \
+        self.assertEqual(0, runCmd("wic create %s --image-name "
+                                   "core-image-minimal"
                                    % image).status)
         self.assertEqual(1, len(glob(self.resultdir + "%s-*direct" % image)))
 
@@ -255,7 +329,7 @@ class Wic(oeSelfTest):
     def test_mkefidisk(self):
         """Test creation of mkefidisk image"""
         image = "mkefidisk"
-        self.assertEqual(0, runCmd("wic create %s -e core-image-minimal" \
+        self.assertEqual(0, runCmd("wic create %s -e core-image-minimal"
                                    % image).status)
         self.assertEqual(1, len(glob(self.resultdir + "%s-*direct" % image)))
 
@@ -263,11 +337,11 @@ class Wic(oeSelfTest):
     def test_directdisk_bootloader_config(self):
         """Test creation of directdisk-bootloader-config image"""
         image = "directdisk-bootloader-config"
-        self.assertEqual(0, runCmd("wic create %s -e core-image-minimal" \
+        self.assertEqual(0, runCmd("wic create %s -e core-image-minimal"
                                    % image).status)
         self.assertEqual(1, len(glob(self.resultdir + "%s-*direct" % image)))
 
-    @testcase(1422)
+    @testcase(1424)
     def test_qemu(self):
         """Test wic-image-minimal under qemu"""
         self.assertEqual(0, bitbake('wic-image-minimal').status)
@@ -275,28 +349,56 @@ class Wic(oeSelfTest):
         with runqemu('wic-image-minimal', ssh=False) as qemu:
             command = "mount |grep '^/dev/' | cut -f1,3 -d ' '"
             status, output = qemu.run_serial(command)
-            self.assertEqual(1, status, 'Failed to run command "%s": %s' % (command, output))
+            self.assertEqual(1, status, 'Failed to run command "%s": %s'
+                                        % (command, output))
             self.assertEqual(output, '/dev/root /\r\n/dev/vda3 /mnt')
 
+    @testcase(1496)
     def test_bmap(self):
         """Test generation of .bmap file"""
         image = "directdisk"
-        status = runCmd("wic create %s -e core-image-minimal --bmap" % image).status
+        status = runCmd("wic create %s -e core-image-minimal -m"
+                        % image).status
+        self.assertEqual(0, status)
+        self.assertEqual(1, len(glob(self.resultdir + "%s-*direct" % image)))
+        self.assertEqual(1, len(glob(self.resultdir +
+                                     "%s-*direct.bmap" % image)))
+        status = runCmd("wic create %s -e core-image-minimal --bmap"
+                        % image).status
         self.assertEqual(0, status)
         self.assertEqual(1, len(glob(self.resultdir + "%s-*direct" % image)))
-        self.assertEqual(1, len(glob(self.resultdir + "%s-*direct.bmap" % image)))
+        self.assertEqual(1, len(glob(self.resultdir + "%s-*direct.bmap"
+                                                      % image)))
 
+    @testcase(1560)
     def test_systemd_bootdisk(self):
         """Test creation of systemd-bootdisk image"""
         image = "systemd-bootdisk"
-        self.assertEqual(0, runCmd("wic create %s -e core-image-minimal" \
+        self.assertEqual(0, runCmd("wic create %s -e core-image-minimal"
                                    % image).status)
         self.assertEqual(1, len(glob(self.resultdir + "%s-*direct" % image)))
 
+    @testcase(1561)
     def test_sdimage_bootpart(self):
         """Test creation of sdimage-bootpart image"""
         image = "sdimage-bootpart"
         self.write_config('IMAGE_BOOT_FILES = "bzImage"\n')
-        self.assertEqual(0, runCmd("wic create %s -e core-image-minimal" \
+        self.assertEqual(0, runCmd("wic create %s -e core-image-minimal"
                                    % image).status)
         self.assertEqual(1, len(glob(self.resultdir + "%s-*direct" % image)))
+
+    @testcase(1562)
+    def test_alternate_output_dir(self):
+        """Test alternate output directory"""
+        self.assertEqual(0, runCmd("wic create directdisk "
+                                   "-e core-image-minimal "
+                                   "-o %s"
+                                   % self.alternate_resultdir).status)
+        self.assertEqual(1, len(glob(self.alternate_resultdir +
+                                     "build/directdisk-*.direct")))
+        self.assertEqual(0, runCmd("wic create mkefidisk -e "
+                                   "core-image-minimal "
+                                   "--outdir %s"
+                                   % self.alternate_resultdir).status)
+        self.assertEqual(1, len(glob(self.alternate_resultdir +
+                                     "build/mkefidisk-*direct")))
-- 
2.7.4



^ permalink raw reply related

* Re: openssl: OpenSSL 1.1.x update
From: Alexander Kanavin @ 2016-12-13 16:00 UTC (permalink / raw)
  To: Mark Hatle, Khem Raj
  Cc: openembedded-core@lists.openembedded.org, Gupta, Rahul KumarXX
In-Reply-To: <89015693-dfeb-5b47-7c2b-386c85571dec@windriver.com>

On 10/06/2016 06:39 PM, Mark Hatle wrote:
>>> The OpenSSL community itself is looking at 1.1.0 as a transition to newer and
>>> better design/api/etc... which is why it is not marked as a LTS release.
>>
>> api changes can be a bothersome point from integration POV, do we know if there
>> are some forwarded porting incompatibilities in APIs already?
>
> I have not investigated it, as my focus has been on the LTS version at this point.

I've quickly put together a openssl 1.1 recipe to test what builds and 
what fails in oe-core, and this is the list of failures (any 
dependencies of these aren't even attempted of course, i.e. webkit):

rpm
apr-util
ruby
openssh
bind
socat
mailx (I believe debian provides a rewrite of this one which we need to 
package)
cryptodev-tests
u-boot-mkimage

Openssl does not seem to be designed for parallel installation of 
several major versions at the same time (headers and pkg-config files 
clash), so (unless someone has a better idea), we need to either wait 
until the above listed upstreams fix their code, or do custom patching.

Mark, when can we expect rpm updates from Wind River? It's been a while 
(actually, 10 months) since anything substantial arrived. I'd like to 
have both a working CVS recipe (for dnf oe-core integration work), and 
an update to the stable release with openssl 1.1 support in it - so that 
oe-core can provide openssl 1.1. I simply do not have the bandwidth or 
the expertise to do this work myself - far too many patches to rebase, 
and a code base that I don't even begin to understand.

Alex


^ permalink raw reply

* Re: [PATCH] systemd: disable 'libdir' QA check
From: Khem Raj @ 2016-12-13 16:10 UTC (permalink / raw)
  To: Mark Asselstine; +Cc: Patches and discussions about the oe-core layer
In-Reply-To: <CAMKF1spT3LkZmJLNVu7H61ZFeXo5o4mOqXi5v7ZWvML08ubAJw@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1335 bytes --]

This library may be private however this does not mean it should be hidden
in a dedicated path. But I guess its better to lower qa guards then carry a
patch for life

On Dec 13, 2016 7:20 AM, "Mark Asselstine" <mark.asselstine@windriver.com>
wrote:

On Monday, December 12, 2016 9:17:14 PM EST Burton, Ross wrote:
> On 12 December 2016 at 20:51, Mark Asselstine <
mark.asselstine@windriver.com
> > wrote:
> >
> > I think the discussion I pointed to in the commit log closes the door on
> > any
> > such change. Specific the comment from Lennart --
> > https://github.com/systemd/systemd/issues/3810#issuecomment-235290526
> >
> > They don't want the library to be found in the default search path, they
> > want
> > to maintain this as a "hidden, internal resource".
>
> Oh if it's an implementation detail of systemd and not a user-facing
> library then I can see their argument I guess.
>
> Don't agree with it though.  But, the point is that as long as the parts
of
> systemd that could realistically be multilibd are in $libdir then this
> isn't a problem.

It is definitely an internal infra item for systemd and not seen as a
'public'
library so I think we are best to run with it. I am with you that I don't
necessarily agree with it. Khem, does this satisfy your concerns?

Mark

>
> Ross

[-- Attachment #2: Type: text/html, Size: 2078 bytes --]

^ permalink raw reply

* Re: [PATCH 5/5] libsdl2: fix build on wayland(-dev)less hosts
From: Burton, Ross @ 2016-12-13 16:10 UTC (permalink / raw)
  To: Andreas Müller; +Cc: OE-core
In-Reply-To: <CALbNGRR0CXGDXr6Jj1q5_WQ8U_=kyJmdvUs1hJ_jELBSEYcnDw@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 490 bytes --]

On 13 December 2016 at 15:42, Andreas Müller <schnitzeltony@googlemail.com>
wrote:

> Strange - something must be wrong on your machine :)
>

config.log says:

configure:19371: checking for Wayland support
configure:19382: checking for wayland-scanner
configure:19415: result: no
configure:19425: result: yes

which results in:

WAYLAND_SCANNER =

This should be fatal, but you're just missing a dependency on
wayland-native.  I'll squash it into the patch now.

Ross

[-- Attachment #2: Type: text/html, Size: 1367 bytes --]

^ permalink raw reply

* Re: [PATCH v2] oe-tests: Migrate tests from /oe/test to /oeqa/selftest/oe-tests
From: Burton, Ross @ 2016-12-13 16:17 UTC (permalink / raw)
  To: Jose Perez Carranza; +Cc: OE-core
In-Reply-To: <1479227073-13133-1-git-send-email-jose.perez.carranza@linux.intel.com>

[-- Attachment #1: Type: text/plain, Size: 1392 bytes --]

On 15 November 2016 at 16:24, <jose.perez.carranza@linux.intel.com> wrote:

> Currently the unittests for scripts on meta/lib/oe/tests are not being
> executed by any suite hence the best option is migrate them to
> meta/lib/oeqa/selftest/oelib-tests to be executed along with the selftest
> suite.
>

For some reason the discovery is very slow:

$ oe-selftest  -r oelib-tests.elf oelib-tests.license oelib-tests.path
oelib-tests.types oelib-tests.utils
2016-12-13 16:15:00,014 - selftest - INFO - Running bitbake -e to get BBPATH
2016-12-13 16:15:03,143 - selftest - INFO - Checking that everything is in
order before running the tests
2016-12-13 16:15:06,512 - selftest - INFO - Running bitbake -p
2016-12-13 16:15:10,203 - selftest - INFO - test runner init'ed like
unittest
2016-12-13 16:15:13,428 - selftest - INFO - Loading tests from:
oeqa.selftest.oelib-tests.elf
2016-12-13 16:15:16,489 - selftest - INFO - Loading tests from:
oeqa.selftest.oelib-tests.license
2016-12-13 16:15:29,391 - selftest - INFO - Loading tests from:
oeqa.selftest.oelib-tests.path
2016-12-13 16:15:38,822 - selftest - INFO - Loading tests from:
oeqa.selftest.oelib-tests.types
2016-12-13 16:15:57,719 - selftest - INFO - Loading tests from:
oeqa.selftest.oelib-tests.utils

It took over a minute to load a few tests.  Do you have any idea why the
discovery is so slow?

Ross

[-- Attachment #2: Type: text/html, Size: 2379 bytes --]

^ permalink raw reply

* [PATCH v2] busybox: allow libiproute to handle table ids larger than 255
From: André Draszik @ 2016-12-13 16:19 UTC (permalink / raw)
  To: openembedded-core
In-Reply-To: <20161212154016.1076-1-git@andred.net>

From: Lukasz Nowak <lnowak@tycoint.com>

These changes are required for compatibility with ConnMan, which by default
uses table ids greater than 255.

Signed-off-by: Lukasz Nowak <lnowak@tycoint.com>
---
 ...biproute-handle-table-ids-larger-than-255.patch | 134 +++++++++++++++++++++
 meta/recipes-core/busybox/busybox_1.24.1.bb        |   1 +
 2 files changed, 135 insertions(+)
 create mode 100644 meta/recipes-core/busybox/busybox/0001-libiproute-handle-table-ids-larger-than-255.patch

diff --git a/meta/recipes-core/busybox/busybox/0001-libiproute-handle-table-ids-larger-than-255.patch b/meta/recipes-core/busybox/busybox/0001-libiproute-handle-table-ids-larger-than-255.patch
new file mode 100644
index 0000000..aac5b40
--- /dev/null
+++ b/meta/recipes-core/busybox/busybox/0001-libiproute-handle-table-ids-larger-than-255.patch
@@ -0,0 +1,134 @@
+From b5a9234272e6084557224c73ab7737ed47f09848 Mon Sep 17 00:00:00 2001
+From: Lukasz Nowak <lnowak@tycoint.com>
+Date: Wed, 23 Nov 2016 12:48:21 +0000
+Subject: [PATCH v2] libiproute: handle table ids larger than 255
+
+Linux kernel, starting from 2.6.19 allows ip table ids to have 32-bit values.
+In order to preserve compatibility, the old 8-bit field: rtm_table is still
+in use when table id is lower than 256.
+
+Add support for the 32-bit table id (RTA_TABLE attribute) in:
+- ip route print
+- ip route modify
+- ip rule print
+- ip rule modify
+
+Add printing of table ids to ip route.
+
+Changes are compatible with the mainline iproute2 utilities.
+
+These changes are required for compatibility with ConnMan, which by default
+uses table ids greater than 255.
+
+Upstream-Status: Submitted [http://lists.busybox.net/pipermail/busybox/2016-December/084989.html]
+
+Signed-off-by: Lukasz Nowak <lnowak@tycoint.com>
+---
+ networking/libiproute/iproute.c | 24 ++++++++++++++++++++----
+ networking/libiproute/iprule.c  | 11 +++++++++--
+ 2 files changed, 29 insertions(+), 6 deletions(-)
+
+diff --git a/networking/libiproute/iproute.c b/networking/libiproute/iproute.c
+index 6ecd5f7..d5af498 100644
+--- a/networking/libiproute/iproute.c
++++ b/networking/libiproute/iproute.c
+@@ -87,6 +87,7 @@ static int FAST_FUNC print_route(const struct sockaddr_nl *who UNUSED_PARAM,
+ 	inet_prefix dst;
+ 	inet_prefix src;
+ 	int host_len = -1;
++	uint32_t tid;
+ 
+ 	if (n->nlmsg_type != RTM_NEWROUTE && n->nlmsg_type != RTM_DELROUTE) {
+ 		fprintf(stderr, "Not a route: %08x %08x %08x\n",
+@@ -99,6 +100,14 @@ static int FAST_FUNC print_route(const struct sockaddr_nl *who UNUSED_PARAM,
+ 	if (len < 0)
+ 		bb_error_msg_and_die("wrong nlmsg len %d", len);
+ 
++	memset(tb, 0, sizeof(tb));
++	parse_rtattr(tb, RTA_MAX, RTM_RTA(r), len);
++
++	if (tb[RTA_TABLE])
++		tid = *(uint32_t *)RTA_DATA(tb[RTA_TABLE]);
++	else
++		tid = r->rtm_table;
++
+ 	if (r->rtm_family == AF_INET6)
+ 		host_len = 128;
+ 	else if (r->rtm_family == AF_INET)
+@@ -128,7 +137,7 @@ static int FAST_FUNC print_route(const struct sockaddr_nl *who UNUSED_PARAM,
+ 			}
+ 		}
+ 	} else {
+-		if (G_filter.tb > 0 && G_filter.tb != r->rtm_table) {
++		if (G_filter.tb > 0 && G_filter.tb != tid) {
+ 			return 0;
+ 		}
+ 	}
+@@ -157,10 +166,8 @@ static int FAST_FUNC print_route(const struct sockaddr_nl *who UNUSED_PARAM,
+ 		return 0;
+ 	}
+ 
+-	memset(tb, 0, sizeof(tb));
+ 	memset(&src, 0, sizeof(src));
+ 	memset(&dst, 0, sizeof(dst));
+-	parse_rtattr(tb, RTA_MAX, RTM_RTA(r), len);
+ 
+ 	if (tb[RTA_SRC]) {
+ 		src.bitlen = r->rtm_src_len;
+@@ -283,6 +290,10 @@ static int FAST_FUNC print_route(const struct sockaddr_nl *who UNUSED_PARAM,
+ 	if (tb[RTA_OIF]) {
+ 		printf("dev %s ", ll_index_to_name(*(int*)RTA_DATA(tb[RTA_OIF])));
+ 	}
++#if ENABLE_FEATURE_IP_RULE
++	if (tid && tid != RT_TABLE_MAIN && !G_filter.tb)
++		printf("table %s ", rtnl_rttable_n2a(tid));
++#endif
+ 
+ 	/* Todo: parse & show "proto kernel", "scope link" here */
+ 
+@@ -434,7 +445,12 @@ IF_FEATURE_IP_RULE(ARG_table,)
+ 			NEXT_ARG();
+ 			if (rtnl_rttable_a2n(&tid, *argv))
+ 				invarg(*argv, "table");
+-			req.r.rtm_table = tid;
++			if (tid < 256)
++				req.r.rtm_table = tid;
++			else {
++				req.r.rtm_table = RT_TABLE_UNSPEC;
++				addattr32(&req.n, sizeof(req), RTA_TABLE, tid);
++			}
+ #endif
+ 		} else if (arg == ARG_dev || arg == ARG_oif) {
+ 			NEXT_ARG();
+diff --git a/networking/libiproute/iprule.c b/networking/libiproute/iprule.c
+index 774a3e2..3fac7c5 100644
+--- a/networking/libiproute/iprule.c
++++ b/networking/libiproute/iprule.c
+@@ -119,7 +119,9 @@ static int FAST_FUNC print_rule(const struct sockaddr_nl *who UNUSED_PARAM,
+ 		printf("iif %s ", (char*)RTA_DATA(tb[RTA_IIF]));
+ 	}
+ 
+-	if (r->rtm_table)
++	if (tb[RTA_TABLE])
++		printf("lookup %s ", rtnl_rttable_n2a(*(uint32_t*)RTA_DATA(tb[RTA_TABLE])));
++	else if (r->rtm_table)
+ 		printf("lookup %s ", rtnl_rttable_n2a(r->rtm_table));
+ 
+ 	if (tb[RTA_FLOW]) {
+@@ -259,7 +261,12 @@ static int iprule_modify(int cmd, char **argv)
+ 			NEXT_ARG();
+ 			if (rtnl_rttable_a2n(&tid, *argv))
+ 				invarg(*argv, "table ID");
+-			req.r.rtm_table = tid;
++			if (tid < 256)
++				req.r.rtm_table = tid;
++			else {
++				req.r.rtm_table = RT_TABLE_UNSPEC;
++				addattr32(&req.n, sizeof(req), RTA_TABLE, tid);
++			}
+ 			table_ok = 1;
+ 		} else if (key == ARG_dev ||
+ 			   key == ARG_iif
+-- 
+2.7.4
+
diff --git a/meta/recipes-core/busybox/busybox_1.24.1.bb b/meta/recipes-core/busybox/busybox_1.24.1.bb
index df0e131..c35cba3 100644
--- a/meta/recipes-core/busybox/busybox_1.24.1.bb
+++ b/meta/recipes-core/busybox/busybox_1.24.1.bb
@@ -53,6 +53,7 @@ SRC_URI = "http://www.busybox.net/downloads/busybox-${PV}.tar.bz2;name=tarball \
            file://busybox-kbuild-race-fix-commit-d8e61bb.patch \
            file://commit-applet_tables-fix-commit-0dddbc1.patch \
            file://makefile-libbb-race.patch \
+           file://0001-libiproute-handle-table-ids-larger-than-255.patch \
 "
 SRC_URI_append_libc-musl = " file://musl.cfg "
 
-- 
2.10.2



^ permalink raw reply related

* Re: [PATCH] busybox: allow libiproute to handle table ids larger than 255
From: André Draszik @ 2016-12-13 16:21 UTC (permalink / raw)
  To: Burton, Ross; +Cc: OE-core
In-Reply-To: <CAJTo0LaChfpCDnbs8hAHLzCHS3wb3Wbu3Ak99YPDDvUZjDGGRg@mail.gmail.com>

Hi Ross,

On Tue, 2016-12-13 at 08:40 +0000, Burton, Ross wrote:
> On 12 December 2016 at 15:40, André Draszik <git@andred.net> wrote:
> 
> > ++              printf("table %s ", rtnl_rttable_n2a(tid));
> > 
> 
> Sorry but this doesn't build here:
> 
> > networking/libiproute/lib.a(iproute.o): In function `print_route':
> > 
> 
> /usr/src/debug/busybox/1.24.1-r0/busybox-
> 1.24.1/networking/libiproute/iproute.c:294:
> undefined reference to `rtnl_rttable_n2a'
> 
> Ross

Should be fixed in v2.


Cheers,
Andre'



^ permalink raw reply

* Re: can "IMAGE_INSTALL ?= ..." not be written in a more obvious way?
From: Khem Raj @ 2016-12-13 16:29 UTC (permalink / raw)
  To: Peter Kjellerstedt; +Cc: OE Core mailing list
In-Reply-To: <7aafe397c8214239a49d3cf09480d388@XBOX02.axis.com>

On Tue, Dec 13, 2016 at 12:52 AM, Peter Kjellerstedt
<peter.kjellerstedt@axis.com> wrote:
>> -----Original Message-----
>> From: openembedded-core-bounces@lists.openembedded.org
>> [mailto:openembedded-core-bounces@lists.openembedded.org] On Behalf Of
>> Khem Raj
>> Sent: den 10 december 2016 22:16
>> To: Robert P. J. Day
>> Cc: OE Core mailing list
>> Subject: Re: [OE-core] can "IMAGE_INSTALL ?= ..." not be written in a
>> more obvious way?
>>
>> On Sat, Dec 10, 2016 at 3:40 AM, Robert P. J. Day
>> <rpjday@crashcourse.ca> wrote:
>> >
>> >   i've nattered about this before but not sure i ever got an answer --
>> > here's the last bit of core-image.bbclass:
>> >
>> >   CORE_IMAGE_BASE_INSTALL = '\
>> >     packagegroup-core-boot \
>> >     packagegroup-base-extended \
>> >     \
>> >     ${CORE_IMAGE_EXTRA_INSTALL} \
>> >     '
>> >
>> >   CORE_IMAGE_EXTRA_INSTALL ?= ""
>> >
>> >   IMAGE_INSTALL ?= "${CORE_IMAGE_BASE_INSTALL}"
>> >
>> > the first time i saw that (long ago), it took me a few looks to figure
>> > out what was happening. can this not be written in a more obvious way:
>> >
>> >   CORE_IMAGE_BASE_INSTALL = '\
>> >     packagegroup-core-boot \
>> >     packagegroup-base-extended \
>> >     '
>> >
>> >   CORE_IMAGE_EXTRA_INSTALL ?= ""
>> >
>> >   IMAGE_INSTALL ?= " \
>> >     ${CORE_IMAGE_BASE_INSTALL} \
>> >     ${CORE_IMAGE_EXTRA_INSTALL} \
>> >     "
>> >
>> > is that not equivalent, or am i missing something? it's certainly
>> > clearer as to what's happening if people are perusing the code.
>>
>> They are same AFAICT, dont feel strongly  about readability but feel
>> free to send a patch
>
> Careful now. Changing these can affect image recipes outside of OE-core.
> If one has an image recipe that inherits core-image and then defines
>
> IMAGE_INSTALL = "${CORE_IMAGE_BASE_INSTALL} my-own-packages ..."
>
> then changing CORE_IMAGE_BASE_INSTALL as per above would suddenly
> cause that image to miss including packages that it previously did.

yes I think thats the interface it will end up in. It would be more
explicit for someone to set IMAGE_INSTALL explicitly and not expect
this sort of bundling. its also more readable when you construct
IMAGE_INSTALL

>
> I recommend leaving it as is.

agreed.Probably not worth the churn

>
> //Peter
>


^ permalink raw reply

* Re: [PATCH v2] oe-tests: Migrate tests from /oe/test to /oeqa/selftest/oe-tests
From: Burton, Ross @ 2016-12-13 16:32 UTC (permalink / raw)
  To: Jose Perez Carranza; +Cc: OE-core
In-Reply-To: <CAJTo0LZ1cj5Nm+iSO5aaHRMgf1Syhx6wQ3R2OaBe99A-SKX5Yg@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 393 bytes --]

On 13 December 2016 at 16:17, Burton, Ross <ross.burton@intel.com> wrote:

> It took over a minute to load a few tests.  Do you have any idea why the
> discovery is so slow?
>

Oh, it's because oeselftest does bitbake calls isn't it.

Good news: you don't need to use oeSelfTest at all, the discovery works
fine with standard unittest.TestCase objects.

Patch incoming. :)

Ross

[-- Attachment #2: Type: text/html, Size: 823 bytes --]

^ permalink raw reply

* [PATCH] oeqa: move lib/oe tests to oe-selftest
From: Ross Burton @ 2016-12-13 16:33 UTC (permalink / raw)
  To: openembedded-core

These tests don't get ran often (as demonstrated by the fact that some were not
ported to Python 3), so move them to oeqa/selftest so they get executed
frequently and can be extended easily.

[ YOCTO #7376 ]

Signed-off-by: Ross Burton <ross.burton@intel.com>
---
 meta/lib/{oe/tests => oeqa/selftest/oelib}/__init__.py |  0
 .../tests/test_elf.py => oeqa/selftest/oelib/elf.py}   |  0
 .../test_license.py => oeqa/selftest/oelib/license.py} |  0
 .../tests/test_path.py => oeqa/selftest/oelib/path.py} |  0
 .../test_types.py => oeqa/selftest/oelib/types.py}     | 18 +++---------------
 .../test_utils.py => oeqa/selftest/oelib/utils.py}     |  2 +-
 6 files changed, 4 insertions(+), 16 deletions(-)
 rename meta/lib/{oe/tests => oeqa/selftest/oelib}/__init__.py (100%)
 rename meta/lib/{oe/tests/test_elf.py => oeqa/selftest/oelib/elf.py} (100%)
 rename meta/lib/{oe/tests/test_license.py => oeqa/selftest/oelib/license.py} (100%)
 rename meta/lib/{oe/tests/test_path.py => oeqa/selftest/oelib/path.py} (100%)
 rename meta/lib/{oe/tests/test_types.py => oeqa/selftest/oelib/types.py} (79%)
 rename meta/lib/{oe/tests/test_utils.py => oeqa/selftest/oelib/utils.py} (96%)

diff --git a/meta/lib/oe/tests/__init__.py b/meta/lib/oeqa/selftest/oelib/__init__.py
similarity index 100%
rename from meta/lib/oe/tests/__init__.py
rename to meta/lib/oeqa/selftest/oelib/__init__.py
diff --git a/meta/lib/oe/tests/test_elf.py b/meta/lib/oeqa/selftest/oelib/elf.py
similarity index 100%
rename from meta/lib/oe/tests/test_elf.py
rename to meta/lib/oeqa/selftest/oelib/elf.py
diff --git a/meta/lib/oe/tests/test_license.py b/meta/lib/oeqa/selftest/oelib/license.py
similarity index 100%
rename from meta/lib/oe/tests/test_license.py
rename to meta/lib/oeqa/selftest/oelib/license.py
diff --git a/meta/lib/oe/tests/test_path.py b/meta/lib/oeqa/selftest/oelib/path.py
similarity index 100%
rename from meta/lib/oe/tests/test_path.py
rename to meta/lib/oeqa/selftest/oelib/path.py
diff --git a/meta/lib/oe/tests/test_types.py b/meta/lib/oeqa/selftest/oelib/types.py
similarity index 79%
rename from meta/lib/oe/tests/test_types.py
rename to meta/lib/oeqa/selftest/oelib/types.py
index 367cc30..4fe2746 100644
--- a/meta/lib/oe/tests/test_types.py
+++ b/meta/lib/oeqa/selftest/oelib/types.py
@@ -1,19 +1,7 @@
 import unittest
-from oe.maketype import create, factory
+from oe.maketype import create
 
-class TestTypes(unittest.TestCase):
-    def assertIsInstance(self, obj, cls):
-        return self.assertTrue(isinstance(obj, cls))
-
-    def assertIsNot(self, obj, other):
-        return self.assertFalse(obj is other)
-
-    def assertFactoryCreated(self, value, type, **flags):
-        cls = factory(type)
-        self.assertIsNot(cls, None)
-        self.assertIsInstance(create(value, type, **flags), cls)
-
-class TestBooleanType(TestTypes):
+class TestBooleanType(unittest.TestCase):
     def test_invalid(self):
         self.assertRaises(ValueError, create, '', 'boolean')
         self.assertRaises(ValueError, create, 'foo', 'boolean')
@@ -43,7 +31,7 @@ class TestBooleanType(TestTypes):
         self.assertEqual(create('y', 'boolean'), True)
         self.assertNotEqual(create('y', 'boolean'), False)
 
-class TestList(TestTypes):
+class TestList(unittest.TestCase):
     def assertListEqual(self, value, valid, sep=None):
         obj = create(value, 'list', separator=sep)
         self.assertEqual(obj, valid)
diff --git a/meta/lib/oe/tests/test_utils.py b/meta/lib/oeqa/selftest/oelib/utils.py
similarity index 96%
rename from meta/lib/oe/tests/test_utils.py
rename to meta/lib/oeqa/selftest/oelib/utils.py
index 5d9ac52..7deb10f 100644
--- a/meta/lib/oe/tests/test_utils.py
+++ b/meta/lib/oeqa/selftest/oelib/utils.py
@@ -1,5 +1,5 @@
 import unittest
-from oe.utils import packages_filter_out_system
+from oe.utils import packages_filter_out_system, trim_version
 
 class TestPackagesFilterOutSystem(unittest.TestCase):
     def test_filter(self):
-- 
2.8.1



^ permalink raw reply related

* Re: [PATCH v2] oe-tests: Migrate tests from /oe/test to /oeqa/selftest/oe-tests
From: Jose Perez Carranza @ 2016-12-13 16:53 UTC (permalink / raw)
  To: Burton, Ross; +Cc: OE-core
In-Reply-To: <CAJTo0LYbCY=ETjx3wdo1nwsDDJCgEZU7F0JfiuP_zZf+tS3F-A@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1816 bytes --]



On 12/13/2016 10:32 AM, Burton, Ross wrote:
>
> On 13 December 2016 at 16:17, Burton, Ross <ross.burton@intel.com 
> <mailto:ross.burton@intel.com>> wrote:
>
>     It took over a minute to load a few tests.  Do you have any idea
>     why the discovery is so slow?
>
>
at my host is very fast the load (1 second)

jgperezc@jgperezc:~/poky-oetest/build$ oe-selftest  -r oelib-tests.elf 
oelib-tests.license oelib-tests.path oelib-tests.types oelib-tests.utils
2016-12-13 10:48:28,333 - selftest - INFO - Running bitbake -e to get BBPATH
2016-12-13 10:48:29,125 - selftest - INFO - Checking that everything is 
in order before running the tests
2016-12-13 10:48:29,833 - selftest - INFO - Running bitbake -p
2016-12-13 10:48:52,181 - selftest - INFO - test runner init'ed like 
unittest
2016-12-13 10:48:52,995 - selftest - INFO - Loading tests from: 
oeqa.selftest.oelib-tests.elf
2016-12-13 10:48:52,998 - selftest - INFO - Loading tests from: 
oeqa.selftest.oelib-tests.license
2016-12-13 10:48:53,000 - selftest - INFO - Loading tests from: 
oeqa.selftest.oelib-tests.path
2016-12-13 10:48:53,001 - selftest - INFO - Loading tests from: 
oeqa.selftest.oelib-tests.types
2016-12-13 10:48:53,003 - selftest - INFO - Loading tests from: 
oeqa.selftest.oelib-tests.utils
2016-12-13 10:48:53,005 - selftest - INFO - Adding: "include 
selftest.inc" in local.conf
2016-12-13 10:48:53,005 - selftest - INFO - Adding: "include 
bblayers.inc" in bblayers.conf

> Oh, it's because oeselftest does bitbake calls isn't it.
>
> Good news: you don't need to use oeSelfTest at all, the discovery 
> works fine with standard unittest.TestCase objects.
>
> Patch incoming. :)
>
Ok, just wondering if oe-selftest -l will also list those test cases ??
> Ross
>

-- 
Saludos
José


[-- Attachment #2: Type: text/html, Size: 3795 bytes --]

^ permalink raw reply

* Re: [PATCH v2] oe-tests: Migrate tests from /oe/test to /oeqa/selftest/oe-tests
From: Burton, Ross @ 2016-12-13 16:50 UTC (permalink / raw)
  To: Jose Perez Carranza; +Cc: OE-core
In-Reply-To: <add9f53a-8c35-91a1-9758-62bd7e12766d@linux.intel.com>

[-- Attachment #1: Type: text/plain, Size: 325 bytes --]

On 13 December 2016 at 16:53, Jose Perez Carranza <
jose.perez.carranza@linux.intel.com> wrote:

> at my host is very fast the load (1 second)
>

Okay, proof that I need a new build machine. :)


> Ok, just wondering if oe-selftest -l will also list those test cases ??
>

Huh.  -l doesn't, but -m does.

Ross

[-- Attachment #2: Type: text/html, Size: 927 bytes --]

^ permalink raw reply

* [PATCH] populate_sdk_ext: get NATIVELSBSTRING variable
From: Ed Bartosh @ 2016-12-13 17:05 UTC (permalink / raw)
  To: openembedded-core
In-Reply-To: <CAJTo0LaODS73GuCL0z9Sz49EnQ5GiZF6FdJ+KHOUiCdfEhZJfQ@mail.gmail.com>

Setting fixedlsbstring to 'universal' can break populate_sdk_ext
task as NATIVELSBSTRING can be set to universal-<gcc version> in
some cases.

Getting NATIVELSBSTRING value using getVar should fix this.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
---
 meta/classes/populate_sdk_ext.bbclass | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/classes/populate_sdk_ext.bbclass b/meta/classes/populate_sdk_ext.bbclass
index 3c3a73c..6ef48c0 100644
--- a/meta/classes/populate_sdk_ext.bbclass
+++ b/meta/classes/populate_sdk_ext.bbclass
@@ -374,8 +374,8 @@ python copy_buildsystem () {
 
     sstate_out = baseoutpath + '/sstate-cache'
     bb.utils.remove(sstate_out, True)
-    # uninative.bbclass sets NATIVELSBSTRING to 'universal'
-    fixedlsbstring = 'universal'
+
+    fixedlsbstring = d.getVar('NATIVELSBSTRING', True)
 
     sdk_include_toolchain = (d.getVar('SDK_INCLUDE_TOOLCHAIN', True) == '1')
     sdk_ext_type = d.getVar('SDK_EXT_TYPE', True)
-- 
2.1.4



^ permalink raw reply related


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox