summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
Commit message (Collapse)AuthorAgeFilesLines
* volatile-binds: Change cp to use -a instead of -p.Chris PeBenito2019-06-191-2/+2
| | | | | | | | | This is needed on SELinux systems, so the labels (xattrs) are preserved. (From OE-Core rev: ab7e3caf3e29f2d8db55e2901e0a9b01061afd88) Signed-off-by: Chris PeBenito <Christopher.PeBenito@microsoft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: add setpriv utilityRandy MacLeod2019-06-181-4/+11
| | | | | | | | | | | | | | | Enable the setpriv utility for targets only. It will be used in the run-ptest script for bash and perhaps other packages where the ptest code is expected to run as a user. setpriv uses libcap-ng which doesn't build natively so disable it for native* builds. Also, busybox has a setpriv implementation so ensure that setpriv adheres to the alternatives scheme. (From OE-Core rev: 587ba5f4bef18e8260fe671bd2e303140369a5e5) Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: Backport OpenSSL BUF_MEM fixAlex Kiernan2019-06-142-0/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Building `systemd-resolve` from systemd 242 with OpenSSL 1.1.1c and enabling DNS over TLS ends up calling abort (on 32 bit armhf): Program terminated with signal SIGABRT, Aborted. #0 __libc_do_syscall () at libc-do-syscall.S:49 49 libc-do-syscall.S: No such file or directory. (gdb) where #0 __libc_do_syscall () at libc-do-syscall.S:49 #1 0xb6940ea4 in __libc_signal_restore_set (set=0xbec68b78) at ../sysdeps/unix/sysv/linux/internal-signals.h:84 #2 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:48 #3 0xb69336e0 in __GI_abort () at abort.c:79 #4 0xb6968428 in __libc_message (action=action@entry=do_abort, fmt=<optimized out>) at ../sysdeps/posix/libc_fatal.c:181 #5 0xb696c7e6 in malloc_printerr (str=<optimized out>) at malloc.c:5352 #6 0xb696ca1a in munmap_chunk (p=<optimized out>) at malloc.c:2840 #7 0xb6bd1c4a in CRYPTO_clear_realloc (str=0xd0e59a, old_len=388, num=<optimized out>, file=0xb6c300dc "../../../../../../workspace/sources/openssl/crypto/buffer/buffer.c", line=135) at ../../../../../../workspace/sources/openssl/crypto/mem.c:290 #8 0xb6b5da3a in BUF_MEM_grow_clean (str=0xcfb960, len=len@entry=393) at ../../../../../../workspace/sources/openssl/crypto/buffer/buffer.c:135 #9 0xb6b486a0 in mem_write (b=0xcf8300, in=0xd07c6b "\027\003\003", inl=24) at ../../../../../../workspace/sources/openssl/crypto/bio/bss_mem.c:235 #10 0xb6b45c86 in bwrite_conv (bio=<optimized out>, data=<optimized out>, datal=<optimized out>, written=0xbec68ec8) at ../../../../../../workspace/sources/openssl/crypto/bio/bio_meth.c:77 #11 0xb6b452d4 in bio_write_intern (written=0xbec68ec8, dlen=24, data=0xd07c6b, b=0xcf8300) at ../../../../../../workspace/sources/openssl/crypto/bio/bio_lib.c:343 #12 bio_write_intern (b=0xcf8300, data=0xd07c6b, dlen=24, written=0xbec68ec8) at ../../../../../../workspace/sources/openssl/crypto/bio/bio_lib.c:320 #13 0xb6b455b2 in BIO_write (b=<optimized out>, data=<optimized out>, dlen=<optimized out>) at ../../../../../../workspace/sources/openssl/crypto/bio/bio_lib.c:363 #14 0xb6cabd1a in ssl3_write_pending (s=s@entry=0xcfd2d8, type=type@entry=23, buf=buf@entry=0xcfcc28 "", len=len@entry=2, written=written@entry=0xbec698b0) at ../../../../../../workspace/sources/openssl/ssl/record/rec_layer_s3.c:1146 #15 0xb6cac72e in do_ssl3_write (s=s@entry=0xcfd2d8, type=type@entry=23, buf=buf@entry=0xcfcc28 "", pipelens=pipelens@entry=0xbec698b4, numpipes=numpipes@entry=1, create_empty_fragment=create_empty_fragment@entry=0, written=written@entry=0xbec698b0) at ../../../../../../workspace/sources/openssl/ssl/record/rec_layer_s3.c:1107 #16 0xb6cac92e in ssl3_write_bytes (s=0xcfd2d8, type=23, buf_=0xcfcc28, len=<optimized out>, written=0xbec699c0) at ../../../../../../workspace/sources/openssl/ssl/record/rec_layer_s3.c:613 #17 0xb6cb1698 in ssl3_write (s=<optimized out>, buf=0xcfcc28, len=2, written=0xbec699c0) at ../../../../../../workspace/sources/openssl/ssl/s3_lib.c:4460 #18 0xb6cb87b2 in ssl_write_internal (s=<optimized out>, buf=buf@entry=0xcfcc28, num=num@entry=2, written=written@entry=0xbec699c0) at ../../../../../../workspace/sources/openssl/ssl/ssl_lib.c:1943 #19 0xb6cb8896 in SSL_write (s=<optimized out>, buf=buf@entry=0xcfcc28, num=num@entry=2) at ../../../../../../workspace/sources/openssl/ssl/ssl_lib.c:1957 #20 0x004ddac8 in dnstls_stream_write (stream=stream@entry=0xcfca60, buf=0xcfcc28 "", count=2) at ../git/src/resolve/resolved-dnstls-openssl.c:270 #21 0x004d8d5c in dns_stream_writev (s=s@entry=0xcfca60, iov=iov@entry=0xbec69b4c, iovcnt=iovcnt@entry=2, flags=flags@entry=0) at ../git/src/resolve/resolved-dns-stream.c:225 #22 0x004d9516 in on_stream_io (es=<optimized out>, fd=<optimized out>, revents=4, userdata=0xcfca60) at ../git/src/resolve/resolved-dns-stream.c:334 #23 0xb6e7f020 in source_dispatch (s=0xcf3658) at ../git/src/libsystemd/sd-event/sd-event.c:2821 #24 0xb6e806b0 in sd_event_dispatch (e=e@entry=0xced6d0) at ../git/src/libsystemd/sd-event/sd-event.c:3234 #25 0xb6e807f6 in sd_event_run (e=0xced6d0, timeout=<optimized out>) at ../git/src/libsystemd/sd-event/sd-event.c:3291 #26 0xb6e809bc in sd_event_loop (e=0xced6d0) at ../git/src/libsystemd/sd-event/sd-event.c:3312 #27 0x004bb64c in run (argv=<optimized out>, argc=<optimized out>) at ../git/src/resolve/resolved.c:84 #28 main (argc=<optimized out>, argv=<optimized out>) at ../git/src/resolve/resolved.c:91 (From OE-Core rev: b11ddab19bc7c0ce35b95345181de8a708268472) Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: Stop udevd to run ptestsMariano López2019-06-142-0/+18
| | | | | | | | | | | | | | | | | | | The util-linux's ptest uses the SCSI_DEBUG kernel module to create virtual SCSI disks. The automount feature of udevd will try to mount these disks by default. Because udevd controls the mount of the disks, the eject/mount tests will fail or be skipped. This change will stop udevd before executing the util-linux's ptest and start the daemon again after all the tests. This is for eudevd only, systemd-udevd doesn't present this problem because there are no automount rules. [YOCTO #13301] (From OE-Core rev: f7becf0b5743dfbee06b354a086dc553db2b1348) Signed-off-by: Mariano López <just.another.mariano@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus-test: Upgrade 1.12.16Mingli Yu2019-06-141-2/+2
| | | | | | | (From OE-Core rev: 2a6d75242579655d9e73491b147aad8533d1bcbd) Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus: Upgrade to 1.12.16Mingli Yu2019-06-141-2/+2
| | | | | | | | | | Security fixes: CVE-2019-12749 (From OE-Core rev: 20fe36c347d471d79035ed7d9c2a50d4c8e7745a) Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: upgrade to 2.33.2Chen Qi2019-06-122-11/+11
| | | | | | | | | | | The license files' names are changed, but the contents remain the same. However, the LICENSE section of the recipe was wrong. This upgrade change the 'BSD' part to 'BSD-3-Clause & BSD-4-Clause'. (From OE-Core rev: 9bc68bcc79d9e2464b9b29f6bfde8322b65c09b9) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: Update to master head revision2.8_M1Richard Purdie2019-06-101-1/+1
| | | | | | (From OE-Core rev: 86266dfcd70b8e3435d267538c3e6e4d69be829e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: udpate 2.58.3 -> 2.60.3Alexander Kanavin2019-06-088-300/+92
| | | | | | | | | | | | | | | | | Drop autotools-specific parts from patches, as all autotools files have been removed upstream (meson is now the only option). Remove autotools-specific 0001-Revert-Use-absolute-paths-in-pkg-config-files.patch Remove backported fix-nl-abaltmon.patch Add a hunk to Enable-more-tests-while-cross-compiling.patch which comments out the part of the tests that hard-codes native ld for building. (From OE-Core rev: c7479bfd5fad4b9ba2e4299048a0c432200a5204) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes: Fix license "names"/versions.Filip Jareš2019-06-063-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These were broken in commit 4786ecdf7cd427089464dcb62579110d494e7cd7 which performed a cleanup to avoid non-standard field names. There is an SPDX License list at https://spdx.org/licenses/ which aims to be a standard. Yocto also uses a substitution map SPDXLICENSEMAP, default one stored at meta/conf/licenses.conf. According to meta/conf/licenses.conf, "AFL-2" corresponds to "AFL-2.0" which is not correct for dbus. According to the same licenses.conf file "MPL-1" corresponds to "MPL-1.0", which is correct for libical but since SPDX aims to be a standard I am updating the identifier in libical's .bb file as well. To verify the actual license used you can use: dbus: cd /tmp/ wget http://dbus.freedesktop.org/releases/dbus-glib/dbus-glib-0.110.tar.gz tar -xaf dbus-glib-0.110.tar.gz cd dbus-glib-0.110 grep -A1 "^The Academic Free License$" COPYING cd /tmp/ wget http://dbus.freedesktop.org/releases/dbus/dbus-1.12.14.tar.gz tar -xaf dbus-1.12.14.tar.gz cd dbus-1.12.14 grep -A1 "^The Academic Free License$" COPYING cairo: wget --quiet -O - https://cgit.freedesktop.org/cairo/plain/COPYING-MPL-1.1?h=1.16.0 | grep -A1 "MOZILLA PUBLIC LICENSE" libical: wget --quiet -O - https://raw.githubusercontent.com/libical/libical/v2.0.0/COPYING | grep "Mozilla Public License" taglib: wget --quiet -O - https://raw.githubusercontent.com/taglib/taglib/v1.11.1/COPYING.MPL | grep -A1 "MOZILLA PUBLIC LICENSE" (From OE-Core rev: 85cdf2ddfbfa956f9fcb705f886645f1884149c1) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* newlib: export CC_FOR_TARGET as CCAlejandro Hernandez Samaniego2019-06-061-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Newlibs Makefiles use a variable CC_FOR_TARGET to build libraries for the TARGET machine (as opposed to CC_FOR_BUILD). We pass CC on our compile function, which is normally use to build, although in this case, the configure script is trimming CC and using simply gcc for the target machine, basically taking out the TUNE variables we pass in CC as well, such as march, mfloat-abi and such. This causes errors when building applications since CC will try to use hard floating point for example whereas the libc.a from newlib will contain libraries built with the defaults which could be soft floating point for example. e.g.: $ ${CC} test.c real-ld: error: test.out uses VFP register arguments, /usr/lib/libg.a(lib_a-stdio.o) does not. Analizing the object files we can see that one of them uses soft (library) and the other one uses hard floating point (program): $ readelf -A test.out | grep VFP Tag_ABI_VFP_args: VFP registers $ readelf -A usr/lib/libc.a | grep VFP Hence why the linker complains. Pass CC_FOR_TARGET with the contents of CC to override the trimming from the configure script and build newlib with the correct tune. (From OE-Core rev: d00b32f4f961ceeb75e7a014209666c10cf3eb93) Signed-off-by: Alejandro Enedino Hernandez Samaniego <aehs29@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* newlib: Upgrade to 3.1.0Alejandro Hernandez Samaniego2019-06-063-4/+4
| | | | | | | | | | | | | Upgrade both newlib and libgloss to the yearly release 3.1.0. BSD-2 license was added on: 6864c08b94752d34cca (From OE-Core rev: ef90ed7e4be3f1ed63faba73bd4bbd593ae7bdf2) Signed-off-by: Alejandro Enedino Hernandez Samaniego <aehs29@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: ptest fixesRichard Purdie2019-06-042-1/+2
| | | | | | | | | | | | | Add missing quotes in ptest runner. Without these it runs all gnome tests which is why the counts in my minimal image tests differed from those on the main autobuilder core-image-sato runs. Also fix an error showing in the ptest logs where invalid options were being passed to busybox du. (From OE-Core rev: dc0c916e610297063821450761c17e10c53bb4dd) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd-conf: configure wired network with dhcpKai Kang2019-06-042-0/+15
| | | | | | | | | | | | | | | | Add a configure file for systemd.networkd to configure wired network interfaces with dhcp. It works with common network interfaces such eth0 and eno1. And do not install it for qemu bsps. Refer to https://github.com/YoeDistro/meta-yoe/tree/master/recipes-core/systemd [YOCTO #13057] (From OE-Core rev: d87efd14ce0471135c0aa7fd7b5da2808acb9c76) Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Revert "ncurses: fix incorrect UPSTREAM_CHECK_GITTAGREGEX"Alexander Kanavin2019-06-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 91227184b59df30222e45abf2edf13e4e65164a1. Instead of fixing incorrect regex, the commit actually broke the correct one. Before the reverted commit: alexander@alexander-box:~/development/poky$ devtool check-upgrade-status ncurses INFO: ncurses 6.1 6.1+20181013 Hongxu Jia <hongxu.jia@windriver.com> 7a97a7f937762ba342d5b2fd7cd090885a809835 After the reverted commit: alexander@alexander-box:~/development/poky$ devtool check-upgrade-status ncurses INFO: ncurses 6.1 UNKNOWN_BROKEN Hongxu Jia <hongxu.jia@windriver.com> The code in bitbake/lib/bb/fetch2/git.py actually splits each tag with '/' as separator and takes only the last part for some reason, so the "debian/" or "upstream/" prefixes are never a part of the string that is matched against regex: https://salsa.debian.org/debian/ncurses/tags (From OE-Core rev: b6f4c130e5b2df458bf9d1b2d8edc8ac87fecf12) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc-locale: DEPEND on virtual/libcJoshua Watt2019-05-311-3/+1
| | | | | | | | | | | | | | | The restriction against glibc-locale depending on virtual/libc is removed now that libc-initial no longer exists. Adding the DEPENDS on virtual/libc fixes a race (and reproducibility issue) where the packages created by this recipe would have different runtime dependencies depending on if libc had generated its packages yet or not. (From OE-Core rev: 75539cb23073596a9f13446dd6f3921755d7fb53) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus-test: Upgrade 1.12.12 -> 1.12.14Zang Ruochen2019-05-311-2/+2
| | | | | | | | | Upgrade from dbus-test_1.12.12.bb to dbus-test_1.12.14.bb. (From OE-Core rev: c345e26b1ca7685c905ad41fdd436f4e4a3e68ab) Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus: Upgrade 1.12.12 -> 1.12.14Zang Ruochen2019-05-311-2/+2
| | | | | | | | | Upgrade from dbus_1.12.12.bb to dbus_1.12.14.bb. (From OE-Core rev: 4beec5f51582ca27963ff200a46595a16a3ba790) Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: add rconflictsChangqing Li2019-05-301-0/+2
| | | | | | | | | | | add rconflicts since error during do_rootfs: file /sbin/resolvconf conflicts between attempted installs of resolvconf-1.79-r0.noarch and systemd-1:242+0+db2e367bfc-r0.i586 file /sbin/init conflicts between attempted installs of tiny-init-1.0-r3.i586 and systemd-1:242+0+db2e367bfc-r0.i586 (From OE-Core rev: 10d0a824ad9b835b6f5ec24a49d41aead613031b) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox-inittab/sysvinit-inittab: add rconflictsChangqing Li2019-05-302-2/+3
| | | | | | | | | | | | | when both installed, do_rootfs report error like: file /etc/inittab conflicts between attempted installs of busybox-inittab-1.30.1-r0.qemux86 and sysvinit-inittab-2.88dsf-r10.qemux86 so add each other to rconflicts (From OE-Core rev: d66114b07ef3e8482fee4c3c93e4f6324c38da3b) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dropbear: add openssh/openssh-sshd as rconflictChangqing Li2019-05-301-0/+1
| | | | | | | (From OE-Core rev: 0aa21ae925d81cd10d5c44d4d98c9f06df87139d) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: Fix ptest dependenciesRichard Purdie2019-05-301-2/+2
| | | | | | | | | | | We should append to the ptest RDEPENDS and RRECOMMENDS otherwise the bbclass defaults are overwritten. This leads to ptest-runner not being installed in minimal images. Also drop the duplicate ${PN} value which is unneeded once we do this. (From OE-Core rev: 5054038567744d09e51e50f8c663f18224d6c555) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* uninative-tarball: Use xz compression and SDK_ARCHIVE_CMDuninative-2.5Richard Purdie2019-05-291-1/+1
| | | | | | | | | Switch uninative to use xz compression instead of bzip2. We can then directly use the SDK_ARCHIVE_CMD. (From OE-Core rev: c2e30917542297c0dbef2868d4aeebc05b13ef8b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* uninative-tarball: Fix file generation after class changesRichard Purdie2019-05-291-1/+1
| | | | | | | | | | OE-Core rev: 57a33048a89a422cfdc986d3489c67b2d297e1e7 renamed the tar_sdk function but didn't fix this recipe. This leads to broken uninative tarballs as the internal structure isn't correct. Fix this. (From OE-Core rev: 1cfe7cbb20a0eedd46ab6ee57f8d49bc652f818a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: avoid musl specific patches affect glibc systemsChen Qi2019-05-271-1/+1
| | | | | | | | | | | | | systemd upstream only care about glibc. We made musl specific patches so that systemd could work. But currently these patches contain potential security issues. So apply these patches only when the libc is musl. (From OE-Core rev: 464a1c16db1d7cc950eaee43bd8a47124dc4398f) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* musl: Upgrade to master tipKhem Raj2019-05-271-1/+1
| | | | | | | | | | Changes https://git.musl-libc.org/cgit/musl/log/?qt=range&q=65c8be380431eebe4d70d130bd38563f8df9a7d7..ac304227bb3ea1787d581f17d76a5f5f3abff51f (From OE-Core rev: c46c6e6f660d808c1fa49dea2b1df32730bea232) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Revert "musl: Add TEMP_FAILURE_RETRY from glibc"Khem Raj2019-05-272-37/+0
| | | | | | | | | | | | | | This reverts commit 0c68c621d3b8690e3a346170006f75b032511a8a. It should be upstreamed first Secondly, musl and glibc are under different licenses and importing code from one to other could taint it. (From OE-Core rev: 71c6930e304f8918e4bd571237ff41e7e9e9b9a3) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-networking: add PACKAGECONFIG for opensslMartin Jansa2019-05-271-0/+1
| | | | | | | | | | | | | | | * gnutls from meta-gplv2 isn't new enough for this version of glib-networking: meson.build:74:0: ERROR: Invalid version of dependency, need 'gnutls' ['>= 3.4.6'] found '3.3.30' * disabling gnutls PACKAGECONFIG isn't an option either: meson.build:131:2: ERROR: Problem encountered: No TLS backends enabled. Please enable at least one TLS backend * add an option to replace gnutls with openssl (From OE-Core rev: 7fe82038105709a02a29d6b1359b9e6cd4e9dade) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-networking: upgrade 2.60.1 -> 2.60.2Alexander Kanavin2019-05-221-2/+2
| | | | | | | (From OE-Core rev: cb91333aece799ef1d0e2f11a0ff95e60a24cb25) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libxcrypt: upgrade 4.4.4 -> 4.4.6Alexander Kanavin2019-05-221-2/+2
| | | | | | | (From OE-Core rev: 12efd701b9875bb955dca038ab67b7fec8fb21f4) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: Some upstreamable musl patches have been upstreamedAdrian Bunk2019-05-217-80/+105
| | | | | | | (From OE-Core rev: 71f99af0d05656a4546e691f6b6e876776c22b13) Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: Add missing ptest dependenciesMariano López2019-05-211-1/+2
| | | | | | | | | | | | | | There are some missing dependencies for the util-linux-ptest package that causes inconsistencies in the package tests run in different images. The kernel module in RRECOMMENDS is not build at this time, it needs more testing and check if the configuration change can be part of the yocto-kernel-cache repository. (From OE-Core rev: 56f09cb4873f9de8efb44c640b6c9f1db8b721b7) Signed-off-by: Mariano López <just.another.mariano@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* packagegroup-cross-canadian: repackage when TUNE_ARCH changesAlexander Kanavin2019-05-171-0/+6
| | | | | | | (From OE-Core rev: 11c78268a2e9d333d615ce01b5a5bdc3d5546850) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: Disable idn properly for musl instead of NI_IDN workaroundsAdrian Bunk2019-05-172-39/+3
| | | | | | | (From OE-Core rev: e9d132c25c7e1feca1d078b0891c0f4baba70f81) Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: add missing libgcc dependency to glib-2.0-ptestRoss Burton2019-05-171-0/+1
| | | | | | | | | The thread tests need libgcc for pthread_cancel to work. (From OE-Core rev: 0563003fea0ff432e61f7361fa8c1524ffbc925a) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gettext/flex/m4/bzip2/gzip/parted/slang/attr: Add make to -ptest packagesRichard Purdie2019-05-161-0/+1
| | | | | | | | | This solves ptest runtime errors where make was missing causing the ptests to fail. (From OE-Core rev: 2ade2c53388c92d36b8b30dae30670fd96ca4821) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* musl: Add TEMP_FAILURE_RETRY from glibcAdrian Bunk2019-05-162-0/+37
| | | | | | | | | | Patch it into musl instead of patching all users (currently elfutils and next ofono). (From OE-Core rev: 0c68c621d3b8690e3a346170006f75b032511a8a) Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: fix last failing ptestRoss Burton2019-05-151-1/+43
| | | | | | | | | | | Upstream glib don't really actually test the test suite with modern glibc and all the locales present so we're finding a number of bugs. Backport another fix from upstream to fix the test data with modern glibc. (From OE-Core rev: b2832df86b5218954c63b01595620fe8cf7ec921) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus-test: Improve ptest dependencies dependenciesRichard Purdie2019-05-151-2/+2
| | | | | | | | | | | The dbus-test package is empty, move its dependencies to the ${PN}-ptest package. Also ensure that it doesn't depend on the empty ${PN} package which is about to start causing image failures in the following commit. In this case the correct dependency is dbus itself. (From OE-Core rev: db4ef506b6b86e62a5ee1cbea8f12f97615dd0b8) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Remove irda-utils and the irda featureAdrian Bunk2019-05-151-19/+0
| | | | | | | | | IrDA support was removed in kernel 4.17. (From OE-Core rev: 9609256bfcfbb3860f68f1d8e553e9dd051ad218) Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* packagegroup-self-hosted: drop epiphanyAlexander Kanavin2019-05-151-1/+0
| | | | | | | | | | | | | | Originally a web browser was added to build-appliance-image to enable Hob's use cases that involve opening a URI; with Hob long gone, a web browser is no longer necessary to have in build-appliance-image. This will also address the out-of-resources problem when build-appliance-image builds itself in a VM, as a test case. (From OE-Core rev: e354b33d4aa16a302e1972d87755b654db3d54fb) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ell: update to 0.20Oleksandr Kravchuk2019-05-151-2/+2
| | | | | | | | | | | | | Changelog: - Fix issue with DHCP client and handling renewing state - Fix issue with DHCP client and handling rebinding state - Fix issue with DHCP client and recommended retry timeouts - Fix issue with Generic Netlink and family discovery (From OE-Core rev: ebb5b261230dbb2cc13093174960613cfdaf20b4) Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libxml2: upgrade 2.9.8 -> 2.9.9Hongxu Jia2019-05-129-281/+172
| | | | | | | | | | | - Drop backported fix-CVE-2017-8872.patch, fix-CVE-2018-14404.patch and 0001-Fix-infinite-loop-in-LZMA-decompression.patch (From OE-Core rev: dc51f92b2a6f2439fa93b9b0c1d8c4c13e884813) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ncurses: fix incorrect UPSTREAM_CHECK_GITTAGREGEXHongxu Jia2019-05-121-1/+1
| | | | | | | | | | | | | | | The upstream git tag has a `upstream/' prefix, such as: >>> import re >>> pattern = "upstream/(?P<pver>\d+(\.\d+)+(\+\d+)*)" >>> string = "upstream/6.1+20181013" >>> result = re.match(pattern, string) >>> result['pver'] '6.1+20181013' (From OE-Core rev: 50c872f402656e192d47b7a64e003f345227e55c) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* base-passwd: Add kvm groupJacob Kroon2019-05-122-1/+25
| | | | | | | | | | | | | | | | | | Although base-passwd in OE is somewhat outdated, upgrading to a newer version is not going to solve eudev warnings about missing groups during boot; input/shutdown/kvm are still not listed in groups.master. The reason for this is that Debian uses systemd, which will automatically create missing groups(systemd-sysusers). In a sysvinit+eudev configuration you instead get a warning printed to the console: udevd[<pid>]: specified group 'kvm' unknown (From OE-Core rev: 76caed136b819522b908a2bee7b81103bd2ea7e4) Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: add missing locales for the testsRoss Burton2019-05-121-0/+10
| | | | | | | | | Some tests are either failing or skipping due to missing locales. (From OE-Core rev: a7e57e44fefcbc7ca377e310bb295c34faa6874d) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: fix locale handlingRoss Burton2019-05-122-0/+63
| | | | | | | | | | A bug upstream resulted in broken locale handling with the new glibc we have, so the test suite was failing. (From OE-Core rev: 8331008bc5b8c97469301701e4bd899610989198) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: Bump up SRCREV to systemd-stable top to include the fix for ↵He Zhe2019-05-121-1/+1
| | | | | | | | | | | | | | shutdown now hang "shutdown now" makes systemd hang at the following line. [ OK ] Stopped Session c1 of user root. It's already been fixed by 03cb25525423 ("socket-util: make sure flush_accept() doesn't hang on unexpected EOPNOTSUPP") (From OE-Core rev: b8f175296905518d0222bd63bb44c93772afb8be) Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: move "machines" symlinks to systemd-containerMatthias Schiffer2019-05-091-0/+3
| | | | | | | | | | | | | | | Move symlinks to the machines.target and var-lib-machines.mount units to the systemd-container package, where the pointed at units are located as well. This avoids an implicit dependency of the systemd package on systemd-container, which prevented the use of systemd without installing systemd-container. (From OE-Core rev: ae3c8d938c261c92ecf06e2d09f7e32bc117ceb8) Signed-off-by: Matthias Schiffer <matthias.schiffer@ew.tq-group.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: Use PACKAGECONFIG definition to depend on libnss-myhostnamePeter Kjellerstedt2019-05-091-2/+1
| | | | | | | | | | | Rather than adding the dependency on libnss-myhostname to RDEPENDS_${PN} if the myhostname PACKAGECONFIG is set, add the runtime dependency to myhostname's PACKAGECONFIG definition. (From OE-Core rev: e107feab1734d5751ea0d94ca6dbccc059709b55) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>