summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
Commit message (Collapse)AuthorAgeFilesLines
* coreutils: Exclude CVE-2016-2781 from cve-checkRichard Purdie2021-05-221-0/+4
| | | | | | | | | | | http://git.savannah.gnu.org/cgit/coreutils.git/commit/?id=v8.27-101-gf5d7c0842 "Given runcon is not really a sandbox command, the advice is to use `runcon ... setsid ...` to avoid this particular issue. (From OE-Core rev: c5d07dcba0762ccc000f8466b710a8ed8b7aa356) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc: Document and whitelist CVE-2019-1010022-25Richard Purdie2021-05-221-0/+13
| | | | | | | | | | | These CVEs are disputed by upstream and there is no plan to fix/address them. No other distros are carrying patches for them. There is a patch for 1010025 however it isn't merged upstream and probably carries more risk of other bugs than not having it. (From OE-Core rev: e764a689844f19230cbf5f9741635f42f677e333) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: Update to hardknott head revisionRichard Purdie2021-05-171-2/+2
| | | | | | (From OE-Core rev: efce6334bf122a64f63d46c1c04e3dbffe298c51) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox: Fix reproducibilityKhem Raj2021-05-112-0/+29
| | | | | | | | | | | | | The ensures that globbing results in same order irrespective of shell in use (From OE-Core rev: b5bb7b5499b7a1ece9ef6592166709fecd5e6935) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit fdeee94fa78f91613850500b209b75a6608241d0) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: fix CVE-2021-28153Chen Qi2021-05-046-0/+503
| | | | | | | | | | Backport patches to fix CVE-2021-28153. (From OE-Core rev: 8a0aae46bc87c00fb4d32f6ce5567cc44cae6d34) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cve-update-db-native: skip on empty cpe23UriKonrad Weihmann2021-04-301-1/+6
| | | | | | | | | | | | | | | | | Recently an entry in the NVD DB appeared that looks like that {'vulnerable': True, 'cpe_name': []}. As besides all the vulnerable flag no data is present we would get a KeyError exception on acccess. Use get method on dictionary and return if no meta data is present Also quit if the length of the array after splitting is less than 6 (From OE-Core rev: 650eaa56b83b5698ad7b95337607959e018ff6c0) Signed-off-by: Konrad Weihmann <kweihmann@outlook.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 00ce2796d97de2bc376b038d0ea7969088791d34) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* packagegroup-core-tools-testapps.bb: Remove kexec for riscv32Mingli Yu2021-04-301-0/+1
| | | | | | | | | | | | kexec is not yet ported to riscv32. (From OE-Core rev: 77f2d0be675f7cbb539ef65507bb946ad9b295c7) Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit f1e7da7737b3d6df27cc5af002fd1eb0c202d0b4) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* packagegroup-core-tools-profile: Remove valgrind for riscv32Mingli Yu2021-04-301-0/+1
| | | | | | | | | | | | valgrind is not yet ported to riscv32. (From OE-Core rev: aeb9a929ef34e61820916227358061e9b0ef9724) Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit df70bc4c60838af1dd7e7f31aba43e8d190def77) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Revert "inittab: Add getty launch on hvc0 for qemuppc64"Kevin Hao2021-04-302-7/+0
| | | | | | | | | | | | | | | This reverts commit ed69ef20167da0986bc9363d1a91e62001995af4. The console entry has already been added into /etc/inittab based on the SERIAL_CONSOLES. So drop this redundant entry. (From OE-Core rev: 5dbe969f4fdcf3005c0a69e97e8753819ab066a4) Signed-off-by: Kevin Hao <kexin.hao@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 633f0c6b74e3caa2bae52ca60c61b811b7b2215d) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sysvinit-inittab/start_getty: Check /sys for the tty device existenceKevin Hao2021-04-301-41/+3
| | | | | | | | | | | | | | | The hvc tty driver doesn't populate a file like /proc/tty/driver/serial, so the current implementation of start_getty doesn't work for the hvc console. By checking the /sys/class/tty/ for the tty device existence, it should support more console types and also make the codes more simple. (From OE-Core rev: ab7a1f14191e882439715e82f1636d7713e1da03) Signed-off-by: Kevin Hao <kexin.hao@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 670ceef0f6584ece5ce4176610255226a6148570) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: upgrade 247.4 -> 247.6Anthony Bagwell2021-04-304-1/+1
| | | | | | | | | (From OE-Core rev: 7580c864a4afdf72b34c94c694e590f087bf5298) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 63fbf39b8aa3d94ca2db719d1a53190045dbb86d) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: Fix build on mips/muslKhem Raj2021-04-302-0/+37
| | | | | | | | | | (From OE-Core rev: 84f452be1f6a4d1de276553815899c79a1f2cf63) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit b4a0d8799af0a3d1b685dd7200b545fdb2c79d64) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox: fix CVE-2021-28831Chen Qi2021-04-302-1/+60
| | | | | | | | | | | | Backport patch to fix CVE-2021-28831. (From OE-Core rev: 4d32f16caa3d1ca280af06b892803373e2ab4b7e) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit e579dbd9a6b2472ca90f411c0b594da9e38c9aca) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: Update to master head revisionyocto-3.3hardknott-3.3hardknott-25.0.0Richard Purdie2021-04-061-1/+1
| | | | | | (From OE-Core rev: 14241ed09f9ed317045cf75a6d08416d3579bb8d) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cve-update-db-native: Allow to overrule the URL in a bbappend.jan2021-03-311-2/+3
| | | | | | | | | | With this small patch, it's possible to overrule the public URL with a local mirror for those without Internet access. (From OE-Core rev: 2d903126e8bbece3a5171c3488c3deae1f0aa3ee) Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* packagegroups: delete useless "PROVIDES" linesRobert P. J. Day2021-03-282-2/+0
| | | | | | | | | | | There is apparently no functional value to "PROVIDES" lines anymore in packagegroup recipe files, so remove the lonely couple of examples left. (From OE-Core rev: 6f2c9602bc5fc6794b852ec20f40ea62a55ada1e) Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux-libuuid: Simplify recipe and rename from util-linux-uuidRichard Purdie2021-03-283-9/+4
| | | | | | | | | | | | | | | Rename the recipe from util-linux-uuid to util-linux-libuuid which means we can drop the custom PACKAGES and FILES defintions which simplifies things. Also move the LICENSE setting to the libuuid recipe so that it is correctly applied to the right packages. This means the standard definitions from bitbake.conf are used, avoiding errors from situations where users have customised settings causing failures. (From OE-Core rev: 65efd76198ad805060fe28714765cd423fa748dc) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* initramfs-framework:rootfs: fix some conditional checkMing Liu2021-03-281-14/+3
| | | | | | | | | | Drop a duplicated check for "PARTLABEL=", also change to use elif to avoid go through all the checks for root parameter. (From OE-Core rev: 29e1e2ad0b6fd0db0e099831ba331b4ffa2b094b) Signed-off-by: Ming Liu <liu.ming50@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: Update to master head revision3.3_M3Richard Purdie2021-03-231-1/+1
| | | | | | (From OE-Core rev: 7ae12e4278e98c5b916a1067ae0b48c2da6e82cd) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libxcrypt: fix sporadic failures in nativesdk-libxcrypt-compatAlexander Kanavin2021-03-202-1/+35
| | | | | | | (From OE-Core rev: ee1dca4ad342455c800b4ff38f375f5c40cfbdf6) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: upgrade 247.3 -> 247.4wangmy@fujitsu.com2021-03-205-16/+23
| | | | | | | | | | | refresh the following patches: systemd/0001-systemd.pc.in-use-ROOTPREFIX-without-suffixed-slash.patch systemd/0006-Include-netinet-if_ether.h.patch (From OE-Core rev: 5db15aec00517e5b6f6585b534a2314c226841bf) Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cve-update-db-native: consider version suffix when update CVE dbLee Chee Yang2021-03-201-1/+6
| | | | | | | | | | | | | | | some record from NVD can merge or split suffix from version, for example: CVE-2017-15906 "cpe23Uri" : "cpe:2.3:a:openbsd:openssh:5.0:p1:*:*:*:*:*:*" "cpe23Uri" : "cpe:2.3:a:openbsd:openssh:4.7p1:*:*:*:*:*:*:*" in such case include the suffix into version when update local CVE db. (From OE-Core rev: 13cc68197f81bb7c76fa1abecc5dd720b8bdb8d5) Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ovmf: make output binaries reproducibleRoss Burton2021-03-202-0/+85
| | | | | | | | | | | | | | | | OVMF is mostly reproducible, but the final .efi binaries have a 'NM10' segment in that references the original input file, and this input file has the build path in. This can be solved by passing --zero to GenFw so that this segment is zero'd out in release builds. [ YOCTO #14264 ] (From OE-Core rev: 8b4e5a3b8c3eabfbb94ab577529240b2e270efa7) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: backport patch to skip build of unused objectsLuca Boccassi2021-03-202-0/+50
| | | | | | | | | | | | | util-linux-uuid does not need libtcolors.a and libcommon.a but they get build regardless. Backport a patch from upstream to skip them and save some compilation time. https://github.com/karelzak/util-linux/commit/c65953d72bbc7412f32e566d9fa6e780d84f0696 (From OE-Core rev: 9353c4338acd51e1bc4172554fca018c4044829f) Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: Update to master head revisionRichard Purdie2021-03-151-1/+1
| | | | | | (From OE-Core rev: fa1e1fbc082e82e41ccfeae58af97fe048c9aac7) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: Update to master head revisionRichard Purdie2021-03-151-1/+1
| | | | | | (From OE-Core rev: aeacc675fcf0cf02ad0bc8e247285638fd72023d) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: Drop volatile qualifierKhem Raj2021-03-1430-1/+3436
| | | | | | | | | | Fixes glib/gatomic.h:112:5: error: argument 2 of '__atomic_load' discards 'volatile' qualifier [-Werror=incompatible-pointer-types] (From OE-Core rev: 06ac55a06f2300fa5442ec73a28c3f52022cc640) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ovmf: upgrade 202011 -> 202102Wang Mingyu2021-03-142-31/+2
| | | | | | | | | | 0003-ovmf-enable-long-path-file.patch removed since it is not available in 202102. (From OE-Core rev: c364d64adcb8c7fdfe196186efa868381f8630e7) Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libucontext: Recognize ppc64le architectureKhem Raj2021-03-141-1/+1
| | | | | | | (From OE-Core rev: 03dec80604ae363c31a5f2b68eb3efdba7c35f1a) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc: fix pthread_cond_destroy hangs with process-shared mutexYanfei Xu2021-03-142-0/+50
| | | | | | | | | | This bug can cause pthread_cond_destroy hang with process-shared mutex. And it is since glibc-2.32, will be fixed in glibc-2.34. (From OE-Core rev: 7d9c50a12d1b47474536c214f44dc4ff72c54402) Signed-off-by: Yanfei Xu <yanfei.xu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc: Fix CVE-2021-27645Khairul Rohaizzat Jamaluddin2021-03-142-0/+52
| | | | | | | | | | CVE: CVE-2021-27645 (From OE-Core rev: 0d6b266c469a35628a3602590611d05ebbf4d562) Signed-off-by: Khairul Rohaizzat Jamaluddin <khairul.rohaizzat.jamaluddin@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* uninative-tarball: Add a dependency on nativesdk-glibc-dbgPeter Kjellerstedt2021-03-141-0/+1
| | | | | | | | | | | This adds the debug symbols for the binaries included in the uninative tar ball. These are needed if one wants to run valgrind on a native binary when uninative is used. Or get complete backtraces using gdb. (From OE-Core rev: 13775feac21f0df50d4b3db19f6c79f10cf397f5) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox-inittab: rename for PV to match with busybox's PVMartin Jansa2021-03-121-0/+0
| | | | | | (From OE-Core rev: 0c22fbc91655873f29cbedad6d55a7981482d257) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox: refresh the defconfig from 1.33.0Martin Jansa2021-03-121-57/+76
| | | | | | | (From OE-Core rev: 4335cd240c30db677fdd1849eefe9ed3277681a8) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: split uuid in separate recipe to allow bootstrappingLuca Boccassi2021-03-123-42/+76
| | | | | | | | | | | | | | Recently util-linux gained an (optional) build dependency on libcryptsetup. But libcryptsetup build-depends on util-linux for blkid (optional, can be disabled) and uuid (mandatory). Split out util-linux-uuid in a different recipe to break the cycle. https://github.com/karelzak/util-linux/pull/898 (From OE-Core rev: 5f204796e73f37ee67d0a86512ce3ab6f19f9ed0) Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* inittab: Add getty launch on hvc0 for qemuppc64Khem Raj2021-03-112-0/+7
| | | | | | | (From OE-Core rev: be3a6b97913cd9e17cd434a2abec1aa3445a3c05) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc: Backport patch to fix _SC_LEVEL1_ICACHE_LINESIZEAndrei Gherzan2021-03-102-0/+186
| | | | | | | (From OE-Core rev: 89b38e4e7be9e136c71d5860ddca5369f9628393) Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: Drop kernel module handlingRichard Purdie2021-03-091-7/+1
| | | | | | | | | | | | | | | | kernel-devsrc is a dependency of the image so we no longer need the symlink creation code or the module-base inherit/dependency as it is included in that recipe. The KERNEL_VERSION usage was broken anyway as the module usage would have needed a: do_image[depends] += "build-appliance-image:do_configure" which wasn't present so it was indeterminate if KERNEL_VERSION was set correctly. (From OE-Core rev: a46b43bb67b2f87ec370480e50a2e2d111555b75) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd-conf: do not ask for DHCP if configured on kernel command lineStefan Schmidt2021-03-062-3/+1
| | | | | | | | | | | | | In cases where we configure the IP address and more on the kernel command line with ip= we should not ask for DHCP with systemd-networkd later on. We have such a setup with our runqemu script. With this match in place we can also deploy this unit on qemu systems. (From OE-Core rev: 8c4981e740c0e630200dbc77c9e3dfd3e43b790b) Signed-off-by: Stefan Schmidt <stefan.schmidt@huawei.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: show an error about --cross-file only when such file existsMartin Jansa2021-03-061-1/+2
| | | | | | | (From OE-Core rev: 6bd44129a76bdae1320f76035b23568a9c2b4e57) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: call os.path.normpath on THISDIRMartin Jansa2021-03-061-1/+1
| | | | | | | | | | | | | | | | | * some build environments have relative paths in THISDIR, e.g. from OEROOT set in: https://github.com/96boards/oe-rpb-manifest/blob/1e3345c26c56f77f3a15a3978f412a25955d2606/conf/bblayers.conf#L4 and then the paths in filename normalized in: filename = os.path.normpath(os.path.join(path, meson.cross.d, element)) don't match. * COREBASE used here before didn't have this issue because the value is already normalized when set in: meta/conf/layer.conf:COREBASE = '${@os.path.normpath("${LAYERDIR}/../")}' (From OE-Core rev: 7977ff07d181d269bd52f98852d1076b268db614) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd-container: recommends StartExecPre modulesVivien Didelot2021-03-061-0/+3
| | | | | | | | | | | | | | | | The systemd-nspawn@.service file uses the following line to try loading the tun, loop and dm-mod kernel modules, in a non fatal way: ExecStartPre=-/sbin/modprobe -abq tun loop dm-mod A non-zero return code from modprobe will not stop the service from starting, but it would be convenient to inform the user about this optional support, so add these modules to RRECOMMENDS. (From OE-Core rev: 9644285dc8a7e7c52b5f7554ef06d9ff53167832) Signed-off-by: Vivien Didelot <vdidelot@pbsc.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd-container: recommend tarVivien Didelot2021-03-061-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | If systemd is configured with importd, "machinectl import-*" can be used to add container trees under /var/lib/machines. But "machinectl import-tar" makes use of "tar --numeric-owner" which is not supported by the busybox binary, as shown below: # machinectl import-tar /tmp/container.tar.xz Enqueued transfer job 1. Press C-c to continue download in background. Importing '/tmp/container.tar.xz', saving as 'container'. Imported 0%. tar: unrecognized option '--numeric-owner' BusyBox v1.31.1 () multi-call binary. Usage: tar c|x|t [-ZzJjahmvokO] [-f TARFILE] [-C DIR] [-T FILE] [-X FILE] [FILE]... Failed to decode and write: Broken pipe Exiting. To fix this, recommend the standard tar package. Cc: Chen Qi <Qi.Chen@windriver.com> (From OE-Core rev: 801658f0161270c76829a123a4f531ca5a1f73db) Signed-off-by: Vivien Didelot <vdidelot@pbsc.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd-container: sort RRECOMMENDS alphabeticallyVivien Didelot2021-03-061-2/+2
| | | | | | | | | | Sort packages in RRECOMMENDS_${PN}-container alphabetically to avoid subjective sorting and ease future additions. (From OE-Core rev: 636c048b9d49b0f0bf083add688b4de80f3e37cd) Signed-off-by: Vivien Didelot <vdidelot@pbsc.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sysvinit: upgrade 2.98 -> 2.99zhengruoqin2021-03-021-1/+1
| | | | | | | (From OE-Core rev: d096fa4c412e6e562846282a9160dd5c38731aed) Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libxcrypt-compat: upgrade 4.4.17 -> 4.4.18zhengruoqin2021-03-021-0/+0
| | | | | | | | | When the libxcrypt version is updated, libxcrypt-compat is omitted. (From OE-Core rev: a353882899da414b109acbb3b7882239265fe248) Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* coreutils: use u-a for base32Martin Jansa2021-03-021-1/+1
| | | | | | | | | | | | | | | | | * busybox 1.33.0 added base32 applet and now do_rootfs for read-only images is failing with: do_rootfs: busybox.postinst returned 1, marking as unpacked only, configuration required on target. ERROR: image-devel-1.0-r2 do_rootfs: Postinstall scriptlets of ['busybox'] have failed. If the intention is to defer them to first boot, then please place them into pkg_postinst_ontarget_${PN} (). Deferring to first boot via 'exit 1' is no longer supported. Details of the failure are in image-devel/1.0-r2/temp/log.do_rootfs. and log.do_rootfs shows: update-alternatives: Error: not linking image-devel/1.0-r2/rootfs/usr/bin/base32 to /usr/bin/busybox.nosuid since image-devel/1.0-r2/rootfs/usr/bin/base32 exists and is not a link (From OE-Core rev: d2365442568c206a13165f8c71a7b7a5d0c6ff4e) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc: Disable CPU ISA level requirement checkHe Zhe2021-03-021-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | We experience the following error and fail to boot on qemu64 machine /lib64/libc.so.6: CPU ISA level is lower than required Kernel panic - not syncing: Attempted to kill init! exitcode=0x00007f00 As stated in [1], Passing -march= causes glibc to add annotations not compatible to run result on -march= as too high ISA level is inferred. ISA level is a new feature of 2.33 release. Until it's fixed let's disable ISA level inference with libc_cv_include_x86_isa_level=no (no better configure option yet). [1] https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5dbd6a821ff753e3b41324c4fb7c58cf65eeea33 (From OE-Core rev: 91264e14a088013b138e82520744f79fa7c8d585) Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eudev: upgrade 3.2.9 -> 3.2.10Wang Mingyu2021-03-011-2/+2
| | | | | | | (From OE-Core rev: 9c36b944502c146e4160fb9363ec8dfeac608cc2) Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc: Fix rawmemchrKhem Raj2021-02-272-0/+59
| | | | | | | | | | This is to help gcc bug upstream https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98512 (From OE-Core rev: ae9cad4e0554c8fe91d64030ad5c7e6d67b713d6) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>