summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
Commit message (Collapse)AuthorAgeFilesLines
* newlib: Update licenceAlejandro Hernandez Samaniego2021-01-231-2/+2
| | | | | | | | | | | | | | | | | | | - libgloss: - (22) New tcl license for csky-* targets - (23) New license for csky-* targets, states itself as FreeBSD license but text matches GPL (648365e0) - (24) New BSD-2 license for risc-v targets newlib: - New license for csky-* targets, states itself as FreeBSD license but text matches GPL (648365e0) - (53) arm targets FreeBSD - (54) arm targets BSD-2-Clause-FreeBSD (From OE-Core rev: 97388b7da445c42ca9d425d37d2f369fc673b973) Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: resolve executable path if it is relativeMingli Yu2021-01-232-0/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Backport a patch to fix the below systemd-analyze issue: # systemd-analyze --man=false verify /lib/systemd/system/initrd-cleanup.service initrd-cleanup.service: Command systemctl is not executable: No such file or directory # which systemctl /bin/systemctl # cat /lib/systemd/system/initrd-cleanup.service [snip] [Unit] Description=Cleaning Up and Shutting Down Daemons DefaultDependencies=no AssertPathExists=/etc/initrd-release OnFailure=emergency.target OnFailureJobMode=replace-irreversibly After=initrd-root-fs.target initrd-fs.target initrd.target [Service] Type=oneshot ExecStart=systemctl --no-block isolate initrd-switch-root.target (From OE-Core rev: 2e0259931f71701147039bb8e60251892f67dbcd) Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: Update to master head revisionRichard Purdie2021-01-201-1/+1
| | | | | | (From OE-Core rev: 79821d5a185e25384f5b6b5158b238bbee17c79e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* newlib: Upgrade 3.3.0 -> 4.1.0Alejandro Hernandez Samaniego2021-01-203-1/+1
| | | | | | | (From OE-Core rev: 48c7474a50181f8983c180693363b40833c3fe01) Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* appliance: Add VHD/VHDX generationSinan Kaya2021-01-201-1/+3
| | | | | | | | (From OE-Core rev: e21f0afbb8d88004aa33a181e09bb3e671983bb3) Signed-off-by: Sinan Kaya <okaya@kernel.org> Signed-off-by: Anatol Belski <anbelski@linux.microsoft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* musl/glibc: Document assembly file directive fixKhem Raj2021-01-162-2/+10
| | | | | | | | | | It has been fixed in binutils so we want to drop it with binutils 2.36 upgrade when it happens (From OE-Core rev: 89ba28933067b38ab1023aaf30951eb6969d50c6) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: dont spew hidepid mount errors for kernels < v5.8Paul Gortmaker2021-01-162-0/+127
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Recent systemd started using ascii args to "hidepid=" mount options for proc fs - unconditionally -- even though kernels older than v5.8 emit an error message on each attempt: root@qemux86-64:~# cat /proc/version Linux version 5.4.87-yocto-standard (oe-user@oe-host) (gcc version 10.2.0 (GCC)) #1 SMP PREEMPT Fri Jan 8 01:47:13 UTC 2021 root@qemux86-64:~# dmesg|grep proc: [ 29.487995] proc: Bad value for 'hidepid' [ 43.170571] proc: Bad value for 'hidepid' [ 44.175615] proc: Bad value for 'hidepid' [ 46.213300] proc: Bad value for 'hidepid' root@qemux86-64:~# Simply ignoring them as the systemd maintainer unconditionally says is the resolution is clearly not acceptable, given the above. Add a kernel version check to avoid calling mount with invalid args. Further details are within the enclosed systemd commit. Cc: Luca Boccassi <luca.boccassi@microsoft.com> Cc: Richard Purdie <richard.purdie@linuxfoundation.org> (From OE-Core rev: 76107fd7372559aa4cd22a89d5517a4dfce9314d) Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ell: upgrade 0.35 -> 0.36Wang Mingyu2021-01-132-25/+1
| | | | | | | | | | 0001-ell-add-missing-include-in-dhcp-server.patch removed since it is included in 0.36 (From OE-Core rev: 589d6b65a5ac4ce2b33eb2ee4fbbc1e6b3355756) Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc: CVE-2019-25013Scott Murray2021-01-102-0/+138
| | | | | | | | | | | | | | | * CVE detail: https://nvd.nist.gov/vuln/detail/CVE-2019-25013 * upstream tracking: https://sourceware.org/bugzilla/show_bug.cgi?id=24973 * patch from upstream: https://sourceware.org/git/?p=glibc.git;a=patch; h=ee7a3144c9922808181009b7b3e50e852fb4999b (From OE-Core rev: 53d149df4d8832e34ace2470c31ddc688176faf7) Signed-off-by: Scott Murray <scott.murray@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kbd: fix transaction conflictMingli Yu2021-01-081-0/+7
| | | | | | | | | | | | | | | | | | After kdb upgrades to 2.4.0, vlock.pamd will be copied to /etc/pam.d/vlock when install as [1]. And it will result in below Transaction error during do_rootfs when both vlock and kbd installed: | Transaction test error: file /etc/pam.d/vlock conflicts between attempted installs of vlock-2.2.3-r0.corei7_64 and kbd-2.4.0-r0.corei7_64 So rename vlock to vlock.kbd to fix the gap. [1] https://git.kernel.org/pub/scm/linux/kernel/git/legion/kbd.git/commit/?id=b9cbb05038e01a7c4b3899589c591734e643a281 (From OE-Core rev: 315f2453515a4cd0f1cc2d1bdddeb0c385aee2d4) Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* psplash (sysvinit): add textual updatesTrevor Woerner2021-01-053-1/+11
| | | | | | | | | | | | | | | | | | | | | | The psplash program contains a hidden text box immediately above the progress bar. Any text sent via a "MSG" command through psplash's fifo will be displayed, centred, above the progress bar. Add the ability to show which startup script is currently running, in sync with updates to the progress bar. If a startup script takes a bit longer than others and the progress bar stops momentarily, this allows the user to know which script is responsible. This feature is added with a knob, default off, for enabling or disabling this feature. The knob is in the form of a PACKAGECONFIG against the sysvinit recipe: psplash-text-updates NOTE: this knob can be changed in the filesystem at runtime by editing /etc/default/rcS regardless of how it is set in the build. (From OE-Core rev: 6a48631e24341895f13029fb7c69dd67031f53c1) Signed-off-by: Trevor Woerner <twoerner@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* psplash: fix working on first boot (sysvinit)Trevor Woerner2021-01-053-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The psplash program has a mechanism for showing updates graphically in the form of a progress bar. The program is told when and how much to fill the progress bar via text messages sent through a fifo. If the fifo doesn't exist when the psplash program starts, it tries to create it. If the fifo doesn't exist or can't be created, the psplash program will refuse to run. In various circumstances when a system is booted for the very first time, the filesystem is mounted, initially, read-only. As a result the psplash program is not able to run. On systems where the root filesystem is not meant to be read-only, it will eventually be mounted read-write. Therefore the psplash program can run on shutdown, and all subsequent boots. Only the first boot is affected. If a fifo is created and included in the filesystem as part of the recipe, then filesystems that are meant to be read-only will have psplash work, as well as the cases where (on first boot) a read-write filesystem is initially mounted read-only. NOTE: this is only an issue with sysvinit, and non-qemu machines. systemd-based systems don't suffer from this first-boot issue, and neither do the qemu machines. NOTE 2: when psplash is done, it removes the fifo. Therefore the fifo used for communicating with psplash doesn't hang around unnecessarily in the filesystem. (From OE-Core rev: d20978f9bce3caf473f5b4f55d645dbeabc1642d) Signed-off-by: Trevor Woerner <twoerner@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* PSPLASH_FIFO_DIR: refactorTrevor Woerner2021-01-053-3/+8
| | | | | | | | | | | Add an entry for the psplash fifo directory to /etc/default/rcS and have the pieces of code that need it source it from there rather than duplicating the definition in multiple places throughout the code. (From OE-Core rev: dc4065b6f101e6418301e0cb8d73ae3a1b2bdfb2) Signed-off-by: Trevor Woerner <twoerner@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dropbear: Disable lastlog and wtmp on muslKhem Raj2021-01-031-0/+3
| | | | | | | | | Not provided by musl library (From OE-Core rev: 97dc1a2844d1f954fc0c86fe406ffbacc88a2133) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ell: upgrade 0.33 -> 0.35Alexander Kanavin2020-12-313-2/+55
| | | | | | | (From OE-Core rev: 69952f5bf247fc42103a249a48213017f50e319d) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: Build fixes for 32bit arches with 64bit time_tKhem Raj2020-12-313-0/+84
| | | | | | | | | | | | some 32bit architectures ( e.g. riscv32 and arc ) are using 64bit time_t from get go, therefore may not have time32 syscalls, these backports help restore the successful builds for util-linux on such machines (From OE-Core rev: df9535626c66e59c6769bd7cc285c6f26271c6aa) Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: upgrade 2.36 -> 2.36.1Alexander Kanavin2020-12-311-1/+1
| | | | | | | (From OE-Core rev: a8a6c7e0e34fc6044d40a43e5f3add251ddd4ab6) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox.inc: install rcS, rcK and rcS.default only with busybox in ↵Martin Jansa2020-12-311-1/+1
| | | | | | | | | | | | | | | | | | | | | VIRTUAL-RUNTIME_init_manager * since https://git.openembedded.org/openembedded-core/commit/?id=991394be9e695f9ddb5e2fca167c06f7a56a7449 the rcS.default is in SRC_URI only when VIRTUAL-RUNTIME_init_manager is 'busybox' but this section in do_install was controlled by CONFIG_INIT=y in /.config which for busybox-initrd from meta-virtualization caused: ERROR: busybox-initrd-1.32.0-r0 do_install: Execution of '/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/busybox-initrd/1.32.0-r0/temp/run.do_install.1481880' failed with exit code 1: CONFIG_FEATURE_MDEV_CONF=y install: cannot stat '/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/busybox-initrd/1.32.0-r0/rcS.default': No such file or directory WARNING: exit code 1 from a shell command. (From OE-Core rev: 00f22daa9774783ba14073fb871bbbc6e7c5354d) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ovmf: upgrade 202008 -> 202011Alexander Kanavin2020-12-311-3/+3
| | | | | | | (From OE-Core rev: f1382f73f1faa0653aebd2cbb492131972755c20) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: update 2.66.2 -> 2.66.4Alexander Kanavin2020-12-301-1/+1
| | | | | | | (From OE-Core rev: f899f5b55c2d1c2418a1088b8da4ca3655a391fb) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sysvinit: upgrade 2.97 -> 2.98Alexander Kanavin2020-12-301-1/+1
| | | | | | | (From OE-Core rev: bfcf3304cc35e59aafb66a3b61278cc11f96fec7) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kbd: upgrade 2.3.0 -> 2.4.0Alexander Kanavin2020-12-301-1/+1
| | | | | | | (From OE-Core rev: 0bb9e942a6919990fc0f9491d754fe49b7f6aeaf) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* init-system-helpers: upgrade 1.58 -> 1.60Alexander Kanavin2020-12-301-1/+1
| | | | | | | (From OE-Core rev: 3ae7b7f72d4b55d66e6f8f8a9bc71e14fb826c47) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: add a patch to increase a test timeoutAlexander Kanavin2020-12-243-1/+28
| | | | | | | | | | | There have been intermittent ptest failures in this test; I couldn't reproduce the failures in isolation, and this is the only reason I can think of from reading code. (From OE-Core rev: eddbc1880231dd3839c635f688a2a46589fd1b51) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: Ensure uid/gid ranges are set deterministicallyRichard Purdie2020-12-201-0/+4
| | | | | | | | | | | meson.build will fall back to greping /etc/login.defs for values of these if they're not set. Different distros set them (Centos 7/8 does, Ubuntu does not) so output was not deterministic. Avoid this by setting to the default values. We now match the vaules from login.defs from shadow. (From OE-Core rev: 77a6ac0ac266d71e4fe67fd332662081f30cd7bf) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox: Sync rcS.default with sysvinitKhem Raj2020-12-201-0/+29
| | | | | | | (From OE-Core rev: b97a18f45ad5166aa3532768c50c0d0b3c952011) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* initscripts: Use initctl on sysvinit onlyKhem Raj2020-12-201-8/+14
| | | | | | | | | | | Check if init system is sysvinit to recreate initctl, this ensures that it can be used with busybox init system as well (From OE-Core rev: 15c467d0206ee30fe708f76b7d5e0033ab687475) Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Sinan Kaya <okaya@kernel.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rcS: Define identifier for init system usedKhem Raj2020-12-202-1/+5
| | | | | | | | | | | This will help in defining init system specific portions of initscripts which are shared (From OE-Core rev: 12380bccce7b87b755d1e24620c397641e88f656) Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Sinan Kaya <okaya@kernel.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox: Run mdev as daemonKhem Raj2020-12-202-17/+41
| | | | | | | | | | | | | | | When busybox is used for device management, kernel needs to support older/obsolete mechanism via CONFIG_UEVENT_HELPER and CONFIG_UEVENT_HELPER_PATH to enable /proc/sys/kernel/hotplug but this would require kernel defconfig change and will always be needed when mdev is used, intead run it in daemon mode Update mdev init script to run mdev in daemon mode (From OE-Core rev: f9e84b31ea4afe566c76dcdea25960478cd36ecc) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox: Install /etc/default/rcS when used as init systemKhem Raj2020-12-203-0/+3
| | | | | | | | | This helps in using sysvinit scripts with busybox init system as well (From OE-Core rev: 991394be9e695f9ddb5e2fca167c06f7a56a7449) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* initscripts: use quotes for shell variable comparisionKhem Raj2020-12-201-1/+1
| | | | | | | | | Helps to execute it with busybox shell (From OE-Core rev: 45ba0ca0352bca46f974d28781ac935d8e9ec3ea) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: add RRECOMMENDS for weak dependencies, if enabledLuca Boccassi2020-12-201-4/+7
| | | | | | | | | | | | Some libraries are now dlopen'ed and skipped at runtime if not available. Add them to the RRECOMMENDS list, to allow users to exclude them for smaller images even if generally enabled at build time. (From OE-Core rev: 0131a794be1a97f9aef3224c7c66fcf27576ce84) Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: set -Dmode=release as recommended by NEWSLuca Boccassi2020-12-201-0/+1
| | | | | | | (From OE-Core rev: c101682b75284b9759c692f5cc7daafece0e32e0) Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: ship new systemd-dissect in -extra-utilsLuca Boccassi2020-12-201-0/+1
| | | | | | | (From OE-Core rev: 0a154f37e83ba0c46d79b7394c9f716074308bd2) Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: add package config for systemd-oomdLuca Boccassi2020-12-201-0/+2
| | | | | | | | | Disabled by default (From OE-Core rev: 20aab7078e27e150375c268e3d7a3d2157f0e8ae) Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: update 246 -> 247Luca Boccassi2020-12-2033-608/+647
| | | | | | | | | | | | | | | | Update systemd to v247.2. Add rule for new oomd dbus conf and for new pam.d conf directory in /usr/lib|lib64. Drop selinux-hook-handling-to-enumerate-nexthop.patch, merged upstream. Drop 0001-meson-Fix-reallocarray-check.patch, merged upstream. Refresh musl patches. (From OE-Core rev: 1e1d26de68ed13fd53c1a16b9662ac9860dca714) Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc: Make adjtime() for 32 bit support being called with delta == NULLPeter Kjellerstedt2020-12-202-0/+111
| | | | | | | | | | | This backports a fix from glibc's master branch, which solves a regression in 2.32 with adjtime() where it would seg fault if being called with delta == NULL on 32 bit machines. (From OE-Core rev: aeecccf17c45c840c070e2de95c602a3c7e9d30e) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox-inittab: Implement SYSVINIT_ENABLED_GETTYS and USE_VTKhem Raj2020-12-181-0/+50
| | | | | | | | | | This ensures that busybox init can generate matching tty's in inittab as system defines, secondly resepcts USE_VT for creating virtual ttys (From OE-Core rev: 7dddda7a00108f9a61da4a869514a32b9f42d16a) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wic-tools: add grub-efi and systemd-boot on arm64Ross Burton2020-12-181-0/+1
| | | | | | | | | These both now work on arm64, so add them to the dependencies. (From OE-Core rev: 6b350db4ef9eaff10ee274ff7d28d2e6761c532a) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd-boot: allow building for Arm targetsRoss Burton2020-12-181-1/+1
| | | | | | | | | | systemd-boot works on 32-bit and 64-bit Arm targets (assuming the firmware does EFI, obviously), so allow it to be built. (From OE-Core rev: 3325992e66e8fbd80292beb4b0ffd50beca138d8) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd-boot: build the EFI stubRoss Burton2020-12-181-6/+6
| | | | | | | | | | | | Also build and deploy the EFI stub. SYSTEMD_BOOT_EFI_ARCH can be dropped as image-uefi.conf now sets EFI_ARCH. Changes originally taken from meta-intel. (From OE-Core rev: 00191504bd9321334a5c01b95179ed15b063f1b6) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wic-tools: don't build syslinux-native for targets without syslinuxRoss Burton2020-12-181-4/+4
| | | | | | | | | | If we're not building syslinux, then there's no point building syslinux-native. (From OE-Core rev: 152dbd05c099ce50701466336a9c9642c98e4fe0) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* coreutils: enable xattrs by default for nativesdkNathan Rossi2020-12-181-0/+3
| | | | | | | | | | | | When using coreutils nativesdk (e.g. with buildtools-tarball) for running oe-core builds, a number of recipes/classes/etc. expect xattr support. This requirement is also expressed by the existing PACKAGECONFIG_class-native default including xattrs. (From OE-Core rev: 80d7debffdeed165006b26dcb89cffafaaecca06) Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ncurses: Prevent LDFLAGS being emitted in .pc filesNathan Rossi2020-12-182-0/+30
| | | | | | | | | | | | | | | | | | | | | By default ncurses includes the values of LDFLAGS in its output pkgconfig .pc files. This causes issues because OE includes options that are specific to either the build host, or build configuration. These options are not expected to be embedded in the pkgconfig output that is installed. Specifically this change resolves issues with uninative, where uninative includes '-Wl,--dynamic-linker=' in LDFLAGS in order to force the building and execution of native binaries against the dynamic linker provided by uninative. This path is specific to TMPDIR at the time of build, such that the installed files (and the associated sstate) have this path. This prevents the sstate from being portable across build directories/hosts. (From OE-Core rev: ef960d14bd9cecb9a3b50994636fbd455f06104a) Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* readline: upgrade 8.0 -> 8.1Wang Mingyu2020-12-185-7/+7
| | | | | | | (From OE-Core rev: 0928aea49741432cf36c9ecc48e9fadefa9d5ccb) Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: Fix reallocarray checkKhem Raj2020-12-162-0/+31
| | | | | | | | | Musl brought this latent issue to fore (From OE-Core rev: 6012fffa99b600956ea1076d60e050d0737b4c4f) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* musl: Update to latest masterKhem Raj2020-12-153-64/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refresh patches to apply to this update Brings in following fixes * 1e4204d5 use libc-internal malloc for newlocale/freelocale * 36246b34 drop use of pthread_once in newlocale * 37fcc13c lift locale lock out of internal __get_locale * c53e9b23 fix misleading comment in strstr * b67d56c7 drop use of pthread_once for aio thread stack size init * 90ff0169 fix omission of non-stub pthread_mutexattr_getprotocol * 56f0631d riscv64: fix inconsistent ucontext_t struct tag * 50c7935c fix failure to preserve r6 in s390x asm; per ABI it is call-saved * 738c4e94 s390x: derive float_t from compiler or default to float * 821083ac implement reallocarray * 29ff7599 implement realpath directly instead of using procfs readlink * 5d464f52 fix mallocng regression in malloc_usable_size with null argument * d046ec92 configure: do not use obsolescent form of test -a|o * c5d118eb fix segfault in lutimes when tv argument is NULL * 67f77462 netinet/in.h: add IP_RECVERR_4884 from linux v5.9 * d078f836 sys/fanotify.h: add new FAN_* macros from linux v5.9 * 3ba370fe bits/syscall.h: add __NR_close_range from linux v5.9 * badc5bb2 add missing personality values * 6e989248 arm fabs and sqrt: support single-precision-only fpu variants * c8c3e341 fix typo in INSTALL * e2fa720b work around linux bug in readlink syscall with zero buffer size * c17cda6d parse v3 or future-unknown zoneinfo file versions as v2+ * 585a0a78 explicitly prefer 64-bit/v2 zoneinfo tables * debbddf7 fix regression in pthread_exit * 3ab2a4e0 rewrite wcsnrtombs to fix buffer overflow and other bugs * 233bb697 protect destruction of process-shared mutexes against robust list races * d26e0774 pthread_exit: don't __vm_wait under thread list lock * 167390f0 lift child restrictions after multi-threaded fork * 34952fe5 convert malloc use under libc-internal locks to use internal allocator * 8d37958d give libc access to its own malloc even if public malloc is interposed * c1e5d243 drop use of getdelim/stdio in dynamic linker * cbecda0b dlerror: don't gratuitously hold freebuf_queue lock while freeing * 4ffa7068 fix vector types in aarch64 register file structures (From OE-Core rev: b70b875c2f405f6481b1179419cf0f086fa31f53) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ncurses: Make ncurses-tools depend on ncurses-terminfo-baseRobert Yang2020-12-151-1/+1
| | | | | | | | | | | | | Fixed when ncurses-terminfo-base is not installed: $ infocmp infocmp: couldn't open terminfo file linux. The required file is in ncurses-terminfo-base (From OE-Core rev: f3e0a6bf1b7d9009c253e3f97df8736ecf3aa79b) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc: CVE-2020-29562 and CVE-2020-29573Zhixiong Chi2020-12-153-0/+213
| | | | | | | | | | | | Backport the CVE patches from the glibc upstream: git://sourceware.org/git/glibc.git commit 681900d29683722b1cb0a8e565a0585846ec5a61 commit 228edd356f03bf62dcf2b1335f25d43c602ee68d (From OE-Core rev: 01d59c49720548d620448f0e812f07aa3c1cc83a) Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* buildtools-tarball.bb: Fix PATH for environment setup scriptRobert Yang2020-12-151-1/+1
| | | | | | | | | | | | It only added ${SDKPATHNATIVE}/usr/bin to PATH which didn't work when files were installed to other bin dirs such as /bin or /sbin, for example, nativesdk-pigz installs the files to /bin, now fix it to keep align with sdk's PATH. (From OE-Core rev: 67cac575a5696af5bad1aab888b65ea2686adff7) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>