]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
6 years agoopenssh: use tarballs instead of git
Alexander Kanavin [Tue, 8 Jan 2019 15:25:29 +0000 (16:25 +0100)]
openssh: use tarballs instead of git

This was change to git recently to obtain openssl 1.1 compatible pre-release code
(before 7.9 was out), however tarballs are preferred, and with them upstream version
checks work (openssh uses a weird git tag scheme).

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoselftest/distrodata: un-break the upstream version check test
Alexander Kanavin [Tue, 8 Jan 2019 15:25:28 +0000 (16:25 +0100)]
selftest/distrodata: un-break the upstream version check test

And fix the reported upstream check failures.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agobitbake.conf: add --enable-new-dtags to linker
Alexander Kanavin [Fri, 21 Dec 2018 14:23:51 +0000 (15:23 +0100)]
bitbake.conf: add --enable-new-dtags to linker

Various versions of ld have different defaults for this
(even between e.g. Ubuntu 16.04 and 18.04). This has the
consequence of putting either RPATH or RUNPATH into the binary,
depending on the linker, which have different priorities
vs LD_LIBRARY_PATH env var. Also, I think, the original
executable binary is looked up for the tags when resolving
a dependency of a shared library when using RPATH, but not
RUNPATH.

Let's make this deterministic.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agopatch: reproducibility: Fix host umask leakage
Douglas Royds [Thu, 20 Dec 2018 23:10:22 +0000 (12:10 +1300)]
patch: reproducibility: Fix host umask leakage

Some patch files create entirely new files, so their permissions are subject to
the host umask. If such a file is later installed into a package with no change
in permissions, it breaks the reproducibility of the package.

This was observed on libpam, for instance: The patch file
pam-security-abstract-securetty-handling.patch creates a new file
(tty_secure.c). This file is later copied into the -dbg package with no change
in permissions.

Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agolibpcap: upgrade 1.8.1 -> 1.9.0
Anuj Mittal [Thu, 20 Dec 2018 09:28:38 +0000 (17:28 +0800)]
libpcap: upgrade 1.8.1 -> 1.9.0

* For changes, see:
https://www.tcpdump.org/libpcap-changes.txt

* Merge inc and bb and remove unnecessary flags.

* Remove all patches, they have either been upstreamed or fixed
differently.

* Compilation with bluez5 works just fine, enable it and remove bluez4
config.

* Backport a commit to fix musl builds.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoat-spi2-atk: upgrade 2.26.2 -> 2.30.0
Anuj Mittal [Thu, 20 Dec 2018 08:43:35 +0000 (16:43 +0800)]
at-spi2-atk: upgrade 2.26.2 -> 2.30.0

For changes, see:
https://github.com/GNOME/at-spi2-atk/blob/AT_SPI2_ATK_2_30_0/NEWS

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoatk: upgrade 2.28.1 -> 2.30.0
Anuj Mittal [Thu, 20 Dec 2018 08:43:34 +0000 (16:43 +0800)]
atk: upgrade 2.28.1 -> 2.30.0

* For changes, see:
https://github.com/GNOME/atk/blob/ATK_2_30_0/NEWS

* Change in doc and introspection switches and patch refresh.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolibjpeg-turbo: upgrade 2.0.0 -> 2.0.1
Anuj Mittal [Thu, 20 Dec 2018 08:43:33 +0000 (16:43 +0800)]
libjpeg-turbo: upgrade 2.0.0 -> 2.0.1

* For changes, see:
https://github.com/libjpeg-turbo/libjpeg-turbo/blob/master/ChangeLog.md

* Removed upstreamed patch

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolibsolv: upgrade 0.7.1 -> 0.7.2
Anuj Mittal [Thu, 20 Dec 2018 08:43:32 +0000 (16:43 +0800)]
libsolv: upgrade 0.7.1 -> 0.7.2

>From NEWS:

- bug fixes:
  * do not autouninstall packages because of forcebest updates
- new features:
  * support rpm's new '^' version separator
  * support set/get_considered_list in bindings
  * new experimental SOLVER_FLAG_ONLY_NAMESPACE_RECOMMENDED flag

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agonetbase/base-files: move /etc/hosts from netbase to base-files
Chen Qi [Tue, 8 Jan 2019 09:12:52 +0000 (17:12 +0800)]
netbase/base-files: move /etc/hosts from netbase to base-files

Move /etc/hosts to base-files, and also add entry to it according
to hostname setting. This fixes the problem of commands like
`hostname -f' failing due to lack of such entry.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agooeqa/sdk: add test to exercise Meson
Ross Burton [Thu, 20 Dec 2018 15:38:49 +0000 (15:38 +0000)]
oeqa/sdk: add test to exercise Meson

(From OE-Core rev: 29359493e391d68a5a6b4fa4d09ffdc1fe6db620)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agooeqa/sdk/assimp: cleanup
Ross Burton [Thu, 3 Jan 2019 21:32:05 +0000 (21:32 +0000)]
oeqa/sdk/assimp: cleanup

Unify style with the other tests.

Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agooeqa/sdk/cases: clean up DL_DIR handling
Ross Burton [Thu, 3 Jan 2019 18:55:41 +0000 (18:55 +0000)]
oeqa/sdk/cases: clean up DL_DIR handling

Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agomeson: write correct host endian into SDK cross file
Ross Burton [Mon, 7 Jan 2019 16:37:03 +0000 (16:37 +0000)]
meson: write correct host endian into SDK cross file

Meson doesn't ignore this but will emit a warning, so write the correct value.

Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agomeson: fix nativesdk-meson for multilib SDKs
Ross Burton [Mon, 7 Jan 2019 15:07:43 +0000 (15:07 +0000)]
meson: fix nativesdk-meson for multilib SDKs

Multilib SDKs differ only in the environment variables set, so nativesdk-meson's
setup script needs to write a cross file for each environment.

Rename the shipped meson.cross to meson.cross.template, as it cannot be used
directly.  Now that post-relocate scripts are called once for each environment,
the generated meson.cross can be prefixed with TARGET_PREFIX to ensure it is
unique.

Finally rewrite the setup script to use string.Template to perform the expansion
instead of hand-coding the logic.

Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agomeson: use a sensible default for libdir when cross-compiling
Ross Burton [Fri, 4 Jan 2019 00:13:56 +0000 (00:13 +0000)]
meson: use a sensible default for libdir when cross-compiling

If --libdir isn't passed to Meson a default is used, but as this default value
changes depending on the host (whether it is Debian-like, or has /usr/lib64)
this isn't appropriate for cross builds.

Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agotoolchain-scripts: run post-relocate scripts for every environment
Ross Burton [Mon, 7 Jan 2019 15:07:38 +0000 (15:07 +0000)]
toolchain-scripts: run post-relocate scripts for every environment

SDKs for multilib configurations have multiple environment scripts, so
re-arrange the post-relocate hook invocation so that it runs the post-relocate
hooks after sourcing each environment script.

Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agogtk+3: add PACKAGECONFIG for cups
Diego Rondini [Mon, 7 Jan 2019 09:58:55 +0000 (09:58 +0000)]
gtk+3: add PACKAGECONFIG for cups

Signed-off-by: Diego Rondini <diego.rondini@kynetics.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolibsndfile1: Security fix CVE-2017-17456/17457 CVE-2018-19661/19662
Changqing Li [Mon, 7 Jan 2019 08:06:32 +0000 (16:06 +0800)]
libsndfile1: Security fix CVE-2017-17456/17457 CVE-2018-19661/19662

fix 4 CVEs, which is backport from
https://github.com/erikd/libsndfile/commit/585cc28a93be27d6938f276af0011401b9f7c0ca

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agofts: Bump FTS to version 1.2.7
Alistair Francis [Thu, 3 Jan 2019 23:19:14 +0000 (23:19 +0000)]
fts: Bump FTS to version 1.2.7

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoscripts/oe-git-archive: fix non-existent key referencing error
Yeoh Ee Peng [Fri, 4 Jan 2019 06:46:01 +0000 (14:46 +0800)]
scripts/oe-git-archive: fix non-existent key referencing error

Without installing gitpython package, oe-git-archive will face error
below, where it was referencing key that was non-existent inside
metadata object.

Traceback (most recent call last):
  File "<poky_dir>/scripts/oe-git-archive", line 271, in <module>
    sys.exit(main())
  File "<poky_dir>/scripts/oe-git-archive", line 229, in main
    'commit_count': metadata['layers']['meta']['commit_count'],
KeyError: 'commit_count'

Fix this error by adding exception catch when referencing
non-existent key (based on inputs provided by Richard Purdie).

[YOCTO# 13082]

Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoswig: Fix configure failure
Alistair Francis [Fri, 4 Jan 2019 00:28:05 +0000 (00:28 +0000)]
swig: Fix configure failure

Fix the swig build failure by calling the default do_configure from autotools.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agobuildoptions.py: use different STAMPS_DIR and SSTATE_DIR
Chen Qi [Fri, 4 Jan 2019 02:09:35 +0000 (10:09 +0800)]
buildoptions.py: use different STAMPS_DIR and SSTATE_DIR

Use a different STAMPS_DIR and SSTATE_DIR in test_yocto_source_mirror.
Otherwise, when executing `oe-selftest -a', we will get a lot of failures
due to do_unpack failure.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agooeqa/selftest/runqemu: Enable kvm when QEMU_USE_KVM is set
Robert Yang [Fri, 4 Jan 2019 07:15:45 +0000 (15:15 +0800)]
oeqa/selftest/runqemu: Enable kvm when QEMU_USE_KVM is set

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agooeqa/manual/bsp-qemu.json: Update for QEMU_USE_KVM
Robert Yang [Fri, 4 Jan 2019 07:15:44 +0000 (15:15 +0800)]
oeqa/manual/bsp-qemu.json: Update for QEMU_USE_KVM

Now QEMU_USE_KVM can only be boolean, can not contain MACHINE any more.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agooeqa: Fix for QEMU_USE_KVM
Robert Yang [Fri, 4 Jan 2019 07:15:43 +0000 (15:15 +0800)]
oeqa: Fix for QEMU_USE_KVM

Fixed:
MACHINE = "qemux86"
QEMU_USE_KVM = "qemux86"
IMAGE_CLASSES += "testimage"

$ oe-selftest -r runqemu.RunqemuTests.test_boot_rootfs

[snip]
  File "/buildarea1/lyang1/poky/meta/lib/oe/types.py", line 122, in boolean
    raise ValueError("Invalid boolean value '%s'" % value)
ValueError: Invalid boolean value 'qemux86'

Now QEMU_USE_KVM can only be boolean, can not contain MACHINE any more, kvm
will be enabled if target_arch == build_arch or both of them are x86 archs.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agognutls: update to 3.6.5
Armin Kuster [Wed, 2 Jan 2019 16:36:14 +0000 (08:36 -0800)]
gnutls: update to 3.6.5

Bug fix only release

Full details:
https://lists.gnupg.org/pipermail/gnutls-help/2018-December/004465.html

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agonettle: update to 3.4.1
Armin Kuster [Sat, 5 Jan 2019 22:05:01 +0000 (14:05 -0800)]
nettle: update to 3.4.1

Bug fix only release

Include:

  CVE-2018-16868 gnutls: Bleichenbacher-like side channel leakage in
  PKCS#1 1.5 verification and padding oracle verification

  CVE-2018-16869 nettle: Leaky data conversion exposing a manager oracle

For full details see:
http://lists.lysator.liu.se/pipermail/nettle-bugs/2018/007369.html

[V2]
Add -std=c99 to cflags

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoutil-linux: Fix build with glibc 2.29
Khem Raj [Sat, 5 Jan 2019 06:47:10 +0000 (22:47 -0800)]
util-linux: Fix build with glibc 2.29

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolinux-yocto/4.18: update to v4.18.22
Bruce Ashfield [Mon, 7 Jan 2019 14:33:47 +0000 (09:33 -0500)]
linux-yocto/4.18: update to v4.18.22

Integrating the -stable commits from Paul Gortmaker:

   24ed0744622e Linux 4.18.22
   8266951957ab tipc: use destination length for copy string
   2f2b82e7b4f8 arc: [devboards] Add support of NFSv3 ACL
   047e43ba5173 ARC: change defconfig defaults to ARCv2
   f8d102775911 Input: elan_i2c - add ACPI ID for Lenovo IdeaPad 330-15ARR
   91dfecd75ee7 Input: elan_i2c - add support for ELAN0621 touchpad
   7c63af1039aa Input: elan_i2c - add ELAN0620 to the ACPI table
   673d11935f70 Input: cros_ec_keyb - fix button/switch capability reports
   39f1f992639d Input: matrix_keypad - check for errors from of_get_named_gpio()
   b3cda161024f Input: synaptics - add PNP ID for ThinkPad P50 to SMBus
   3e533ca9eb5d Input: xpad - quirk all PDP Xbox One gamepads
   1c42a30f4824 i40e: Fix deletion of MAC filters
   0f2cbfeff18f svm: Add mutex_lock to protect apic_access_page_done on AMD systems
   af2cd1276d57 kgdboc: Fix warning with module build
   c72ba0c17cce kgdboc: Fix restrict error
   6571f7ba5f6a userfaultfd: shmem: UFFDIO_COPY: set the page dirty if VM_WRITE is not set
   3876646cbe3a userfaultfd: shmem: add i_size checks
   c8a600a72f36 userfaultfd: shmem: allocate anonymous memory for MAP_PRIVATE shmem
   bc43472443ee userfaultfd: use ENOENT instead of EFAULT if the atomic copy user fails
   34bfc624bb6b drm/meson: Fix OOB memory accesses in meson_viu_set_osd_lut()
   a5fdd876d4f9 drm/meson: Enable fast_io in meson_dw_hdmi_regmap_config
   c98737cc98c1 drm/meson: Fixes for drm_crtc_vblank_on/off support
   b6ba7cf72463 drm: set is_master to 0 upon drm_new_set_master() failure
   f5551d7db284 drm/ast: Fix incorrect free on ioregs
   f43ce49c718d tracing/fgraph: Fix set_graph_function from showing interrupts
   c31675335d18 IB/mlx5: Avoid load failure due to unknown link width
   339fc991ac42 mips: fix mips_get_syscall_arg o32 check
   ba720f00b540 MIPS: ralink: Fix mt7620 nd_sd pinmux
   87b2d7eda8cc sched, trace: Fix prev_state output in sched_switch tracepoint
   52338737ea2c mtd: nand: Fix memory allocation in nanddev_bbt_init()
   fa8d131f585a uprobes: Fix handle_swbp() vs. unregister() + register() race once more
   f895888ad58f iser: set sector for ambiguous mr status errors
   62613ca14469 unifdef: use memcpy instead of strncpy
   8a4fd8949897 test_hexdump: use memcpy instead of strncpy
   f68e638adaa5 misc: mic/scif: fix copy-paste error in scif_create_remote_lookup
   021b5e5a42e3 Drivers: hv: vmbus: check the creation_status in vmbus_establish_gpadl()
   f6167c3770f1 mm: use swp_offset as key in shmem_replace_page()
   d7044875a946 mm: cleancache: fix corruption on missed inode invalidation
   b14c4a131d36 lib/test_kmod.c: fix rmmod double free
   1b42a6def46d iio:st_magn: Fix enable device after trigger
   f6bd7b8e4dbc iio/hid-sensors: Fix IIO_CHAN_INFO_RAW returning wrong values for signed numbers
   a7cf14d6bbf0 Revert "usb: dwc3: gadget: skip Set/Clear Halt when invalid"
   b9be70d82cf4 usb: core: quirks: add RESET_RESUME quirk for Cherry G230 Stream series
   c233ce9ca873 USB: usb-storage: Add new IDs to ums-realtek
   726cd6bbfb4f staging: rtl8723bs: Add missing return for cfg80211_rtw_get_station
   cc91a66f70cd staging: rtl8723bs: Fix incorrect sense of ether_addr_equal
   a4827072018e staging: mt7621-dma: fix potentially dereferencing uninitialized 'tx_desc'
   3278d1121784 staging: vchiq_arm: fix compat VCHIQ_IOC_AWAIT_COMPLETION
   4871268b9733 staging: most: use format specifier "%s" in snprintf
   f52619fef6f3 dmaengine: at_hdmac: fix module unloading
   55a2c785818e dmaengine: at_hdmac: fix memory leak in at_dma_xlate()
   7def2114f963 ARM: dts: rockchip: Remove @0 from the veyron memory node
   d66e9553bb93 ASoC: pcm186x: Fix device reset-registers trigger value
   f28e4296150d ext2: fix potential use after free
   13cd83a3fdc6 ext2: initialize opts.s_mount_opt as zero before using it
   715877236823 binder: fix race that allows malicious free of live buffer
   4c80a994e1c3 function_graph: Reverse the order of pushing the ret_stack and the callback
   401bacb8a999 function_graph: Move return callback before update of curr_ret_stack
   5a45629359d8 function_graph: Have profiler use curr_ret_stack and not depth
   cdf8638a4a78 function_graph: Use new curr_ret_depth to manage depth instead of curr_ret_stack
   f54f3a8c164c function_graph: Make ftrace_push_return_trace() static
   19ebfe10ab9d MIPS: function_graph: Simplify with function_graph_enter()
   be7bcea6943b arm64: function_graph: Simplify with function_graph_enter()
   25465f3e0f89 s390/function_graph: Simplify with function_graph_enter()
   212fd6ab8b90 riscv/function_graph: Simplify with function_graph_enter()
   7845921e7845 parisc: function_graph: Simplify with function_graph_enter()
   02c3b2f09537 sparc/function_graph: Simplify with function_graph_enter()
   fadb32957bd3 sh/function_graph: Simplify with function_graph_enter()
   e8dab372f22f powerpc/function_graph: Simplify with function_graph_enter()
   06e04113d8ee x86/function_graph: Simplify with function_graph_enter()
   8974d9ddee8c microblaze: function_graph: Simplify with function_graph_enter()
   2ed3d836c186 ARM: function_graph: Simplify with function_graph_enter()
   a46f2a2ab8f7 function_graph: Create function_graph_enter() to consolidate architecture code
   0c23df1fb2ee ALSA: hda/realtek - fix headset mic detection for MSI MS-B171
   d33625c9ad99 ALSA: hda/realtek - Support ALC300
   d3736fa6a629 ALSA: hda: Add ASRock N68C-S UCC the power_save blacklist
   ac3d401ca588 ALSA: sparc: Fix invalid snd_free_pages() at error path
   5f8920cbdf8b ALSA: control: Fix race between adding and removing a user element
   68d40bdae9e1 ALSA: ac97: Fix incorrect bit shift at AC97-SPSA control write
   8a066b939728 ALSA: wss: Fix invalid snd_free_pages() at error path
   4e153baac165 fs: fix lost error code in dio_complete
   b3a80504fc6b perf/x86/intel: Disallow precise_ip on BTS events
   ef7ffa5edebb perf/x86/intel: Add generic branch tracing check to intel_pmu_has_bts()
   f273d7b0f5ea perf/x86/intel: Move branch tracing setup to the Intel-specific source file
   920db419fad5 x86/fpu: Disable bottom halves while loading FPU registers
   01ae1b649cc4 x86/MCE/AMD: Fix the thresholding machinery initialization order
   598ab7f4e75e arm64: dts: rockchip: Fix PCIe reset polarity for rk3399-puma-haikou.
   39b75abd266e PCI: layerscape: Fix wrong invocation of outbound window disable accessor
   aede037397ca btrfs: relocation: set trans to be NULL after ending transaction
   2fa66c494021 Btrfs: fix race between enabling quotas and subvolume creation
   050f755e1050 Btrfs: ensure path name is null terminated at btrfs_control_ioctl
   8640e4eba7a1 btrfs: Always try all copies when reading extent buffers
   d57b922c1fc6 udf: Allow mounting volumes with incorrect identification strings
   633f035c73f8 xtensa: fix coprocessor part of ptrace_{get,set}xregs
   e3b5970eae2a xtensa: fix coprocessor context offset definitions
   7123932c3463 xtensa: enable coprocessors that are being flushed
   4fea3a135968 KVM: VMX: re-add ple_gap module parameter
   2eda497b4155 KVM: X86: Fix scan ioapic use-before-initialization
   8c896ea1f95d KVM: x86: Fix kernel info-leak in KVM_HC_CLOCK_PAIRING hypercall
   cee09b048c40 KVM: nVMX/nSVM: Fix bug which sets vcpu->arch.tsc_offset to L1 tsc_offset
   60fa1976cc5a kvm: svm: Ensure an IBPB on all affected CPUs when freeing a vmcb
   151d0990d8c6 kvm: mmu: Fix race in emulated page table writes
   e7f4a4ecf899 userfaultfd: shmem/hugetlbfs: only allow to register VM_MAYWRITE vmas
   d04ea8a3e52b x86/speculation: Provide IBPB always command line options
   ba6fd92d9dde x86/speculation: Add seccomp Spectre v2 user space protection mode
   e162e0cb9f48 x86/speculation: Enable prctl mode for spectre_v2_user
   4fe877ade966 x86/speculation: Add prctl() control for indirect branch speculation
   26a22284be5b x86/speculation: Prepare arch_smt_update() for PRCTL mode
   3380e40c38d1 x86/speculation: Prevent stale SPEC_CTRL msr content
   dafcdc4d3ef4 x86/speculation: Split out TIF update
   b34c1d1e20ff ptrace: Remove unused ptrace_may_access_sched() and MODE_IBRS
   2f191447843d x86/speculation: Prepare for conditional IBPB in switch_mm()
   3c4a52665935 x86/speculation: Avoid __switch_to_xtra() calls
   9a02cf2b59f7 x86/process: Consolidate and simplify switch_to_xtra() code
   e45f1bf477c2 x86/speculation: Prepare for per task indirect branch speculation control
   40e17356647d x86/speculation: Add command line control for indirect branch speculation
   34ca30f6ebb2 x86/speculation: Unify conditional spectre v2 print functions
   8cf2abe5a48d x86/speculataion: Mark command line parser data __initdata
   b2e49f57b3d3 x86/speculation: Mark string arrays const correctly
   a951ec1282ca x86/speculation: Reorder the spec_v2 code
   f6e97c269fdf x86/l1tf: Show actual SMT state
   124f1934f087 x86/speculation: Rework SMT state change
   0db58041bd88 sched/smt: Expose sched_smt_present static key
   9b76ef59f198 x86/Kconfig: Select SCHED_SMT if SMP enabled
   74c0d392f4d2 sched/smt: Make sched_smt_present track topology
   4b44044665b7 x86/speculation: Reorganize speculation control MSRs update
   9d35dc0b1975 x86/speculation: Rename SSBD update functions
   ae5c861d44a2 x86/speculation: Disable STIBP when enhanced IBRS is in use
   9fdce9f0d6f6 x86/speculation: Move STIPB/IBPB string conditionals out of cpu_show_common()
   d9e0d122ae45 x86/speculation: Remove unnecessary ret variable in cpu_show_common()
   9ca44b34145e x86/speculation: Clean up spectre_v2_parse_cmdline()
   f472b112c142 x86/speculation: Update the TIF_SSBD comment
   4fe817e5f922 x86/retpoline: Remove minimal retpoline support
   cdda9afbdbcb x86/build: Fix compiler support check for CONFIG_RETPOLINE
   80420a04a82c x86/retpoline: Make CONFIG_RETPOLINE depend on compiler support
   e338c91ae9bb x86/speculation: Add RETPOLINE_AMD support to the inline asm CALL_NOSPEC variant
   dd970c7bb37c x86/speculation: Propagate information about RSB filling mitigation to sysfs
   1a42c7686198 x86/speculation: Apply IBPB more strictly to avoid cross-process data leak
   3fafe253622e tcp: defer SACK compression after DupThresh
   973b2d8edb37 net/dim: Update DIM start sample after each DIM iteration
   0541a4ad4c11 virtio-net: fail XDP set if guest csum is negotiated
   326888b906c0 virtio-net: disable guest csum during XDP set
   ce853ea2a2e1 net: skb_scrub_packet(): Scrub offload_fwd_mark
   497d616f9ef9 net: thunderx: set xdp_prog to NULL if bpf_prog_add fails
   32978c0d13b0 usbnet: ipheth: fix potential recvmsg bug and recvmsg bug 2
   303b14516da0 s390/qeth: fix length check in SNMP processing
   beedfff965e4 rapidio/rionet: do not free skb before reading its length
   9bde4bd658b6 packet: copy user buffers before orphan or clone
   8240b24014e5 net: thunderx: set tso_hdrs pointer to NULL in nicvf_free_snd_queue
   f4b7bf2f7824 net: gemini: Fix copy/paste error
   1a57f5e05433 net: don't keep lonely packets forever in the gro hash
   fa9f95c537f2 lan743x: fix return value for lan743x_tx_napi_poll
   e7ef14941113 lan743x: Enable driver to work with LAN7431
   a7a42d6ae23e mm/khugepaged: collapse_shmem() do not crash on Compound
   219f7f003c6b mm/khugepaged: collapse_shmem() without freezing new_page
   a5df6e4dd710 mm/khugepaged: minor reorderings in collapse_shmem()
   1d0476b09ae2 mm/khugepaged: collapse_shmem() remember to clear holes
   ba76e023cbcd mm/khugepaged: fix crashes due to misaccounted holes
   4ee51871be50 mm/khugepaged: collapse_shmem() stop if punched or truncated
   4b7da0a23ab7 mm/huge_memory: fix lockdep complaint on 32-bit i_size_read()
   4ea44ec50a87 mm/huge_memory: splitting set mapping+index before unfreeze
   9385e2751953 mm/huge_memory: rename freeze_page() to unmap_page()
   cfe3f465651c media: ov5640: fix auto controls values when switching to manual mode
   ce92e4309a8f media: ov5640: fix wrong binning value in exposure calculation
   797f0d9cdb19 media: ov5640: fix auto gain & exposure when changing mode
   09dd7d55020c media: ov5640: fix exposure regression
   d081f6351a54 media: ov5640: Fix timings setup code
   e27220212028 media: ov5640: Re-work MIPI startup sequence
   1941b77cf04d rcu: Make need_resched() respond to urgent RCU-QS needs
   2d694e55c1a8 tty: wipe buffer if not echoing data
   ff91ad4b37b6 tty: wipe buffer.
   c9a2097b5bca include/linux/pfn_t.h: force '~' to be parsed as an unary operator
   69adf873d6b7 mm, page_alloc: check for max order in hot path
   4cf135795c19 tmpfs: make lseek(SEEK_DATA/SEK_HOLE) return ENXIO with a negative offset
   5056621d3d82 mm, memory_hotplug: check zone_movable in has_unmovable_pages
   dfa625fbef30 z3fold: fix possible reclaim races
   32536aab2f6d powerpc/numa: Suppress "VPHN is not supported" messages
   41d104c27a25 NFSv4: Fix an Oops during delegation callbacks
   7d1687dde51a kdb: Use strscpy with destination buffer size
   32fe7d4fb78e drm/amdgpu: fix bug with IH ring setup
   f93e575d397a RISC-V: Silence some module warnings on 32-bit
   8e1136c5aff5 riscv: add missing vdso_install target
   48182b646f13 SUNRPC: Fix a bogus get/put in generic_key_to_expire()
   11e0046dcfea perf/x86/intel/uncore: Add more IMC PCI IDs for KabyLake and CoffeeLake CPUs
   73141f3f7b4f sched/fair: Fix cpu_util_wake() for 'execl' type workloads
   757ebe2cf812 powerpc/io: Fix the IO workarounds code to work with Radix
   cf650c21904c floppy: fix race condition in __floppy_read_block_0()
   7e04a587b960 crypto: simd - correctly take reqsize of wrapped skcipher into account
   eeb7ebec5993 rtc: pcf2127: fix a kmemleak caused in pcf2127_i2c_gather_write
   1a7a12521b42 rtc: cmos: Do not export alarm rtc_ops when we do not support alarms
   06200773ff6b cpufreq: imx6q: add return value check for voltage scale
   8bc2418df6ef KVM: PPC: Move and undef TRACE_INCLUDE_PATH/FILE
   c2d490ff84be scsi: hisi_sas: Remove set but not used variable 'dq_list'
   7fa1b9068daf pinctrl: meson: fix meson8b ao pull register bits
   c3faa93f65aa pinctrl: meson: fix meson8 ao pull register bits
   539eae5c2efb pinctrl: meson: fix gxl ao pull register bits
   81e6fb4d21c9 pinctrl: meson: fix gxbb ao pull register bits
   23980899fd33 pinctrl: meson: fix pinconf bias disable
   2acf52e0d024 fsnotify: generalize handling of extra event flags
   70804a2395f9 IB/hfi1: Eliminate races in the SDMA send error path
   36f0ce79eea5 ACPICA: AML interpreter: add region addresses in global list during initialization
   98a7ff363966 can: flexcan: remove not needed struct flexcan_priv::tx_mb and struct flexcan_priv::tx_mb_idx
   7e6c6e8f96a3 can: flexcan: Always use last mailbox for TX
   09c695304ced can: hi311x: Use level-triggered interrupt
   d5f1bed61e87 can: raw: check for CAN FD capable netdev in raw_sendmsg()
   5dbbeea479ba can: flexcan: handle tx-complete CAN frames via rx-offload infrastructure
   9d698b0e8c60 can: flexcan: use can_rx_offload_queue_sorted() for flexcan_irq_bus_*()
   3ca38586737b can: rx-offload: rename can_rx_offload_irq_queue_err_skb() to can_rx_offload_queue_tail()
   b564520dc84a can: rx-offload: introduce can_rx_offload_get_echo_skb() and can_rx_offload_queue_sorted() functions
   ba4d601f11da can: dev: __can_get_echo_skb(): print error message, if trying to echo non existing skb
   14daeee327c0 can: dev: __can_get_echo_skb(): Don't crash the kernel if can_priv::echo_skb is accessed out of bounds
   bd8f43390a6e can: dev: __can_get_echo_skb(): replace struct can_frame by canfd_frame to access frame length
   ec51a36d40ba can: dev: can_get_echo_skb(): factor out non sending code to __can_get_echo_skb()
   17afd6b2f539 can: flexcan: Unlock the MB unconditionally
   4e10eaf14115 drm/ast: Remove existing framebuffers before loading driver
   2059f682eac4 drm/ast: fixed cursor may disappear sometimes
   47d28426881e drm/ast: change resolution may cause screen blurred
   231220ffbd0c drm/i915: Disable LP3 watermarks on all SNB machines
   0ca629caa428 tcp: do not release socket ownership in tcp_close()
   235bb14bb504 mm/memory.c: recheck page table entry with page table lock held
   700d687423ce mm: don't warn about large allocations for slab
   3deb594eb9cc llc: do not use sk_eat_skb()
   d62cdc16c019 gfs2: Don't leave s_fs_info pointing to freed memory in init_sbd
   91aa78f105a0 sctp: clear the transport of some out_chunk_list chunks in sctp_assoc_rm_peer
   1ffe2390eec3 bfs: add sanity check at bfs_fill_super()
   609b2f88baa9 Input: synaptics - avoid using uninitialized variable when probing
   1c3712cd9ec5 selinux: Add __GFP_NOWARN to allocation at str_read()
   f4dd907859f6 v9fs_dir_readdir: fix double-free on p9stat_read error
   43fb0f750bf5 tools/power/cpupower: fix compilation with STATIC=true
   7b18c23b8a15 opp: ti-opp-supply: Correct the supply in _get_optimal_vdd_voltage call
   cdcc687a7c0f opp: ti-opp-supply: Dynamically update u_volt_min
   adf820e7040b brcmfmac: fix reporting support for 160 MHz channels
   77260dca90d8 iwlwifi: mvm: don't use SAR Geo if basic SAR is not used
   230956227e0f iwlwifi: mvm: fix regulatory domain update when the firmware starts
   34c26e7ff77e iwlwifi: mvm: support sta_statistics() even on older firmware
   4e7059a1ef08 iwlwifi: fix wrong WGDS_WIFI_DATA_SIZE
   00db19541478 gpio: don't free unallocated ida on gpiochip_add_data_with_key() error path
   1c65bc42b0b6 mmc: sdhci-pci: Workaround GLK firmware failing to restore the tuning value
   e670f3c0bd7f mmc: sdhci-pci: Try "cd" for card-detect lookup before using NULL
   0279a3e8c9a3 Documentation/security-bugs: Postpone fix publication in exceptional cases
   bea263a4d369 Documentation/security-bugs: Clarify treatment of embargoed information
   85225e451366 MAINTAINERS: Add Sasha as a stable branch maintainer
   a820ce4d4189 ALSA: oss: Use kvzalloc() for local buffer allocations
   7ca1b0cfd1f5 usb: xhci: Prevent bus suspend if a port connect change or polling state is detected
   6dc2234cfc3d xhci: Add quirk to workaround the errata seen on Cavium Thunder-X2 Soc
   e23d44bfb180 usb: xhci: fix timeout for transition from RExit to U0
   794e4eca3eb8 usb: xhci: fix uninitialized completion when USB3 port got wrong status
   e705be077247 xhci: Add check for invalid byte size error when UAS devices are connected.
   a065ce744fcb xhci: handle port status events for removed USB3 hcd
   d0ab048de951 xhci: Fix leaking USB3 shared_hcd at xhci removal
   c191d670df6c usb: dwc3: core: Clean up ULPI device
   baae5ac1953b usb: dwc3: gadget: Properly check last unaligned/zero chain TRB
   a3c907510737 usb: dwc3: gadget: fix ISOC TRB type on unaligned transfers
   2b5d953d4120 usb: core: Fix hub port connection events lost
   015ca0f92560 efi/libstub: arm: support building with clang
   7972aba9b9a0 HID: steam: remove input device when a hid client is running.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolinux-libc-headers: update to v4.19
Bruce Ashfield [Mon, 7 Jan 2019 14:33:46 +0000 (09:33 -0500)]
linux-libc-headers: update to v4.19

Updating the linux-libc-headers to match the latest reference
kernel in oe-core.

We addtionally add three patches (identified by Khem) to fix muslc
aarch64 build issues.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolinux-libc-headers: Fix build failure with fixed input and output files instead of...
He Zhe [Mon, 7 Jan 2019 14:33:45 +0000 (09:33 -0500)]
linux-libc-headers: Fix build failure with fixed input and output files instead of pipe

This is an amendment for
2322dc4 "linux-libc-headers: Fix build failure by using fixed temporary file instead of pipe"
which moves just the temporary input file from /tmp to build directory. But the
build directory may not in the same file system with the output file,
/dev/null, either and thus make it possible to trigger that bug, 67f846b, in
binutil v2.31.

This patch puts both the input and output files into build directory for good.

Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agosstate: Implement hash equivalence sstate
Joshua Watt [Fri, 4 Jan 2019 16:20:15 +0000 (10:20 -0600)]
sstate: Implement hash equivalence sstate

Converts sstate so that it can use a hash equivalence server to
determine if a task really needs to be rebuilt, or if it can be restored
from a different (equivalent) sstate object.

The unique hashes are cached persistently using persist_data. This has
a number of advantages:
 1) Unique hashes can be cached between invocations of bitbake to
    prevent needing to contact the server every time (which is slow)
 2) The value of each tasks unique hash can easily be synchronized
    between different threads, which will be useful if bitbake is
    updated to do on the fly task re-hashing.

[YOCTO #13030]

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoclasses/sstate: Handle unihash in hash check
Joshua Watt [Fri, 4 Jan 2019 16:20:13 +0000 (10:20 -0600)]
classes/sstate: Handle unihash in hash check

Handles the argument that passes task unique hash in the hash check
function, as it is now required by bitbake

[YOCTO #13030]

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agopython-native: fix one do_populate_sysroot warning
Changqing Li [Thu, 25 Oct 2018 08:59:28 +0000 (16:59 +0800)]
python-native: fix one do_populate_sysroot warning

Fix below warning:
WARNING: Skipping RPATH /usr/lib64 as is a standard search path for
work/x86_64-linux/python-native/2.7.15-r1.1/recipe-sysroot-native/
usr/lib/python2.7/lib-dynload/_bsddb.so

setup.py will check db.h under include_dirs, for native build,
/usr/lib64 will be insert to postion 0 of include_dirs, so
it's priority is higher then our sysroot, cause db.h sysroot
is ignored, and rpath set to /usr/lib64. and this cause warning
when do_populate_sysroot. use append to fix it.

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agopython/python3: use cc_basename to replace CC for checking compiler
Changqing Li [Tue, 23 Oct 2018 05:22:18 +0000 (13:22 +0800)]
python/python3: use cc_basename to replace CC for checking compiler

When working path contains "clang"/"gcc"/"icc", it might be part of $CC
because of the "--sysroot" parameter. That could cause judgement error
about clang/gcc/icc compilers.

eg: if build under /yocto/builds/xicc/,  bitbake python,  $CC will contains
xicc, will make $CC match *icc, but actuall xicc just folder name.

When "*icc" is matched, below errors are reported when
compiling python/python3:
x86_64-wrs-linux-gcc: error: strict: No such file or directory
x86_64-wrs-linux-gcc: error: unrecognized command line option '-fp-model'

Here use cc_basename to replace CC for checking compiler to avoid such
kind of issue.

Signed-off-by: Li Zhou <li.zhou@windriver.com>
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agokernel.bbclass: Fix incorrect deploying of fitimage.initramfs
Manjukumar Matha [Thu, 3 Jan 2019 16:53:22 +0000 (08:53 -0800)]
kernel.bbclass: Fix incorrect deploying of fitimage.initramfs

When kernel-fitimage and initramfs is enabled using
INITRAMFS_IMAGE_BUNDLE = "1", kernel do_deploy tries to deploy
fitImage.initramfs with following error

| install: cannot stat 'arch/arm64/boot/fitImage.initramfs': No such
file or directory

Skip deploying fitimage.initramfs, since fitimage does not
create fitimage.initramfs

Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoupdate-alternatives.bbclass: Stabilize iteration order
Clemens Lang [Thu, 3 Jan 2019 15:55:29 +0000 (16:55 +0100)]
update-alternatives.bbclass: Stabilize iteration order

The use of a dictionary for link_rename causes problems for higher-order
alternatives, i.e. when an alternative link points to another
alternative link, since these links must be processed in the order in
which they were originally added for symlink correction to work.

Switch from a dict to a list of tuples to ensure processing happens in
the original order.

Signed-off-by: Clemens Lang <clemens.lang@bmw-carit.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agou-boot.inc: Support menuconfig for u-boot
Manjukumar Matha [Wed, 2 Jan 2019 05:48:17 +0000 (21:48 -0800)]
u-boot.inc: Support menuconfig for u-boot

u-boot mainline supports menuconfig, this patch enables menuconfig for
u-boot using cml1.

u-boot recipe in OE-core handles multi configuration of u-boot using
UBOOT_CONFIG. Since we cannot determine on which u-boot config the
menuconfig should run, the patch limits when UBOOT_CONFIG is not
defined.

Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoclasses/buildhistory: avoid git diff churn by sorting more dictionaries
Jacob Kroon [Fri, 21 Dec 2018 09:05:00 +0000 (10:05 +0100)]
classes/buildhistory: avoid git diff churn by sorting more dictionaries

Sort 'srcrevs' and 'tag_srcrevs' before iterating over them in order
to avoid unnecessary changes in the build history.

Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoiw: fix parsing of WEP keys
Liu Haitao [Thu, 3 Jan 2019 05:48:38 +0000 (13:48 +0800)]
iw: fix parsing of WEP keys

The current iw4.14 has a fatal bug that could casue a Segmentation fault
when parsing WEP keys. The issue has been fixed by upstream.
[https://git.kernel.org/pub/scm/linux/kernel/git/jberg/iw.git/commit/?id=0e39f109c4b8155697a12ef090b59cdb304c8c44]

Signed-off-by: Liu Haitao <haitao.liu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoarch-armv4.inc, arch-armv5.inc: Do not tie generating thumb ISA to -march
Khem Raj [Thu, 3 Jan 2019 07:40:42 +0000 (23:40 -0800)]
arch-armv4.inc, arch-armv5.inc: Do not tie generating thumb ISA to -march

-march=armv5't'e means that CPU can execute thumb ISA, we do not need to
tie this to exclusively generating thumb ISA, this change means that
when we have thumb in tune features then it can use 't' in -march
options irrespective of ISA being thumb or arm.

This fixes derivative of armv5 tunes and paves way for gcc9 where e.g.
armv5e is dropped and minimum arch supported is armv5te

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agooeqa/utils/qemurunner: set timeout to 60s for run_serial
Robert Yang [Thu, 3 Jan 2019 08:16:32 +0000 (16:16 +0800)]
oeqa/utils/qemurunner: set timeout to 60s for run_serial

The 5s timeout for non-kvm is too short, especially when the load is high,
which leads to unexpected errors, so set timeout to 60s by default.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agocmake-native: Set --parallel for configure
Robert Yang [Tue, 18 Dec 2018 09:48:22 +0000 (17:48 +0800)]
cmake-native: Set --parallel for configure

This can save do_configure's time from 330s to 60s on my host.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agopackage.bbclass: fix python unclosed file ResourceWarning
Chen Qi [Tue, 18 Dec 2018 06:53:43 +0000 (14:53 +0800)]
package.bbclass: fix python unclosed file ResourceWarning

Fix the following warning.

  ResourceWarning: unclosed file <_io.TextIOWrapper name='/.../systemd/1_239-r0/debugsources.list' mode='a' encoding='UTF-8'>

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agonativesdk-packagegroup-sdk-host: add Meson
Ross Burton [Thu, 20 Dec 2018 14:08:36 +0000 (14:08 +0000)]
nativesdk-packagegroup-sdk-host: add Meson

Meson is growing in popularity, so add it to the SDK packagegroup.

Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agonativesdk-meson: add missing dependency on setuptools
Ross Burton [Thu, 20 Dec 2018 15:35:43 +0000 (15:35 +0000)]
nativesdk-meson: add missing dependency on setuptools

Meson uses pkg_resources, which is part of setuptools.

Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agoman-pages: use alternatives to resolve crypt.3 conflict
mark asselstine [Thu, 20 Dec 2018 15:34:54 +0000 (10:34 -0500)]
man-pages: use alternatives to resolve crypt.3 conflict

To fix:

  Error: Transaction check error:
    file /usr/share/man/man3/crypt.3 conflicts between attempted installs
    of libcrypt-doc-4.4.1-r0.core2_64 and man-pages-4.16-r0.core2_64

This issue came about after commit 59be9254df9f [libxcrypt: Upgrade to
4.4.1 release].

Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agonetbase: update to 5.5
Armin Kuster [Wed, 2 Jan 2019 16:36:17 +0000 (08:36 -0800)]
netbase: update to 5.5

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolibassuan: update to 2.5.2
Armin Kuster [Wed, 2 Jan 2019 16:36:16 +0000 (08:36 -0800)]
libassuan: update to 2.5.2

Refresh patch

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolibgpg-error: Update to 1.33
Armin Kuster [Wed, 2 Jan 2019 16:36:15 +0000 (08:36 -0800)]
libgpg-error: Update to 1.33

Drop patches now included in the update
refactoered pkgconfig.patch

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agonss: update to 3.41
Armin Kuster [Wed, 2 Jan 2019 16:36:13 +0000 (08:36 -0800)]
nss: update to 3.41

Bug fix only update.

    Bug 1252891 - Implemented EKU handling for IPsec IKE.
    Bug 1423043 - Enable half-closed states for TLS.
    Bug 1493215 - Enabled the following ciphersuites by default:
        TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384
        TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
        TLS_DHE_RSA_WITH_AES_256_GCM_SHA384
        TLS_RSA_WITH_AES_256_GCM_SHA384

    Bug 1412829, Reject empty supported_signature_algorithms in Certificate Request in TLS 1.2
    Bug 1485864 - Cache side-channel variant of the Bleichenbacher attack (CVE-2018-12404)
    Bug 1481271 - Resend the same ticket in ClientHello after HelloRetryRequest
    Bug 1493769 - Set session_id for external resumption tokens
    Bug 1507179 - Reject CCS after handshake is complete in TLS 1.3

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agomaintainers.inc: Add entry for new eglinfo-wayland recipe
Richard Purdie [Thu, 3 Jan 2019 12:46:04 +0000 (12:46 +0000)]
maintainers.inc: Add entry for new eglinfo-wayland recipe

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoeglinfo: add wayland receipe
Roman Stratiienko [Thu, 27 Dec 2018 12:38:49 +0000 (14:38 +0200)]
eglinfo: add wayland receipe

Signed-off-by: Roman Stratiienko <roman.stratiienko@globallogic.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoeglinfo: upgrade SRCREV to 223817ee3798
Roman Stratiienko [Thu, 27 Dec 2018 12:38:48 +0000 (14:38 +0200)]
eglinfo: upgrade SRCREV to 223817ee3798

SRCREV upgraded to 223817ee3798 ("Add Wayland support")
Additional patches rebased to this version

Signed-off-by: Roman Stratiienko <roman.stratiienko@globallogic.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agosstate: add support for caching shared workdir tasks
Michael Ho [Thu, 29 Nov 2018 12:21:36 +0000 (14:21 +0200)]
sstate: add support for caching shared workdir tasks

The sstate bbclass uses workdir as a hardcoded string in path
manipulations. This means that the sstate caching mechanism does
not work for the work-shared directory which the kernel uses to
share its build configuration and source files for out of tree
kernel modules.

This commit modifies the path manipulation mechanism to use the
work-shared directory if detected in the paths when handling the
sstate cache packages.

Signed-off-by: Michael Ho <Michael.Ho@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agonativesdk-*-provides-dummy: Fixes to allow correct operation with opkg
Richard Purdie [Wed, 5 Dec 2018 17:31:32 +0000 (17:31 +0000)]
nativesdk-*-provides-dummy: Fixes to allow correct operation with opkg

opkg needs the replaces/conflicts/provides in order for this package
to function as intended. When enabled, this code caused failures for
core-image-sato -c populate_sdk.

The reason is that nativesdk-autoconf has several perl dependencies. We
need to list more of the things which this package provides/conflicts
with in order for it to function correctly. Therefore add the missing
entries.

(From OE-Core rev: 27412b377dda47daa87bfcb3a41babe53ff8b0a3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agodpkg: Upgrade to 1.18.25
Aníbal Limón [Fri, 28 Dec 2018 19:54:08 +0000 (13:54 -0600)]
dpkg: Upgrade to 1.18.25

Removed (now in upstream),

0001-arch-Add-support-for-riscv64-CPU.patch

Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agometa/classes/testimage.bbclass: Only validate IMAGE_FSTYPES when is QEMU
Aníbal Limón [Wed, 2 Jan 2019 16:08:13 +0000 (10:08 -0600)]
meta/classes/testimage.bbclass: Only validate IMAGE_FSTYPES when is QEMU

When use simpleremote target the flash/boot process is executed
manually, the IMAGE_FSTYPES validation is only needed when execute
testimage against qemu.

The supported_fstypes comes from oeqa.core.target.qemu module.

Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agocurl: update to 7.63
Armin Kuster [Wed, 2 Jan 2019 16:36:11 +0000 (08:36 -0800)]
curl: update to 7.63

 Changes:

    curl: add %{stderr} and %{stdout} for --write-out
    curl: add undocumented option --dump-module-paths for win32
    setopt: add CURLOPT_CURLU

For full list of changes see:
https://curl.haxx.se/changes.html

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agotzdata/tzcode-native: update to 2018i
Armin Kuster [Wed, 2 Jan 2019 16:36:10 +0000 (08:36 -0800)]
tzdata/tzcode-native: update to 2018i

2018i:

  Briefly:
    São Tomé and Príncipe switches from +01 to +00 on 2019-01-01.

  Changes to future timestamps

    Due to a change in government, São Tomé and Príncipe switches back
    from +01 to +00 on 2019-01-01 at 02:00.  (Thanks to Vadim
    Nasardinov and Michael Deckers.)

2018h:
Briefly:
    Qyzylorda, Kazakhstan moved from +06 to +05 on 2018-12-21.
    New zone Asia/Qostanay because Qostanay, Kazakhstan didn't move.
    Metlakatla, Alaska observes PST this winter only.
    Guess Morocco will continue to adjust clocks around Ramadan.
    Add predictions for Iran from 2038 through 2090.

  Changes to future timestamps

    Guess that Morocco will continue to fall back just before and
    spring forward just after Ramadan, the practice since 2012.
    (Thanks to Maamar Abdelkader.)  This means Morocco will observe
    negative DST during Ramadan in main and vanguard formats, and in
    rearguard format it stays in the +00 timezone and observes
    ordinary DST in all months other than Ramadan.  As before, extend
    this guesswork to the year 2037.  As a consequence, Morocco is
    scheduled to observe three DST transitions in some Gregorian years
    (e.g., 2033) due to the mismatch between the Gregorian and Islamic
    calendars.

    The table of exact transitions for Iranian DST has been extended.
    It formerly cut off before the year 2038 in a nod to 32-bit time_t.
    It now cuts off before 2091 as there is doubt about how the Persian
    calendar will treat 2091.  This change predicts DST transitions in
    2038-9, 2042-3, and 2046-7 to occur one day later than previously
    predicted.  As before, post-cutoff transitions are approximated.

  Changes to past and future timestamps

    Qyzylorda (aka Kyzylorda) oblast in Kazakhstan moved from +06 to
    +05 on 2018-12-21.  This is a zone split as Qostanay (aka
    Kostanay) did not switch, so create a zone Asia/Qostanay.

    Metlakatla moved from Alaska to Pacific standard time on 2018-11-04.
    It did not change clocks that day and remains on -08 this winter.
    (Thanks to Ryan Stanley.)  It will revert to the usual Alaska
    rules next spring, so this change affects only timestamps
    from 2018-11-04 through 2019-03-10.

  Change to past timestamps

    Kwajalein's 1993-08-20 transition from -12 to +12 was at 24:00,
    not 00:00.  I transcribed the time incorrectly from Shanks.
    (Thanks to Phake Nick.)

    Nauru's 1979 transition was on 02-10 at 02:00, not 05-01 at 00:00.
    (Thanks to Phake Nick.)

    Guam observed DST irregularly from 1959 through 1977.
    (Thanks to Phake Nick.)

    Hong Kong observed DST in 1941 starting 06-15 (not 04-01), then on
    10-01 changed standard time to +08:30 (not +08).  Its transition
    back to +08 after WWII was on 1945-09-15, not the previous day.
    Its 1904-10-30 change took effect at 01:00 +08 (not 00:00 LMT).
    (Thanks to Phake Nick, Steve Allen, and Joseph Myers.)  Also,
    its 1952 fallback was on 11-02 (not 10-25).

    This release contains many changes to timestamps before 1946 due
    to Japanese possession or occupation of Pacific/Chuuk,
    Pacific/Guam, Pacific/Kosrae, Pacific/Kwajalein, Pacific/Majuro,
    Pacific/Nauru, Pacific/Palau, and Pacific/Pohnpei.
    (Thanks to Phake Nick.)

    Assume that the Spanish East Indies was like the Philippines and
    observed American time until the end of 1844.  This affects
    Pacific/Chuuk, Pacific/Kosrae, Pacific/Palau, and Pacific/Pohnpei.

  Changes to past tm_isdst flags

    For the recent Morocco change, the tm_isdst flag should be 1 from
    2018-10-27 00:00 to 2018-10-28 03:00.  (Thanks to Michael Deckers.)
    Give a URL to the official decree.  (Thanks to Matt Johnson.)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agosystemd: backport a patch to fix meson 0.49.0 issue
Alexander Kanavin [Tue, 18 Dec 2018 16:29:55 +0000 (17:29 +0100)]
systemd: backport a patch to fix meson 0.49.0 issue

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolibrepo: upgrade 1.9.2 -> 1.9.3
Alexander Kanavin [Tue, 18 Dec 2018 16:30:05 +0000 (17:30 +0100)]
librepo: upgrade 1.9.2 -> 1.9.3

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agowebkitgtk: upgrade 2.22.4 -> 2.22.5
Alexander Kanavin [Tue, 18 Dec 2018 16:30:04 +0000 (17:30 +0100)]
webkitgtk: upgrade 2.22.4 -> 2.22.5

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolibcomps: upgrade 0.1.8 -> 0.1.9
Alexander Kanavin [Tue, 18 Dec 2018 16:30:03 +0000 (17:30 +0100)]
libcomps: upgrade 0.1.8 -> 0.1.9

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agogobject-introspection: upgrade 1.58.1 -> 1.58.2
Alexander Kanavin [Tue, 18 Dec 2018 16:30:02 +0000 (17:30 +0100)]
gobject-introspection: upgrade 1.58.1 -> 1.58.2

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoboost: update to 1.69.0
Alexander Kanavin [Tue, 18 Dec 2018 16:30:01 +0000 (17:30 +0100)]
boost: update to 1.69.0

Drop upstreamed reproducibility-add-file-directive-to-assembler.patch

Drop signals library as upstream has removed it:
https://www.boost.org/users/history/version_1_69_0.html

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolighttpd: upgrade 1.4.51 -> 1.4.52
Alexander Kanavin [Tue, 18 Dec 2018 16:30:00 +0000 (17:30 +0100)]
lighttpd: upgrade 1.4.51 -> 1.4.52

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolibdnf: upgrade 0.22.3 -> 0.24.1
Alexander Kanavin [Tue, 18 Dec 2018 16:29:59 +0000 (17:29 +0100)]
libdnf: upgrade 0.22.3 -> 0.24.1

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agocreaterepo-c: update to 0.12.0
Alexander Kanavin [Tue, 18 Dec 2018 16:29:58 +0000 (17:29 +0100)]
createrepo-c: update to 0.12.0

Drop 0001-Correctly-install-the-shared-library.patch as upstream fixed the issue.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agodnf: upgrade 4.0.9 -> 4.0.10
Alexander Kanavin [Tue, 18 Dec 2018 16:29:57 +0000 (17:29 +0100)]
dnf: upgrade 4.0.9 -> 4.0.10

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolibdazzle: fix a build issue with meson 0.49.0
Alexander Kanavin [Tue, 18 Dec 2018 16:29:56 +0000 (17:29 +0100)]
libdazzle: fix a build issue with meson 0.49.0

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agomeson: update to 0.49.0
Alexander Kanavin [Tue, 18 Dec 2018 16:29:54 +0000 (17:29 +0100)]
meson: update to 0.49.0

Drop upstreamed gi-flags.patch and gtkdoc-flags.patch, rebase the rest.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agobtrfs-tools: update to 4.19.1
Alexander Kanavin [Tue, 18 Dec 2018 16:29:53 +0000 (17:29 +0100)]
btrfs-tools: update to 4.19.1

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agorunqemu-gen-tapdevs: Allow run --help without sudo
Robert Yang [Fri, 28 Dec 2018 08:58:58 +0000 (00:58 -0800)]
runqemu-gen-tapdevs: Allow run --help without sudo

Then we can get user's UID and GID rather than hardcode to 1000, e.g.:

- Without sudo
$ runqemu-gen-tapdevs --help
[snip]
$ sudo ../poky/scripts/runqemu-gen-tapdevs 15220 100 4 tmp/sysroots-components/x86_64/qemu-helper-native/usr/bin
[snip]

- With sudo
$ sudo ../poky/scripts/runqemu-gen-tapdevs --help
[snip]
$ sudo ../poky/scripts/runqemu-gen-tapdevs 15220 100 4 tmp/sysroots-components/x86_64/qemu-helper-native/usr/bin
[snip]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoperl: Fix race issue for cpan/Pod-Simple
Robert Yang [Fri, 28 Dec 2018 09:01:49 +0000 (01:01 -0800)]
perl: Fix race issue for cpan/Pod-Simple

Fixed:
Running pm_to_blib for cpan/Pod-Simple directly
[snip]
/path/to/cpan/podlators/../../miniperl "-I../../lib" "-I../../lib" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/pod2man
Can't locate Getopt/Long.pm in @INC [snip]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agobluez5: Fix a race issue for tools
Robert Yang [Fri, 28 Dec 2018 09:01:48 +0000 (01:01 -0800)]
bluez5: Fix a race issue for tools

Fixed:
cp ../bluez-5.50/tools/hid2hci.rules tools/97-hid2hci.rules
cp: cannot create regular file tools/97-hid2hci.rules: No such file or directory
make[1]: *** [tools/97-hid2hci.rules] Error 1

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agovalgrind: Fix a race issue for libcoregrind.a
Robert Yang [Fri, 28 Dec 2018 09:01:47 +0000 (01:01 -0800)]
valgrind: Fix a race issue for libcoregrind.a

The libnolto_coregrind_a_OBJECTS is in libcoregrind_a_LIBADD, so the objects
should be ready before generate libcoregrind.a, otherwise there would be
failures:

i586-poky-linux-ar: libnolto_coregrind_x86_linux_a-m_libcsetjmp.o: No such file or directory
make[3]: *** [libcoregrind-x86-linux.a] Error 1

Add libnolto_coregrind_a_OBJECTS to EXTRA_libcoregrind_DEPENDENCIES to fix the
problem.

This is a race issue during parallel build.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoAdded armeb into meson.bbclass.
Lei Maohui [Wed, 2 Jan 2019 05:17:48 +0000 (13:17 +0800)]
Added armeb into meson.bbclass.

Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoos-release: don't import shutil
Jacob Kroon [Tue, 1 Jan 2019 17:38:44 +0000 (18:38 +0100)]
os-release: don't import shutil

The line was added in

  os-release: add the public package-signing key
  f7359ad6bec82d4aa761287a6c6d53cbc25adab3

but the actual usage was removed in

  signing-keys: Make signing keys the only publisher of keys
  1e38068ac38dfd067655dfd41464e28439179306

Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agosstate.bbclass: catch ValueError from incorrectly written sstate manifests
Martin Jansa [Mon, 31 Dec 2018 09:58:35 +0000 (09:58 +0000)]
sstate.bbclass: catch ValueError from incorrectly written sstate manifests

* in some rare cases the file format might be broken, e.g. when you run
  out of disk space while writing to it (hint: make sure to use
  BB_DISKMON_DIRS on _all_ the builds, to make sure that they can stop
  gracefully before this happens).

* will show error like this:
  ERROR: Invalid line '/OE/build/luneos-thud/webos-ports' in sstate manifest '/OE/build/luneos-thud/webos-ports/tmp-glibc/sstate-control/index-allarch'
  when the file isn't complete, like in my case:
  $ tail -n 2 /OE/build/luneos-thud/webos-ports/tmp-glibc/sstate-control/index-allarch
  /OE/build/luneos-thud/webos-ports/tmp-glibc/stamps/all-webos-linux/org.webosports.app.calculator/0.1.1+gitrAUTOINC+9e9eb67c28-r0 /OE/build/luneos-thud/webos-ports/tmp-glibc/sstate-control/manifest-allarch-org.webosports.app.calculator /OE/build/luneos-thud/webos-ports/tmp-glibc/work/all-webos-linux/org.webosports.app.calculator/0.1.1+gitrAUTOINC+9e9eb67c28-r0
  /OE/build/luneos-thud/webos-ports

* instead of much longer exception which doesn't really show what's
  wrong to selectively fix that (other than removing while TMPDIR):

  ERROR: Command execution failed: Traceback (most recent call last):
  File "/OE/build/luneos-thud/webos-ports/bitbake/lib/bb/command.py", line 113, in runAsyncCommand
    self.cooker.updateCache()
  File "/OE/build/luneos-thud/webos-ports/bitbake/lib/bb/cooker.py", line 1562, in updateCache
    bb.event.fire(event, self.databuilder.mcdata[mc])
  File "/OE/build/luneos-thud/webos-ports/bitbake/lib/bb/event.py", line 225, in fire
    fire_class_handlers(event, d)
  File "/OE/build/luneos-thud/webos-ports/bitbake/lib/bb/event.py", line 134, in fire_class_handlers
    execute_handler(name, handler, event, d)
  File "/OE/build/luneos-thud/webos-ports/bitbake/lib/bb/event.py", line 106, in execute_handler
    ret = handler(event)
  File "/OE/build/luneos-thud/webos-ports/openembedded-core/meta/classes/sstate.bbclass", line 1083, in sstate_eventhandler2
    (stamp, manifest, workdir) = l.split()
  ValueError: not enough values to unpack (expected 3, got 1)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agokernel-module-split.bbclass: Fix modinfo decoding in old kernels
Pau Espin Pedrol [Mon, 31 Dec 2018 00:04:50 +0000 (01:04 +0100)]
kernel-module-split.bbclass: Fix modinfo decoding in old kernels

Before linux commit d36b691077dc59c74efec0d54ed21b86f7a2a21a, some
strings contained invalid utf-8 character which made
split_kernel_module_packages unhappy when parsing ums-isd200.ko:

Exception: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf6 in position 21: invalid start byte

Signed-off-by: Pau Espin Pedrol <pespin@sysmocom.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agogcc: Fix riscv multilibs for OE way
Khem Raj [Fri, 28 Dec 2018 20:03:49 +0000 (12:03 -0800)]
gcc: Fix riscv multilibs for OE way

In OE we do not build mutlib like gcc does it by default, this ensures
that mutlilib is virtually disabled for OE, since we hardly use same gcc
to build for multiple ABIs

This fixes cases in SDK where g++ is not able to find standard c++
include headers

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agocups: default to unix pam module
Diego Rondini [Fri, 28 Dec 2018 13:55:36 +0000 (13:55 +0000)]
cups: default to unix pam module

When pam PACKAGECONFIG is enabled a cups "pam.d" configuration file is
installed. The default configuration file uses a non-existing "pam_unknown.so",
but a different existing module can be selected by passing the
--with-pam-module parameter. Use the unix pam module when pam is enabled.

Signed-off-by: Diego Rondini <diego.rondini@kynetics.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agotestimage.bbclass: remove boot parameter systemd.log_target
Kai Kang [Tue, 25 Dec 2018 09:39:43 +0000 (04:39 -0500)]
testimage.bbclass: remove boot parameter systemd.log_target

Boot parameter systemd.log_target=console affects command journalctl's
output and causes oe selftest case test_systemd_boot_time fail to pass.

| Error at obtaining the boot time from journalctl
| RESULTS:
| RESULTS - systemd.SystemdJournalTests.test_systemd_boot_time - Testcase -1: SKIPPED (0.74s)

systemd.log_target=console was introduced by oe-core commit a0bb649 and
work with parameter systemd.log_level to enable systemd debug.
systemd.log_level has been removed already, so remove systemd.log_target
too to make case test_systemd_boot_time pass.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agobinutils: Upgrade to latest on 2.31 release branch
Khem Raj [Wed, 26 Dec 2018 20:09:54 +0000 (12:09 -0800)]
binutils: Upgrade to latest on 2.31 release branch

* Append minor version to PV so recipe checker is happy
* Drop upstreamed patches
* Remove changelog from CVE patches, they dont apply and are in patch
  log anyway

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoffmpeg: Backport patch to fix build with gcc9
Khem Raj [Wed, 26 Dec 2018 20:09:53 +0000 (12:09 -0800)]
ffmpeg: Backport patch to fix build with gcc9

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agovalgrind: Fix x86_64 build failure with gcc9
Khem Raj [Wed, 26 Dec 2018 20:09:52 +0000 (12:09 -0800)]
valgrind: Fix x86_64 build failure with gcc9

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agogdb: Backport a fix to build with gcc9
Khem Raj [Wed, 26 Dec 2018 20:09:51 +0000 (12:09 -0800)]
gdb: Backport a fix to build with gcc9

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolibxcrypt: Upgrade to 4.4.2
Khem Raj [Wed, 26 Dec 2018 20:09:50 +0000 (12:09 -0800)]
libxcrypt: Upgrade to 4.4.2

Licence-Update: Copyright Alexander Peslyak; 0-clause BSD added
see https://github.com/besser82/libxcrypt/commit/e07290ec7c3de301ce2b813ee2b42131bef2b119

Rename recipe to ve versionless and add PV in recipe itself, makes it
easy to traverse git history

Drop upstreamed patch

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agomusl: Update to latest master
Khem Raj [Wed, 26 Dec 2018 20:09:49 +0000 (12:09 -0800)]
musl: Update to latest master

* sync APIs from  kernel v4.18
* Misc bug fixes

Full logs
https://git.musl-libc.org/cgit/musl/log/?qt=range&q=39ef612aa193cc6e954ac5a01574300ccd4b7ef9..21a172dd36cae7a08492fd3a7500d7bf0daee13e

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agonfs-utils: Disable format-overflow as Werror
Khem Raj [Wed, 26 Dec 2018 20:09:48 +0000 (12:09 -0800)]
nfs-utils: Disable format-overflow as Werror

These warnings are intricate and we can ignore that for now as they are
being found by gcc 9, eventually this should be not needed when code
upstream is fixed

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agognupg: Do not apply -Woverride-init guard for gcc >= 9
Khem Raj [Wed, 26 Dec 2018 20:09:47 +0000 (12:09 -0800)]
gnupg: Do not apply -Woverride-init guard for gcc >= 9

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agognupg: Upgrade to 2.2.12 release
Khem Raj [Wed, 26 Dec 2018 20:09:46 +0000 (12:09 -0800)]
gnupg: Upgrade to 2.2.12 release

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agogrub2: Fix passing null to printf formats
Khem Raj [Wed, 26 Dec 2018 20:09:45 +0000 (12:09 -0800)]
grub2: Fix passing null to printf formats

Backport a patch that helps with this error which is found
by gcc9

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agopackage_ip.bbclass: add xz threading
Alejandro del Castillo [Wed, 26 Dec 2018 23:59:06 +0000 (17:59 -0600)]
package_ip.bbclass: add xz threading

Before, threading was enabled via a patch to opkg-build. Now that
opkg-build provides a hook for extra arguments, use that.

Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoopkg-utils: upgrade to version 0.4.0
Alejandro del Castillo [Wed, 26 Dec 2018 23:59:05 +0000 (17:59 -0600)]
opkg-utils: upgrade to version 0.4.0

Drop patches already merged upstream.

Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoopkg: upgrade to version 0.4.0
Alejandro del Castillo [Wed, 26 Dec 2018 23:59:04 +0000 (17:59 -0600)]
opkg: upgrade to version 0.4.0

- Drop 0001-remove_maintainer_scripts-use-strict-matching.patch

Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agooeqa/utils/qemurunner: Print output when failed to login
Robert Yang [Thu, 27 Dec 2018 08:59:43 +0000 (00:59 -0800)]
oeqa/utils/qemurunner: Print output when failed to login

This is useful for debugging.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoglibc: Enable --with-default-link
Khem Raj [Sat, 22 Dec 2018 18:27:28 +0000 (10:27 -0800)]
glibc: Enable --with-default-link

This lets linker to use its internal linker script for shared objects
Fixes with when gold is default linker

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>