summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
Commit message (Collapse)AuthorAgeFilesLines
* meta/recipes-core: Add HOMEPAGE / DESCRIPTIONDorinda2021-02-268-0/+8
| | | | | | | | | | | Added HOMEPAGE and DESCRIPTION for recipes with missing decriptions or homepage [YOCTO #13471] (From OE-Core rev: be8d3d0fa6bbc2924ffbdbaa66e9ffaef2b96de6) Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox: update 1.33.0Oleksandr Kravchuk2021-02-262-86/+1
| | | | | | | | | Removed upstreamed patch. (From OE-Core rev: 79708b961b310a77b4b2e71fedf6dad4acd47507) Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libxcrypt: upgrade 4.4.17 -> 4.4.18Wang Mingyu2021-02-262-2/+2
| | | | | | | | | file LICENSING updated: directory of files changed from m4 to build-aux (From OE-Core rev: 6d9f47e5303d8d223419d85554e14491e9fb3421) Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* musl: Install /lib directoryKhem Raj2021-02-231-1/+1
| | | | | | | | | | | loader is installed into /lib and ${base_libdir} may not be always pointing to /lib, while here we want to create the directory where ldso will reside (From OE-Core rev: 76795b5a4452b531c342df2c8a3bbb264cc8a8d2) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: Fix importd requirements commentVivien Didelot2021-02-231-1/+1
| | | | | | | | | | | | | | | | | | | | | The comment above the importd config states curl, which does not exist in PACKAGECONFIG. Adding it results in the following error (and then misleading compilation failures): WARNING: systemd-1_244.5-r0 do_configure: QA Issue: systemd: invalid PACKAGECONFIG: curl [invalid-packageconfig] Support for curl is currently enabled through journal-upload: PACKAGECONFIG[journal-upload] = "-Dlibcurl=true,-Dlibcurl=false,curl" While it might be more appropriate to deprecate "journal-upload" in favor of a "curl" PACKAGECONFIG entry, simply fix the importd comment for now by stating upload-journal instead of curl. (From OE-Core rev: e6a0bced605da58ff43ff06ea6a1d67e84c98d91) Signed-off-by: Vivien Didelot <vdidelot@pbsc.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ell: update to 0.38Oleksandr Kravchuk2021-02-231-1/+1
| | | | | | | | | | | Changelog: - Fix issue with DHCP v6 Rapid Commit option check. - Fix issue with handling RFC8018/RFC1423 padding. (From OE-Core rev: f9c01ad1fc86706c76b0ef708d049267342bb5ec) Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: upgrade 2.36.1 -> 2.36.2Wang Mingyu2021-02-213-85/+1
| | | | | | | | | | | 0001-build-sys-do-not-build-plymouth-ctrl.c-w-disabled-pl.patch 0001-hwclock-do-not-assume-__NR_settimeofday_time32.patch removed since they are included in 2.36.2 (From OE-Core rev: 4db0babf6a69a90df14363103f5f6b643f208b12) Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc: Unify wordsize.h with arm multilibszhengruoqin2021-02-211-1/+1
| | | | | | | | | | | | wordsize.h should be the same under arm and aarch64, othersise the following error happens: "file /usr/include/bits/wordsize.h conflicts between attempted installs of lib32-libc6-dev-2.33-r0.armv7ahf_neon and libc6-dev-2.33-r0.aarch64" (From OE-Core rev: cf487df7d58ea89fcef5c4bc30c2ca1ceded9508) Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc-package.inc: Fix arm multlib header issue with struct_stat.hzhengruoqin2021-02-211-0/+1
| | | | | | | | | | | Fix build error under multilib as following: "file /usr/include/bits/struct_stat.h conflicts between attempted installs of lib32-libc6-dev-2.33-r0.armv7ahf_neon and libc6-dev-2.33-r0.aarch64" (From OE-Core rev: 163ec51715e939fe9ff3f87c2af46a77e1a8edea) Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes: Update common-licenses references to match new namesRichard Purdie2021-02-214-5/+5
| | | | | | | | | The licenses were renamed to match their SPDX names, fix the references in LIC_FILES_CHKSUM in OE-Core. (From OE-Core rev: 9af48917cfe583d2db9e1e088c7e396fcf638949) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: add hostname fallback when polkit is not availableLuca Boccassi2021-02-193-1/+35
| | | | | | | | | | | | | | | | | When polkit is not available, networkd will not have permissions to call hostnamed's dbus methods, as it runs without privileges. To solve this, when building without polkit, make a new PACKAGECONFIG 'polkit_hostnamed_fallback' available which changes hostnamed so that it runs as the 'systemd-network' user, the same as networkd, so that the authorization works (and also with CAP_SYS_ADMIN since it loses root). Also run it with a separate 'systemd-hostname' group which also owns the bus, to avoid giving the 'systemd-network' additional privileges. (From OE-Core rev: 07a8f1629662d4d66d056d95be3cb9e749242274) Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: upgrade 2.66.4 -> 2.66.7Anuj Mittal2021-02-181-1/+1
| | | | | | | (From OE-Core rev: 846d9c710a78af7602fbfe7f1f24d2f791087202) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: Drop unneeded musl patchesRichard Purdie2021-02-173-66/+0
| | | | | | | | | These two header fixes are not needed with the current source as the headers are there through other header files. Drop the patches. (From OE-Core rev: ece3efe43b6b9de5426c23f29db15dd709bcd749) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* buildtools-extended-tarball: Add glibc-gconvs needed for buildRichard Purdie2021-02-161-0/+10
| | | | | | | | | | | | When building vim it tries to rebuild files using iconv. If this fails the build continues anyway but the output is not determnistic as builds using a hosttools tarball are different from builds where there isn't a hosttools tarball. Add the needed gconvs to the tarball when iconv is present to become determistic and generate vim locales consistently. (From OE-Core rev: b945652a088f430a2adec6b968cd00c5928d4272) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* musl: Update to latest masterKhem Raj2021-02-161-1/+1
| | | | | | | | | | | | | | | | | | | Brings in following changes * e5d28236 riscv64: define ELF_NFPREG * 964104f9 math: fix expm1f overflow threshold * c4c38e63 math: fix acoshf for negative inputs * 074932c8 fix possible fd leak via missing O_CLOEXEC in pthread_setname_np * 9b77aaca oldmalloc: preserve errno across free * 98b9df99 fix build regression in oldmalloc * 2010df0d preserve errno across free * 9afed99c fix inconsistent signature of __libc_start_main * dd5b6384 fail posix_spawn file_actions operations with negative fds (From OE-Core rev: 9e71e44db51c73cae2d493bee2f43c37025befbb) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: Simplify mount error patchRichard Purdie2021-02-161-36/+7
| | | | | | | | | As mentioned during review, this patch can be less invasive and hence easier to maintain. Improve as such. (From OE-Core rev: 3a1bd768e62a493aa73e82f5c443ca28b108af51) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* nativesdk-buildtools-perl-dummy: Add new autoconf dependenciesRichard Purdie2021-02-131-0/+3
| | | | | | | | | When used in SDKs we need to provide the perl modules used by autoconf. Add new ones needed by recent changes. (From OE-Core rev: b548c2f4d1d88f80d713551a408064d4f5ff3d7f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc: add workaround for faccessat2 being blocked by seccomp filtersuninative-3.0Ross Burton2021-02-122-0/+32
| | | | | | | | | | | | Older seccomp-based filters used in container frameworks will block faccessat2 calls as it's a relatively new syscall. This isn't a big problem with glibc <2.33 but 2.33 will call faccessat2 itself, get EPERM, and thenn be confused about what to do as EPERM isn't an expected error code. (From OE-Core rev: 4d6ad6d611834c2648d6bf9791cb8140967e2529) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* initrdscripts: init-install-efi.sh install extra files for ESPChee Yang Lee2021-02-091-0/+5
| | | | | | | | | | | | | | Currently the install script copy only few hard coded item while setting up target ESP, kernel artifacts, all .efi in EFI/BOOT, grub & boot cfg and loader.conf. While ESP can be much complex, eg: contain multiple initrd. Add a ESP folder to carry any other files to setup onto ESP. (From OE-Core rev: 6eaca9cf20c42501fba27dea3a6446bad948e859) Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: Fix build on muslKhem Raj2021-02-081-103/+10
| | | | | | | | | include "missing_stdlib.h" is needed for strndupa() (From OE-Core rev: 87c9ed35fce8c9358d8a5dda20ece0a46cbff325) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ell: update to 0.37Oleksandr Kravchuk2021-02-081-1/+1
| | | | | | | | | | | Changelog: - Fix issue with D-Bus filter messages with no interfaces set. - Add support for PKCS#12 certification loading. (From OE-Core rev: a522b528170291264a1dd5293840bec7cdfa7311) Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: change /bin/nologin to /sbin/nologinChen Qi2021-02-061-8/+8
| | | | | | | | | Our nologin path is /sbin/nologin instead of /bin/nologin. (From OE-Core rev: cd7f55e960e759d946d8b619b0a306e610f66356) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc: Require full ISA support for x86-64 level markeruninative-2.11Khem Raj2021-02-052-0/+117
| | | | | | | (From OE-Core rev: 7f40096fabd4d8a1b67e96aabca6a15637501222) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc: Enable cetKhem Raj2021-02-051-0/+3
| | | | | | | | | | | | | Enable Intel Control-flow Enforcement Technology (CET) instrumentation support helps with overcoming /lib/libc.so.6: CPU ISA level is lower than required (From OE-Core rev: c864e0e496ab1a4176d7a1673d8fc5b300ae68cf) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc: Upgrade to 2.33Khem Raj2021-02-0540-569/+175
| | | | | | | | | | | Drop backported patches (From OE-Core rev: aa87638cf4f2bef66df92f961c7814f6b482fd3d) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: add workaround to fix codegen.py.test failingYi Fan Yu2021-02-052-0/+39
| | | | | | | | | | | | | | | | | Adding a patch to remove an unecessary print statement in test-codegen.py that cause the ptest-runner to fail. Root cause is suspected to be in ptest-runner. [YOCTO #14170] Uptream-Status: Inappropriate [other] this is a workaround. (From OE-Core rev: afc9ba7d546f3f2e60fb6f46f740dc925542df16) Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc: update to latest release/2.32/master branchuninative-2.10Steve Sakoman2021-02-054-232/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove patches for CVE-2019-25013 and CVE-2020-27618 since they are present in the branch now. Add both CVEs to CVE_CHECK_WHITELIST. 760e1d28782 gconv: Fix assertion failure in ISO-2022-JP-3 module (bug 27256) d3cb8f6222a aarch64: fix static PIE start code for BTI [BZ #27068] 082798622d8 __vfscanf_internal: fix aliasing violation (bug 26690) 33dc30bc838 aarch64: Use mmap to add PROT_BTI instead of mprotect [BZ #26831] 46e1e64fe3e elf: Pass the fd to note processing b6eae83717d elf: Move note processing after l_phdr is updated c6090dcebd1 aarch64: align address for BTI protection [BZ #26988] 610e2c51504 aarch64: Fix missing BTI protection from dependencies [BZ #26926] 4c619b3eed5 x86: Check IFUNC definition in unrelocated executable [BZ #20019] 87450ecf8a8 x86: Set header.feature_1 in TCB for always-on CET [BZ #27177] 2b4f67c2b33 Update for [BZ #27130] fix 1a24bbd43e4 x86-64: Avoid rep movsb with short distance [BZ #27130] 0d9793e82a1 Fix buffer overrun in EUC-KR conversion module (bz #24973) 1d49bede4d8 tests-mcheck: New variable to run tests with MALLOC_CHECK_=3 050022910be iconv: Accept redundant shift sequences in IBM1364 [BZ #26224] ac0a6929c5d sh: Add sh4 fpu Implies folder 3ea24955bff struct _Unwind_Exception alignment should not depend on compiler flags 5c36293f067 resolv: Serialize processing in resolv/tst-resolv-txnid-collision 2dfa659a66f resolv: Handle transaction ID collisions in parallel queries (bug 26600) 05c025abca1 support: Provide a way to clear the RA bit in DNS server responses f688bcd83de support: Provide a way to reorder responses within the DNS test server eba0ce60588 Remove __warndecl 5337b2af4b8 Remove __warn_memset_zero_len [BZ #25399] c6e794640c3 aarch64: Add unwind information to _start (bug 26853) 70ee5e8b573 aarch64: Fix DT_AARCH64_VARIANT_PCS handling [BZ #26798] 8813b2682e4 x86: Optimizing memcpy for AMD Zen architecture. e61a8fd8fad Reversing calculation of __x86_shared_non_temporal_threshold 0b9460d22e2 sysvipc: Fix IPC_INFO and SHM_INFO handling [BZ #26636] c4aeedea598 sysvipc: Fix IPC_INFO and MSG_INFO handling [BZ #26639] 9b139b6b81a sysvipc: Fix SEM_STAT_ANY kernel argument pass [BZ #26637] 81c5484d93a AArch64: Use __memcpy_simd on Neoverse N2/V1 0f8f0ed25c1 AArch64: Improve backwards memmove performance 23482f78866 Set version.h RELEASE to "stable" (Bug 26700) 69beb5cbf85 string: Fix strerrorname_np return value [BZ #26555] fe62c4d173f intl: Handle translation output codesets with suffixes [BZ #26383] 386543bc449 NEWS: Update for [BZ #26534] fix cebc01cbfd6 x86-64: Fix FMA4 detection in ifunc [BZ #26534] (From OE-Core rev: 8d05c277c5350c4d968eb488788eac7978968ef7) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: update to v247.3Luca Boccassi2021-02-054-1/+1
| | | | | | | (From OE-Core rev: e39d388f510f56c3dfe6871070ce1d24f296f405) Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc: Drop adding .file directive in asm filesKhem Raj2021-02-032-245/+0
| | | | | | | | | | | it was a workaround for binutils issue which is fixed in 2.36 with https://sourceware.org/bugzilla/show_bug.cgi?id=26822 (From OE-Core rev: 5dfba8c373de858badd8944f7ad9932549238045) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* musl: Drop adding .file directive in asm filesKhem Raj2021-02-032-246/+0
| | | | | | | | | | | it was a workaround for binutils issue which is fixed in 2.36 with https://sourceware.org/bugzilla/show_bug.cgi?id=26822 (From OE-Core rev: 628668acdd897d79154ebc304edef8a95ff54ac5) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc: fix CVE-2020-27618Yi Fan Yu2021-01-302-0/+92
| | | | | | | | | | | | iconv: Accept redundant shift sequences in IBM1364 Reference: https://bugzilla.redhat.com/show_bug.cgi?id=1893708 (From OE-Core rev: 78a381ec75e48283397a7fe9eaad2afbb070c235) Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: Clean up various class-native* RDEPENDS overridesRichard Purdie2021-01-291-2/+0
| | | | | | | | | | | | | | | | | | | | | | With PACKAGES functioning more correctly for native recipes combined with classextend improvements over the years, there are various overrides of RDEPENDS which look unecessary now, clean them up. There some some minor changes in dependencies, specifically: "python3-numpy-native.do_populate_sysroot" -> "python3-native.do_populate_sysroot" "python3-mako-native.do_populate_sysroot" -> "python3-native.do_populate_sysroot" "itstool-native.do_populate_sysroot" -> "libxml2-native.do_populate_sysroot" however there are already: XXX-native.do_prepare_recipe_ssysroot -> YYY-native.do_populate_sysroot mappings from DEPENDS so this is effectively a null op. (From OE-Core rev: 2edd826531d79744d7b2114c5f24296966d51781) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* nativesdk-buildtools-perl-dummy: Add missing entries for nativesdk-automakeRichard Purdie2021-01-291-0/+3
| | | | | | | | | This allows the hardcoded nativesdk dependency hacking in the automake recipe to be dropped and matches what autoconf is doing. (From OE-Core rev: c723866a6834b8fa89b036a627f619a0c391a662) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ncurses: Don't put terminfo into the sysrootRichard Purdie2021-01-281-0/+5
| | | | | | | | | | | This recudes the file count from ~2850 to ~100 which is a huge win for reducing build directory clutter, its unlikely anything uses the terminfo data or man pages in the sysroot. This is especially helpful as we usually end up with two copies of these sets of files. (From OE-Core rev: 443633dfc20177ef88a388d96745675817510c99) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* core-image-tiny-initramfs: Add compatiblity for aarch64Jonathan Richardson2021-01-271-1/+1
| | | | | | | | | Update the host compatibility to include aarch64. (From OE-Core rev: 6ff15e05755bec9207099b326a3a78aa3bf2b3b1) Signed-off-by: Jonathan Richardson <jonathan.richardson@broadcom.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* musl: Update to 1.2.2 releaseKhem Raj2021-01-271-2/+2
| | | | | | | | | | | | | | | | Detailed logs are here [1] * 85e0e351 release 1.2.2 * 3953aecb fix VIDIOC_DQEVENT (v4l2) ioctl fallback for pre-5.6 kernels * 30f55067 fix v4l2 buffer ioctl fallbacks for pre-5.6 kernels * db981ffb sh: fix incorrect mcontext_t member naming [1] https://git.musl-libc.org/cgit/musl/log/?qt=range&q=1e4204d522670a1d8b8ab85f1cfefa960547e8af..85e0e3519655220688e757b9d5bfd314923548bd (From OE-Core rev: 73c2661a328b109a9fa69fbb4150c15622a5b506) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: Fix native inheritance order in recipesTomasz Dziendzielski2021-01-271-1/+1
| | | | | | | | | | | | Classes native/nativesdk should be inherited last to prevent unexpected behaviour. See [YOCTO #5729] for details. (From OE-Core rev: 217a8974765693192cbead51ebd9845a383ef7cc) Signed-off-by: Tomasz Dziendzielski <tomasz.dziendzielski@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ovmf-shell-image: image is only buildable on x86-64Ross Burton2021-01-231-0/+1
| | | | | | | | | | This image is only buildable for x86-64, so add a COMPATIBLE assignment to ensure it isn't attempted on others. (From OE-Core rev: bdd8208675c8a0c0232c678804a8b62cd74f1d48) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* 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>