mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-09 16:01:54 -09:00
ff7f973a16036d21da708137875eff6efa8765df
Since upstream commit 89a86dcb0a3248606824de50f5c63f61cfe0369c (first release: 106) if cargo exists on PATH the Dracut configure script enables building dracut-cpio by default, and calls "cargo --version" to check if cargo works. This fails on the autobuilders: error: rustup could not choose a version of cargo to run, because one wasn't specified explicitly, and no default is configured. help: run 'rustup default stable' to download the latest stable release of Rust and set it as your default toolchain. dracut couldn't find cargo for dracut-cpio build The affected configs either don't have BR2_PACKAGE_HOST_RUSTC enabled, or build-time.log.gz shows host-rustc was not installed before the host-dracut build, so presumably the "cargo" that produces the rustup error is an external one already installed on the autobuilders. To fix this, enable dracut-cpio only if BR2_PACKAGE_HOST_RUSTC=y, and add a dependency on host-rustc in that case. According to the documentation [1, see "enhanced_cpio"] dracut-cpio is supposed to optimize archive creation for copy-on-write filesystems, so it should not matter much for Buildroot. The --disable-dracut-cpio option was added in upstream commit 4a4ab928a49e81e02104ec5466160664e59c3965 (same release). Fixes: https://autobuild.buildroot.org/results/5f557d708cce997e7f039f17e30640b02ba9180a/ Fixes: https://autobuild.buildroot.org/results/f04ca3c4598f62a7e87d84bc111eb8b161b34a70/ (and more) [1] https://dracut-ng.github.io/dracut/man/dracut.conf.5.html#_configuration_options Signed-off-by: Fiona Klute (Othermo GmbH) <fiona.klute@gmx.de> Signed-off-by: Julien Olivain <ju.o@free.fr>
…
…
Buildroot is a simple, efficient and easy-to-use tool to generate embedded Linux systems through cross-compilation. The documentation can be found in docs/manual. You can generate a text document with 'make manual-text' and read output/docs/manual/manual.text. Online documentation can be found at https://buildroot.org/docs.html To build and use the buildroot stuff, do the following: 1) run 'make menuconfig' 2) select the target architecture and the packages you wish to compile 3) run 'make' 4) wait while it compiles 5) find the kernel, bootloader, root filesystem, etc. in output/images You do not need to be root to build or run buildroot. Have fun! Buildroot comes with a basic configuration for a number of boards. Run 'make list-defconfigs' to view the list of provided configurations. Please feed suggestions, bug reports, insults, and bribes back to the buildroot mailing list: buildroot@buildroot.org You can also find us on #buildroot on OFTC IRC. If you would like to contribute patches, please read https://buildroot.org/manual.html#submitting-patches
Description
Languages
Makefile
62.5%
Python
19%
C
8.5%
Shell
6.1%
PHP
1.4%
Other
2.1%