summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
Commit message (Collapse)AuthorAgeFilesLines
...
* python3-pathspec: upgrade 0.10.1 -> 0.10.3Ross Burton2023-01-061-1/+1
| | | | | | | | (From OE-Core rev: 86bc9469e2b7c1a42db8d85f3d2dab7c3a34c438) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-hatchling: upgrade 1.11.1 -> 1.12.1Ross Burton2023-01-061-1/+1
| | | | | | | | (From OE-Core rev: 557d5d3c7f1da27b8793148bbeceda39b14fff8f) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-hatch-vcs: upgrade 0.2.0 -> 0.3.0Ross Burton2023-01-061-1/+1
| | | | | | | | (From OE-Core rev: 99df6d828bdef57298d43933cbc138b96701bf6f) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* librepo: upgrade 1.14.5 -> 1.15.1Wang Mingyu2023-01-061-1/+1
| | | | | | | | | | | | | | Changelog: =========== Adds API support for waiting on network in an event driven manner (new API function lr_handle_network_wait) OpenPGP API extension and fixes (new API functions lr_gpg_*) Update license format to "LGPL-2.1-or-later" (From OE-Core rev: bd22b705366e41ebd5eba4ce31d5654fc631a1f5) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* btrfs-tools: upgrade 6.0.2 -> 6.1Wang Mingyu2023-01-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | Changelog: ========== * filesystem df: add json output * qgroup show: add json output * new command: 'inspect-internal map-swapfile' to check swapfile and its swapfile_offset value used for hibernation * corrupt-block: fix parsing of option --root argument * experimental (interfaces not finalized): * new command 'inspect-internal list-chunks' * new group reflink, command clone * other: * synchronize some files with kernel versions * docs updates * build: use gnu11 (From OE-Core rev: 73d4b80d04f366a0d908df2e6c46d510b740a905) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* valgrind: disable tests that started failing after switching to x86-64-v3 targetAlexander Kanavin2023-01-061-0/+9
| | | | | | | (From OE-Core rev: 15f2b1f5295474d05f7af93d3d1009bb547dee35) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes/classes: Drop prepend/append usage with PACKAGESPLITFUNCSRichard Purdie2023-01-051-1/+1
| | | | | | | | | | As far as I can tell, none of these uses of PACKAGESPLITFUNCS need append/prepend operators, the standard += and =+ can work just fine. Since OE-Core is copied a lot, use the preferred syntax which is also simpler to parse and change. (From OE-Core rev: 846ff49465337dddd75a83161f41f48117f6571c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-cython: Use PACKAGESPLITFUNCS instead of PACKAGEBUILDPKGDRichard Purdie2023-01-051-1/+1
| | | | | | | | | | The recipe can use the more commonly used PACKAGESPLITFUNCS instead of PACKAGEBUILDPKGD which is likely to be removed soon, there should be no change in behaviour. (From OE-Core rev: b060a8a7e4c35f8404525f462189390e2dce81e5) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* strace: Replace off64_t with off_t in sync_file_range.c testKhem Raj2022-12-311-4/+13
| | | | | | | (From OE-Core rev: b171a45d7df522497e7dfb0908f023b0683b0989) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* llvm: Do not use lseek64Khem Raj2022-12-312-0/+80
| | | | | | | | | Fixes build with musl where the LFS64 functions are deprecated (From OE-Core rev: f543f51b2060a718685c82ee6f7d59bb0723e7bf) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: disable sporadically failing test-io-channel-commandAlexander Kanavin2022-12-311-0/+2
| | | | | | | | | [YOCTO #14996] (From OE-Core rev: e7f032b3f797f76dbb4ffa42fa5364624c6fb08b) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* go: update 1.19.3 -> 1.19.4Alexander Kanavin2022-12-318-4/+4
| | | | | | | (From OE-Core rev: 67301425ac2696ccc07d6f47856336d6336382fb) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cargo: Do not use open64 on musl anymoreKhem Raj2022-12-312-1/+4
| | | | | | | | | | The same rust getrandom patch is needed for cargo on target as well as it uses the same crate (From OE-Core rev: 44441c727a5301ab99ab8b4d8b8b1f61f0a810af) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* nativesdk-rpm: don't create wrappers for WRAPPER_TOOLSMartin Jansa2022-12-311-8/+0
| | | | | | | | | | * environment.d/rpm.sh sets the right environment in SDK and we don't need to use them (From OE-Core rev: 34f1121ba9684b1ab978438db2b16c1e42ea5973) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* nativesdk-rpm: export RPM_ETCCONFIGDIR and MAGIC in environment like ↵Martin Jansa2022-12-312-6/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | RPM_CONFIGDIR * the paths in wrapper don't work for rpmdeps which is installed in ${libdir}/rpm unlike other wrapped bins from ${bindir} these relative paths don't work there * replace environment.d-rpm.sh with here-doc so that we can use OE variables * in the end it might be better to just get rid of the wrappers at this point and depend on environment.d to always set right values * the wrappers were added in: commit 760103cdaed3e820888d8984ec0b76cfc831d534 Author: Ovidiu Panait <ovidiu.panait@windriver.com> Date: Fri May 25 10:48:29 2018 +0800 nativesdk-rpm: Add wrappers for nativesdk support When installing the SDK to a non-default path, running "rpm --showrc" from the sdk will produce the following error: error: Unable to open /opt/windriver/wrlinux-small/10.17.41/sysroots/x86_64-wrlinuxsdk-linux/usr/lib/rpm/rpmrc for reading: No such file or directory. Fix this by adding wrappers that dynamically export the RPM_CONFIGDIR, RPM_ETCCONFIGDIR and MAGIC environment variables, pointing to the proper sdk locations. * the rpm.sh in environment.d a bit later: commit 5f16fd0bf774314c79572daf4ba7e4a8ae209ba1 Author: hongxu <hongxu.jia@windriver.com> Date: Wed Jul 29 01:22:06 2020 -0700 nativesdk-rpm: adjust RPM_CONFIGDIR paths dynamically While installing/extracting SDK to a non-default dir(not /opt), run rpm failed: $ python3 -c "import rpm" |error: Unable to open /opt/windriver/wrlinux-graphics/20.31/sysroots/ x86_64-wrlinuxsdk-linux/usr/lib/rpm/rpmrc for reading: No such file or directory. This patch adds a flexible way to configure RPM_CONFIGDIR in SDK. (From OE-Core rev: f40a2658f5be6739c5dddab7f9f11e1f85a17102) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rust-llvm: Fix build on latest muslKhem Raj2022-12-312-1/+81
| | | | | | | | | latest musl has removed lfs64 functions (From OE-Core rev: 7156416943dc6d772020465917418e3234cc7f66) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rust,libstd-rs: Fix build with latest muslKhem Raj2022-12-312-0/+173
| | | | | | | | | | newer musl do not provide lfs64 functions anymore since off_t is always 64bit on musl using normal functions would suffice (From OE-Core rev: f01b2ab83068e4d7f263c31dca2a3fa9ef77a98e) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rust: Do not use open64 on musl in getrandom crateKhem Raj2022-12-312-0/+30
| | | | | | | | | LFS64 functions are deprecated in latest musl (From OE-Core rev: 3b63303c62f9d50d835096602f9e09669779fa3e) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cargo: Drop exclude from worldAlex Kiernan2022-12-281-1/+0
| | | | | | | | | On-target cargo now builds/runs. (From OE-Core rev: eb8b8c5247a32f2bd6b680de6f1a999dc2fcbc5f) Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cargo: Include crossbeam-utils patchAlex Kiernan2022-12-282-2/+7
| | | | | | | | | | We need patched crossbeam-utils in cargo as well as rust, move cargo alongside rust so they can both use the same patch. (From OE-Core rev: 39402790724014a39b265ee1978396a0514fdc98) Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cargo: Extend DEBUG_PREFIX_MAP to cover vendorAlex Kiernan2022-12-281-0/+2
| | | | | | | | | | The cargo build builds vendored libgit and curl, but these exist outside ${S} which DEBUG_PREFIX_MAP covers. (From OE-Core rev: c874ef5eafb88d361b96e014739d7a3a640536d9) Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cargo: Merge .inc into .bbAlex Kiernan2022-12-282-71/+69
| | | | | | | (From OE-Core rev: 15170dbc0579f57436730b1fc1c2f471aa0dea54) Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rust: Move musl-x86 fix for `__stack_chk_fail_local` to rust-sourceAlex Kiernan2022-12-282-5/+5
| | | | | | | | | | Any consumer of rust-source (potentially) needs this, so move to rust-source.inc (From OE-Core rev: 3c88cf98361a8f1c6f5183cc8887cccfad9d08ba) Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rust: Merge .inc into .bbAlex Kiernan2022-12-283-234/+217
| | | | | | | (From OE-Core rev: a09bcc7db13a7308f523d985332e96461b8feeec) Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rust-llvm: Update LLVM_VERSION to match embedded versionAlex Kiernan2022-12-281-1/+1
| | | | | | | (From OE-Core rev: e75f16c5f0d3e70ae08efd7d61a7e7d0c9380e72) Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rust-llvm: Merge .inc into .bbAlex Kiernan2022-12-282-79/+79
| | | | | | | (From OE-Core rev: 5a8f72fc9ae730be21bbc577d8315ae95f771dba) Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Revert "python3-native: further tweak to sysconfig.py to find python ↵Alexander Kanavin2022-12-281-8/+7
| | | | | | | | | | | | | | | | | | | | | includes correctly" Unfortunately, sysconfig is used by: - setuptools to find out where to install new headers - autoconf-archive to find where Python.h is In the first case we want the target location, in the second case we want the sysroot location. The second case is not yet used in the wild (as projects such as gpgpme are using outdated distutils-based m4 macros), but it will become a problem once python 3.12 is out, and said projects are forced to migrate to sysconfig. Let's deal with it then in a more careful manner, and hopefully convince upstream that there is a general problem too. (From OE-Core rev: 499b152bf63749be18fc252978a6cc632254b325) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-chardet: upgrade 5.0.0 -> 5.1.0Alexander Kanavin2022-12-281-2/+2
| | | | | | | | | Transition to python_setuptools_build_meta. (From OE-Core rev: 3e12b39760ec92d45241f44945c4fd1a93cd9de2) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libmodule-build-perl: update 0.4231 -> 0.4232Alexander Kanavin2022-12-281-3/+2
| | | | | | | | | License-Update: formatting, position of the license statement moved in the README (From OE-Core rev: 902e05e254b633ef1e988779504f743a031b5632) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* jquery: upgrade 3.6.1 -> 3.6.2Alexander Kanavin2022-12-281-3/+3
| | | | | | | (From OE-Core rev: 4ca35599d102b6c1580bc080a0df645e7e589267) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: update 3.11.0 -> 3.11.1Alexander Kanavin2022-12-288-369/+17
| | | | | | | | | | | | | | | | Drop 0001-bpo-36852-proper-detection-of-mips-architecture-for-.patch: the patch has been rejected upstream (see the bug), and does quite a bit more than just fix the mips softfloat problem. If the problem still exists, then the fix needs to be re-done, and re-submitted. The other two patches have been merged upstream. License-Update: http->https (From OE-Core rev: 9b6e8c173162798428cf8627b596ca81cd8ab855) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-installer: update 0.5.1 -> 0.6.0Alexander Kanavin2022-12-282-8/+18
| | | | | | | (From OE-Core rev: b64d25d3e0e8f0b6a7e4b985d305519be4879073) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dpkg: update 1.21.9 -> 1.21.13Alexander Kanavin2022-12-284-18/+13
| | | | | | | | | libmd is a new dependency. (From OE-Core rev: 53862dd494c849db771d986752ca5dab464dc6cb) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: update 7.1.0 -> 7.2.0Alexander Kanavin2022-12-267-158/+6
| | | | | | | | | | | | | | | | | | | | | qemu no longer carries libslirp in-tree, so enabling slirp requires providing external libslirp. Another noteworthy change is: x86: TCG support for AVX, AVX2, F16C, FMA3 and VAES instructions ... which means both meta-intel and qemu x86 targets can now fully utilize Haswell-and-later instruction set with benefits for performance in emulation and on silicon. Changelog: https://wiki.qemu.org/ChangeLog/7.2 (From OE-Core rev: d82e521995832580e990c0c173651aafd43d299c) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-native: further tweak to sysconfig.py to find python includes correctlyAlexander Kanavin2022-12-261-8/+9
| | | | | | | | | | | | Without this, sysconfig would report the target location, which is not what we want in cross-builds. This is used in particular by latest autoconf-archive m4 macros, which have migrated from (removed in py 3.12) distutils to setuptools. (From OE-Core rev: df8303ab2f0ca4b694b845016c8d7e0279a48fe7) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cmake: update 3.24.2 -> 3.25.1Alexander Kanavin2022-12-264-4/+4
| | | | | | | | | License-Update: additional contributors (From OE-Core rev: bc7dcc79cc5c8e2ea92ee45fe918a3488b4b1086) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* llvm: update 15.0.4 -> 15.0.6Alexander Kanavin2022-12-261-2/+2
| | | | | | | (From OE-Core rev: 7f0d417feae6efc7957c48ecc7e5b65f3fd8921b) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-poetry-core: Fix determinism issue breaking reproducibilityRichard Purdie2022-12-232-0/+25
| | | | | | | | | | | | Fix failing builds due to a reproducibility issue by adding a patch to sort globbing, submitted upstream. [YCOTO #14993] [YCOTO #14994] (From OE-Core rev: ad6cc43ca99d8629365fcff790becbc7103da9ec) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libstd-rs: Move source directory to library/testAlex Kiernan2022-12-231-2/+4
| | | | | | | | | Building libstd-rs from library/std omits proc_macro from the sysroot. Using library/test causes that to be installed which then allows cargo to build (https://github.com/meta-rust/meta-rust/issues/266) Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libstd-rs: Merge .inc into .bbAlex Kiernan2022-12-232-41/+39
| | | | | Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* valgrind: skip the boost_thread test on armRandy MacLeod2022-12-221-0/+1
| | | | | | | | | | This test is failing on the arm workers only so skip there until the issue can be worked on and resolved. The bug #14311 will remain open for tracking. (From OE-Core rev: d98deec9e4aed9e05343d2758f3a3892e2044616) Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: Fix build with largefile supportKhem Raj2022-12-223-0/+397
| | | | | | | | | | drop using lfs64 specific functions and macros (From OE-Core rev: 82fd98d6d8de17424ed9f129a1661645253ef7ae) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* strace: Add knob to enable largefile supportKhem Raj2022-12-223-0/+72
| | | | | | | | (From OE-Core rev: 353e773ab8a072546ae236d1611bb6906b59486a) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* help2man: upgrade 1.49.2 -> 1.49.3Wang Mingyu2022-12-221-1/+1
| | | | | | | | | | | | | Changelog: ========== * Cleanup whitespace in po-texi/help2man-texi.pot. * Add Korean translation (From OE-Core rev: 6cbe1fa0a3df3496d58788ede4030017edd36a91) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* git: upgrade 2.38.1 -> 2.39.0Wang Mingyu2022-12-221-1/+1
| | | | | | | | (From OE-Core rev: 19fab341337c353bc6c8d796f92868d6148229c8) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes: Enable nativesdk for gperf, unifdef, gi-docgen and its dependenciesCarlos Alberto Lopez Perez2022-12-215-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | I'm building a SDK (bitbake task: populate_sdk) for WPE/WebKit development [1] and I need the tools below to be extended with the class nativesdk. They work fine on the SDK after this change. The needs are because: 1) gperf and unifdef are required by the WebKit build system at build time. 2) gi-docgen is required by the WebKit build system when CMake option 'ENABLE_DOCUMENTATION' is enabled, and gi-docgen itself depends on the following python modules that also need to enable nativesdk: python3-markdown, python3-smartypants and python3-typogrify [1] See: - https://github.com/Igalia/meta-webkit/pull/436 - https://bugs.webkit.org/show_bug.cgi?id=249604 (From OE-Core rev: 6cb38fd632a161bea7b9a04de400d8be8d565b07) Signed-off-by: Carlos Alberto Lopez Perez <clopez@igalia.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-dbusmock: allow to build nativeMarkus Volk2022-12-211-0/+2
| | | | | | | | | | This is e.g. needed by xdg-desktop-portal (From OE-Core rev: 68c391f50a753a51c99a10fdffd6f35c516f2873) Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* binutils: Add patch to fix CVE-2022-4285pgowda2022-12-212-0/+38
| | | | | | | | | | | Backport a patch from upstream to address CVE-2022-4285 [https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=5c831a3c7f3ca98d6aba1200353311e1a1f84c70] (From OE-Core rev: b6b750f8e41a392ff92d9118ef7530ada20d06fe) Signed-off-by: pgowda <pgowda.cve@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rust: Enable building rust from stable, beta and nightly channelsAlejandro Hernandez Samaniego2022-12-213-6/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rust follows the train release model via the stable, beta and nightly channels, by default we build rust from the stable channel, however there are certain features which are only available in the beta or nightly channels. Make these channels available by setting a RUST_CHANNEL variable which defaults to stable making this change transparent to the user. The snapshot version used by rust during its compilation wont necessarily match the version being built, specially if were building from an unstable channel, to avoid confusion rename this to SNAPSHOT_VERSION and use RUST_VERSION for the version to be built, which is automatically defined to PV. Append -beta or -nightly to rusts PV for signature awareness. It is important to note that this does not build rust from the beta/nightly published tarball (which today build rust v1.67.0 and v1.68.0 respectively), instead this builds rust from the current selected version (1.66.0) and enables the beta/nightly features for that version. Setting the variable RUST_CHANNEL=nightly results in the following: $ rustc -Vv rustc 1.66.0-nightly (From OE-Core rev: 807a52686682d0d0a151ea3dadd99880feb67cc0) Signed-off-by: Alejandro Hernandez Samaniego <alejandro@enedino.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* e2fsprogs: Do not use 64bit functions for largefile supportKhem Raj2022-12-215-3/+99
| | | | | | | | | | | | | | | Using -D_FILE_OFFSET_BITS=64 already makes the normal function behave like 64bit variants. Moreover it makes them portable across libc Ensure that right lseek function is used with _FILE_OFFSET_BITS = 64 Refresh patches with devtool (From OE-Core rev: 9f150d6bb4bda37e8ec58d576f3312c44fda654e) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>