04c9ecd7881e621cafc86e643999196c42321565
The test_xen.py runtime test, introduced in [1] and improved in [2], is calling a "stty raw" command, just after the emulated machine login, to avoid double-cooking the consoles. This double-cooking prevents the test controller to correctly get the command error codes. Buildroot commit [3] "support/testing: set date in emulated machine" introduced an invocation of the date command to set time on the emulated machine, just after the login. The returned error code is also checked. Since this commit [3], the test_xen runtime test is failing while attempting to set the date. This is because it is invoked before the test script executes this "stty raw" command. The need of executing a command just after the login, and just before we set the emulated machine date is very limited. It is almost specific to this test. So, rather than changing the test infrastructure, this commit simply moves this "stty raw" invocation from the runtime test script to a custom /etc/profile.d/stty-raw.sh file on target rootfs overlay, to do this call just at the login. Fixes: https://gitlab.com/buildroot.org/buildroot/-/jobs/10000011350 [1]055f82ebbd[2]cd0ffd598c[3]cf8641b73eCc: Vincent Stehlé <vincent.stehle@laposte.net> Tested-by: Vincent Stehlé <vincent.stehle@laposte.net> 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 http://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
63.4%
Python
17.8%
C
8.7%
Shell
6%
PHP
1.4%
Other
2.3%