summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2022-01-14swap HOST/TARGET_SYS wipakanavin/gcc-arm-none-eabi-wipAlexander Kanavin
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
2022-01-14newlib-arm-none-eabi wipAlexander Kanavin
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
2022-01-14gcc-arm-none-eabi: provide a proof of concept for cross compiling a cross ↵Alexander Kanavin
compiler How to use: - set up a regular yocto build - add to local.conf: IMAGE_INSTALL:append = " gcc-arm-none-eabi binutils-arm-none-eabi libgcc-arm-none-eabi-dev" This will add a cross-compiler, cross-linker and cross-libgcc to the target image - boot an image, and those tools should be able to run and find their supplementary files. However a cross-libc needs to be provided separately; without it no useful program can be compiled: root@qemux86-64:~# cat > test.c void main () { } root@qemux86-64:~# arm-none-eabi-gcc test.c /usr/lib/gcc/arm-none-eabi/11.2.0/../../../../arm-none-eabi/bin/ld: cannot find crt0.o: No such file or directory /usr/lib/gcc/arm-none-eabi/11.2.0/../../../../arm-none-eabi/bin/ld: cannot find -lc collect2: error: ld returned 1 exit status Signed-off-by: Alexander Kanavin <alex@linutronix.de>
2022-01-12connman-conf: do nothing in qemu, do not touch eth0Alexander Kanavin
qemu kernel itself is nowdays perfectly capable of setting up what was passed in via ip=: [ 1.676847] IP-Config: Complete: [ 1.677768] device=eth0, hwaddr=52:54:00:12:34:02, ipaddr=192.168.7.2, mask=255.255.255.0, gw=192.168.7.1 [ 1.679933] host=192.168.7.2, domain=, nis-domain=(none) [ 1.681201] bootserver=255.255.255.255, rootserver=255.255.255.255, rootpath= [ 1.681203] nameserver0=8.8.8.8 connman-conf only does the same thing again by (badly and incompletely) parsing those parameters with sed. (From OE-Core rev: 3c25b89720417a7b1963f0a32c870208a5803950) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-12ofono: update to 1.34Oleksandr Kravchuk
Changelog: - Fix issue with handling device info of Quectel modems. - Fix issue with handling callback for RIL dial manager. (From OE-Core rev: a995c2e2d3bc119fca7c6e3b26e430dea391b914) Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-12gcc-cross-canadian: Fix cross canadian compiler for baremetal targetsAlejandro Hernandez Samaniego
While building GCC it checks whether the include directory exists, if it doesnt it throws an error and exits: | The directory that should contain system headers does not exist: | tmp/work/x86_64-nativesdk-pokysdk-linux/gcc-cross-canadian-riscv32/ 11.2.0-r0/recipe-sysroot/usr/include/ | make[1]: *** [Makefile:3257: stmp-fixinc] Error 1 Even though for the baremetal toolchain not having this directory does make sense. We overcame this by removing the --with-sysroot=/not/exist argument for baremetal toolchains (via TARGET_OS override), however, the newlib toolchain does have headers and an includedir, hence by fixing the baremetal toolchain we broke the newlib one since it uses the same TARGET_OS as baremetal, causing for example (on newlib): /sdk/sysroots/x86_64-pokysdk-linux/usr/lib/riscv32-poky-elf/gcc/ riscv32-poky-elf/11.2.0/include/stdint.h:9:16: fatal error: stdint.h: No such file or directory | # include_next <stdint.h> ^~~~~~~~~~ compilation terminated. By creating a dummy includedir, and removing the previous fix we allow GCC to be built the same way, unifying the cross compiler for all targets. After this fix both TCLIBC=baremetal and TCLIBC=newlib SDKs work properly. (From OE-Core rev: 08ff7c87efdf373f1874fcccd9a2a73fc0efef30) Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-11oeqa/sstate: Fix allarch samesigs testRichard Purdie
The allarch sstate sigs test is supposed to compare the allarch sigs but does not. Fix this. Also rename the common function to make it clear it isn't just used by the allarch test. (From OE-Core rev: 549597d422c7bcb467f34139ff25d2bee96bf851) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-11sstatetests: Add OLDEST_KERNEL to allarch testsRichard Purdie
Some architectures vary OLDEST_KERNEL and this shouldn't change the allarch signatures but in current OE-Core can/does. Add differing values to the test configs to ensure we catch this in future (we want to keep a 32 and 64 bit machine here to test that as well). (From OE-Core rev: 151ce55ec8ebc91b83bf0d09b9196f11646df1f1) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-11xserver-xorg: 21.1.2 -> 21.1.3Kai Kang
Upgrade xserver-xorg from 21.1.2 to 21.1.3. And adjust indent as well. (From OE-Core rev: c32dfebbab45122dc005c1ae9c49dc15a4f350b2) Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-11maintainers.inc: Add myself as maintainer for curlRobert Joslyn
I'll give it a go to try and help out. (From OE-Core rev: af33fe0f82e5b10757e3fdfa52c028fb9bd7e1d6) Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-11curl: Rework openssl and random PACKAGECONFIGsRobert Joslyn
The existing ssl PACKAGECONFIG makes it slightly annoying to use another crypto provider while removing openssl. Since --with-ssl is just a deprecated version of --with-openssl, rename the PACKAGECONFIG to use the newer preferred name. Note that --without-ssl implies no crypto provider at all, and should only be used when trying to disable all crypto support. Move --with-random to it's own option, since it is useful for other crypto providers, not just openssl. (From OE-Core rev: eef6c45fc6ec0a496791123e8ba2f400a5d9d468) Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-11curl: Update to 7.81.0Robert Joslyn
Update URLs to refelct what upstream is presently using and add zstd PACKAGECONFIG. (From OE-Core rev: cc029e5e1331b3a8f4181bbfdbe72c547916f458) Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-11classes/create-spdx: handle if IMAGE_LINK_NAME is emptyPaul Eggleton
If IMAGE_LINK_NAME is set to "" (supported in other classes) then skip creating symlinks for the spdx manifest files. (From OE-Core rev: c2d5e2dbbba78d8d7036f6418360b2e84bcdc169) Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-11tclibc-baremetal: Supply missing /bin/sh target in the baremetal sdkAlejandro Hernandez Samaniego
SDK recipes now require a provider for /bin/sh, this should come from nativesdk-sdk-provides-dummy which is added by default to Linux SDKs, however tclibc-baremetal requires us to explicitly add its new dependency to TOOLCHAIN_HOST_TASK, otherwise we get a packaging error while generating an SDK. e.g. package packagegroup-cross-canadian-qemuriscv32-1.0-r0.x86_64_nativesdk requires gdb-cross-canadian-riscv32, but none of the providers can be installed - conflicting requests - nothing provides /bin/sh needed by gdb-cross-canadian-riscv32-11.1-r0.x86_64_nativesdk (From OE-Core rev: 8acb88cfe56735530280bab53a871c236f2fd54f) Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-11tclibc-newlib: Supply missing /bin/sh target in newlib sdkAlejandro Hernandez Samaniego
SDK recipe now require a provider for /bin/sh, this should come from nativesdk-sdk-provides-dummy which is added by default to Linux SDKs, however tclibc-newlib requires us to explicitly add its new dependency to TOOLCHAIN_HOST_TASK, otherwise we get a packaging error while generating an SDK. e.g. package packagegroup-cross-canadian-qemuriscv32-1.0-r0.x86_64_nativesdk requires gdb-cross-canadian-riscv32, but none of the providers can be installed - conflicting requests - nothing provides /bin/sh needed by gdb-cross-canadian-riscv32-11.1-r0.x86_64_nativesdk (From OE-Core rev: 9efcde387b31335d16394ce6b30e4abb1525185f) Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-11rootfs-postcommands.bbclass: Make two comments use the new variable syntaxPeter Kjellerstedt
(From OE-Core rev: cb17cccaf2f51558bd1d320559bd792d5869688e) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-11diffoscope: upgrade 196 -> 199wangmy
Changelog: ========= * Support both variants of "odt2txt", including the one provided by unoconv. (Closes: reproducible-builds/diffoscope#298) * Add external tool reference on Arch Linux for xb-tool. (From OE-Core rev: 763c44e30c20ebcd4199d41fa76dae3d3b4ec5c3) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-11gcc: Fix typo in linux64.h install patchAndrei Gherzan
The "gcc: Fix compile of gcc plugins" patch had a typo making it a noop. This was due to a rework to make it specific to the linux64.h header. (From OE-Core rev: 5f0f00f0988c02d7fe0fa62edf3e4901ce9941a6) Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-11libpipeline: upgrade 1.5.4 -> 1.5.5wangmy
(From OE-Core rev: 680892aedaec656d4ac405c3c295017120b3970e) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-11less: upgrade 598 -> 600wangmy
License-Update: year updated to 2022. Changelog: ========== Add the --header option. Add the --no-number-headers option. Add the --status-line option. Add the --redraw-on-quit option. Add the --search-options option. Add 'H' color type to set color of header lines. Add #version conditional to lesskey. Add += syntax to variable section in lesskey files. Allow option name in -- command to end with '=' in addition to '\n'. Add $HOME/.config to possible locations of lesskey file. Add $XDG_STATE_HOME and $HOME/.local/state to possible locations of history file. Don't read or write history file in secure mode. Fix display of multibyte and double-width chars in prompt. Fix ESC-BACKSPACE command when BACKSPACE key does not send 0x08. Add more \k codes to lesskey format. Fix bug when empty file is modified while viewing it. Fix bug when parsing a malformed lesskey file. Fix bug scrolling history when --incsearch is set. Fix buffer overflow when invoking lessecho with more than 63 -m/-n options. Fix bug restoring color at end of highlighted text. Fix bug in parsing lesskey file. Defer moving cursor to lower left in some more cases. Suppress TAB filename expansion in some cases where it doesn't make sense. (From OE-Core rev: 30047fb4fcdef868c6d45cb6a71fbc9278600ba2) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-11iso-codes: upgrade 4.8.0 -> 4.9.0wangmy
Changelog: ========= Added ---------- ISO 639-3: New translation for Friulian ISO 639-5: New translations for Esperanto, Hindi, Russian ISO 4217: New translation for Esperanto Changed --------- Translation updates for ISO 3166-1 Translation updates for ISO 3166-2 Translation updates for ISO 639-2 Translation updates for ISO 639-3 Translation updates for ISO 639-5 (From OE-Core rev: c9a83af6d6c5248bb16bdfaf628d3727889993fd) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-11bluez5: upgrade 5.62 -> 5.63wangmy
Changelog: ========= This release is mostly a bug fix release, with fixes to features such as GATT, SDP, Daemon, and emulator. It also adds a new MGMT Event for Device Found and Device Lost of Advertisement Monitor. New build options for sanitizers (lsan, asan, ubsan) are added and it may require installing additional libraries depending on the distros. (From OE-Core rev: 49f48ce6c3467e784b817b1cfc7155c2f3ebeb84) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-11createrepo-c: upgrade 0.17.7 -> 0.18.0wangmy
(From OE-Core rev: a4ecbb65cb85c1a5157154a4a0d931b745addece) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-11bash: upgrade 5.1.8 -> 5.1.16wangmy
Changelog: ========= 1. New Features in Bash a. 'bind -x' now supports different bindings for different editing modes and keymaps. b. Bash attempts to optimize the number of times it forks when executing commands in subshells and from 'bash -c'. c. Here documents and here strings now use pipes for the expanded document if it's smaller than the pipe buffer size, reverting to temporary files if it's larger. d. There are new loadable builtins: mktemp, accept, mkfifo, csv, cut/lcut e. In posix mode, 'trap -p' now displays signals whose disposition is SIG_DFL and those that were SIG_IGN when the shell starts. f. The shell now expands the history number (e.g., in PS1) even if it is not currently saving commands to the history list. g. 'read -e' may now be used with arbitrary file descriptors ('read -u N'). h. The 'select' builtin now runs traps if its internal call to the read builtin is interrupted by a signal. i. SRANDOM: a new variable that expands to a 32-bit random number that is not produced by an LCRNG, and uses getrandom/getentropy, falling back to /dev/urandom or arc4random if available. There is a fallback generator if none of these are available. j. shell-transpose-words: a new bindable readline command that uses the same definition of word as shell-forward-word, etc. k. The shell now adds default bindings for shell-forward-word, shell-backward-word, shell-transpose-words, and shell-kill-word. l. Bash now allows ARGV0 appearing in the initial shell environment to set $0. m. If 'unset' is executed without option arguments, bash tries to unset a shell function if a name argument cannot be a shell variable name because it's not an identifier. n. The 'test -N' operator uses nanosecond timestamp granularity if it's available. o. Bash posix mode now treats assignment statements preceding shell function definitions the same as in its default mode, since POSIX has changed and no longer requires those assignments to persist after the function returns (POSIX interp 654). p. BASH_REMATCH is no longer readonly. q. wait: has a new -p VARNAME option, which stores the PID returned by 'wait -n' or 'wait' without arguments. r. Sorting the results of pathname expansion now uses byte-by-byte comparisons if two strings collate equally to impose a total order; the result of a POSIX interpretation. s. Bash now allows SIGINT trap handlers to execute recursively. t. Bash now saves and restores state around setting and unsetting posix mode, instead of having unsetting posix mode set a known state. u. Process substitution is now available in posix mode. v. READLINE_MARK: a new variable available while executing commands bound with 'bind -x', contains the value of the mark. w. Bash removes SIGCHLD from the set of blocked signals if it's blocked at shell startup. x. 'test -v N' can now test whether or not positional parameter N is set. y. 'local' now honors the '-p' option to display all local variables at the current context. z. The '@a' variable transformation now prints attributes for unset array variables. aa. The '@A' variable transformation now prints a declare command that sets a variable's attributes if the variable has attributes but is unset. bb. 'declare' and 'local' now have a -I option that inherits attributes and value from a variable with the same name at a previous scope. cc. When run from a -c command, 'jobs' now reports the status of completed jobs. dd. New 'U', 'u', and 'L' parameter transformations to convert to uppercase, convert first character to uppercase, and convert to lowercase, respectively. ee. PROMPT_COMMAND: can now be an array variable, each element of which can contain a command to be executed like a string PROMPT_COMMAND variable. ff. 'ulimit' has a -R option to report and set the RLIMIT_RTTIME resource. gg. Associative arrays may be assigned using a list of key-value pairs within a compound assignment. Compound assignments where the words are not of the form [key]=value are assumed to be key-value assignments. A missing or empty key is an error; a missing value is treated as NULL. Assignments may not mix the two forms. hh. New 'K' parameter transformation to display associative arrays as key- value pairs. ii. Writing history to syslog now handles messages longer than the syslog max length by writing multiple messages with a sequence number. jj. SECONDS and RANDOM may now be assigned using arithmetic expressions, since they are nominally integer variables. LINENO is not an integer variable. kk. Bash temporarily suppresses the verbose option when running the DEBUG trap while running a command from the 'fc' builtin. ll. 'wait -n' now accepts a list of job specifications as arguments and will wait for the first one in the list to change state. mm. The associative array implementation can now dynamically increase the size of the hash table based on insertion patterns. nn. HISTFILE is now readonly in a restricted shell. oo. The bash malloc now returns memory that is 16-byte aligned on 64-bit systems. pp. If the hash builtin is listing hashed filenames portably, don't print anything if the table is empty. qq. GLOBIGNORE now ignores '.' and '..' as a terminal pathname component. rr. Bash attempts to optimize away forks in the last command in a function body under appropriate circumstances. ss. The globbing code now uses fnmatch(3) to check collation elements (if available) even in cases without multibyte characters. tt. The 'fg' and 'bg' builtins now return an error in a command substitution when asked to restart a job inherited from the parent shell. uu. The shell now attempts to unlink all FIFOs on exit, whether a consuming process has finished with them or not. vv. There is a new contributed loadable builtin: asort. 2. New Features in Readline a. If a second consecutive completion attempt produces matches where the first did not, treat it as a new completion attempt and insert a match as appropriate. b. Bracketed paste mode works in more places: incremental search strings, vi overstrike mode, character search, and reading numeric arguments. c. Readline automatically switches to horizontal scrolling if the terminal has only one line. d. Unbinding all key sequences bound to a particular readline function now descends into keymaps for multi-key sequences. e. rl-clear-display: new bindable command that clears the screen and, if possible, the scrollback buffer (bound to emacs mode M-C-l by default). f. New active mark and face feature: when enabled, it will highlight the text inserted by a bracketed paste (the 'active region') and the text found by incremental and non-incremental history searches. This is tied to bracketed paste and can be disabled by turning off bracketed paste. g. Readline sets the mark in several additional commands. h. Bracketed paste mode is enabled by default. i. Readline tries to take advantage of the more regular structure of UTF-8 characters to identify the beginning and end of characters when moving through the line buffer. j. The bindable operate-and-get-next command (and its default bindings) are now part of readline instead of a bash-specific addition. k. The signal cleanup code now blocks SIGINT while processing after a SIGINT. (From OE-Core rev: 842edd425e82c983ca0b1a7b733baf41cb689a69) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-11ell: upgrade 0.46 -> 0.47wangmy
Changelog: ========= Fix issue with memory leaking from DHCP leases. Fix issue with NULL terminating of Base64 encoding. (From OE-Core rev: 489665c86df9157d1d510b8d22a05d890da5b381) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-11systemd-boot: restore reproducibilityAlexander Kanavin
(From OE-Core rev: fde5147206ae82d11819fcc23fbe4fc2f94ea52b) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-11parselogs: add a couple systemd false positivesAlexander Kanavin
New systemd has changed the phrasing when skipping things, with unfortunate use of 'failed': [ 1.623667] systemd[1]: Journal Audit Socket was skipped because of a failed condition check (ConditionSecurity=audit). [ 1.688258] systemd[1]: Load Kernel Modules was skipped because all trigger condition checks failed. (From OE-Core rev: 743d09665a4ef743b1fa9ac382a713556dfce1a1) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-11qemuboot/runqemu: fully form the ip= kernel parameterAlexander Kanavin
New systemd is actually parsing this in systemd-network-generator and fails if it is not fully formed. 'off' means 'static ip, do nothing': https://www.kernel.org/doc/Documentation/filesystems/nfs/nfsroot.txt (From OE-Core rev: 2cf12c8dde0f05917797f8b4a80883dc0647b95d) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-11librsvg: update 2.52.4 -> 2.52.5Alexander Kanavin
Remove upstreamed patches. (From OE-Core rev: b7ad5aacf2c3a58763da438267a31ace8982c1f6) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-11epiphany: make libportal optional, and move it to meta-oeAlexander Kanavin
(From OE-Core rev: f87993a918f3087284ac7f1d96701c7bfbbef725) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-11libportal: update 0.4 -> 0.5Alexander Kanavin
(From OE-Core rev: c333ae8425c15ee1abc6aaac1bf98e6ff506d0ef) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-11mdadm: update 4.1 -> 4.2Alexander Kanavin
Drop 0001-Compute-abs-diff-in-a-standard-compliant-way.patch (upstream refactored code) mdadm-fix-ptest-build-errors.patch (upstream fixed the issue) (From OE-Core rev: acf82e36996c082f52c02d50b06965f74ef87430) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-11python3-numpy: update 1.21.4 -> 1.22.0Alexander Kanavin
(From OE-Core rev: 6b9f2e078fb5653a1cedd64e90459e2f0780eb7e) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-11systemd: update 249.7 -> 250.1Alexander Kanavin
(From OE-Core rev: e22188e47d2fce2406d9db9c95289b3878eda69f) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-11busybox: update 1.34.1 -> 1.35.0Alexander Kanavin
Drop upstreamed patch. (From OE-Core rev: a7d5150b621c2ab4e4ad8acc6267b40d9e899b33) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-11rust-llvm: apply the same reproducibility patch as for llvm properAlexander Kanavin
(From OE-Core rev: a845029df7ea8c1bd987ffac3902d4521742debb) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-11ruby: disable rdoc due to non-reproducibilityAlexander Kanavin
The issue is reported upstream: https://bugs.ruby-lang.org/issues/18456 Otherwise I do not feel that further investigation of rdoc's parser to find out the source of non-determinism is worth the time. (From OE-Core rev: 208021f7212a8a790c350ccca720695c5bcbb1ca) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-11xserver-xorg: whitelist two CVEsRoss Burton
CVE-2011-4613 is specific to Debian/Ubuntu. CVE-2020-25697 is a non-trivial attack that may not actually be feasible considering the default behaviour for clients is to exit if the connection is lost. (From OE-Core rev: afa2e6c31a79f75ff4113d53f618bbb349cd6c17) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-11wayland-protocols: Change inherit orderRichard Purdie
allarch needs to be after meson so that qemu usage can be disabled and the package can really be architecture independent. (From OE-Core rev: f7b58d5a6681547735ba747f5872abf35c9fa2c1) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-11expat: Update HOMEPAGE to current urlRichard Purdie
Upstream pointed out we were using an old url for HOMEPAGE. Update it to the current url. (From OE-Core rev: f3a7e2ba247efe72154c263d1d680aaf3da5b609) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-10manuals: add reference to GIR_EXTRA_LIBS_PATH plus minor improvementsMichael Opdenacker
Fixes [YOCTO #14533] (From yocto-docs rev: 84001d5d4258dad9e3663ea842ecc291d9e1a7dd) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-10dev-manual: update bitbake.conf sample for static libsMichael Opdenacker
(From yocto-docs rev: 0762a24cb20e23d4903402bea109ae8d1d85ef5e) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-10manuals: document hash equivalenceMichael Opdenacker
(From yocto-docs rev: 7fad0873207980a747f79b2ce29ec0dc6c6c3cdf) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-10poky.yaml: centos-7 python36-pip -> python3-pipTim Orling
In CENTOS7_HOST_PACKAGES_ESSENTIAL, change python36-pip to python3-pip. The python36-pip package was obsoleted by python3-pip in RHEL 7.7+ https://src.fedoraproject.org/rpms/python-pip/c/6771a1c54f5c7ac333c7af644c055da670027f6c?branch=epel7 (From yocto-docs rev: df5d499f86e0cf2b6316778c7c390d64f5f1367c) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-08populate_sdk_base: remove unneeded dirs such as /devChen Qi
We met a problem that core-image-tiny-initramfs's SDK cannot be installed. The error message is like below. tar: ./sysroots/core2-64-poky-linux/dev/console: Cannot mknod: Operation not permitted In fact, the '/dev' direcotry is not needed by SDK. So remove it. This patches uses a variable, SDK_PRUNE_SYSROOT_DIRS, to hold useless dir entries so that it could be extended. For example, '/usr/bin' could be added if wanted. (From OE-Core rev: 9154f71c7267e9731156c1dfd57397103e9e6a2b) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-08cve-check: add lockfile to taskKonrad Weihmann
this should prevent running into the very rare error sqlite3.OperationalError: attempt to write a readonly database As highlighted by https://www.sqlite.org/faq.html#q5 it is likely that the adapter won't allow use multiple exec calls at the same time. So it's best to prevent multiple accesses at a time, by reusing the already in place CVE_CHECK_DB_FILE_LOCK YOCTO #14110 (From OE-Core rev: 677f5741bd265be49d4a5bb933b3e8d8c4eec653) Signed-off-by: Konrad Weihmann <kweihmann@outlook.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-08libsdl2: Fix build when libunwind is not usedKhem Raj
clang provides libunwind.h and cmake adds a check to find libunwind when this header is detected, which was not the case with automake. The check however is expecting specific unwinder implementation which provides libunwind-generic solib, this is not a standard library that all implementations will provide, therefore make this check optional. (From OE-Core rev: fb450807774d100b9b568364b014ac46f5642b7e) Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-07allarch: Fix interaction with qemu classRichard Purdie
The qemu class declares functions which are architecture specific. If a user such as meson is used in an allarch recipe, this leads to sstate which is machine specific. To fix this, remove the architecture specific part, since there are no binaries in allarch classes, this change shouldn't break anything. (From OE-Core rev: 049879ba842d89f268b8e3a4e26410d13bc54158) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-07Revert "qemu.bbclass: drop OLDEST_KERNEL reference"Richard Purdie
This patch was merged on the basis that it wasn't needed with recent versions of qemu. That isn't true and has been showen to cause failures for aarch64 on centos7 hosts. Revert the patch as we'll need a different solution. This reverts commit 94b371e1c9e3cea787d70d6d7a09f7d3d69a30aa. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-07libsdl2: Fix X11 configure optionsRichard Purdie
We're seeing various failures where the X11 headers are found on the native system but not all libraries are present and hence autoconfiguration of the X11 subcomponents fails. We don't list any of these X11 subcomponents as a dependency so disable them by default. Configuration and dependencies can be added if people need them. (From OE-Core rev: f30ebc0b82b10f56f250a3a9c4f1f2fe9fb281b3) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>