- 02 Aug, 2017 1 commit
-
-
Yann E. MORIN authored
The "builtin" kernel does not boot a systemd-based system, so we resort to building the same one as currently used by our qemu_arm_vexpress_defconfig. We test the 8 following combinations: - busybox, read-only, without network - busybox, read-only, with network - busybox, read-write, without network - busybox, read-write, with network - basic systemd, read-write, network w/ ifupdown - basic systemd, read-write, network w/ networkd - full systemd, read-write, network w/ networkd - no init system, read-only, without network The tests just verify what the /sbin/init binary is, and that we were able to grab an IP address. More tests can be added later, for example to check each systemd features (journal, tmpfiles...) Signed-off-by:
"Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Arnout Vandecappelle <arnout@mind.be> [Arnout: update .gitlab-ci.yml] Signed-off-by:
Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by:
Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-
- 07 May, 2017 1 commit
-
-
Thomas Petazzoni authored
This commit adds the core of a new testing infrastructure that allows to perform runtime testing of Buildroot generated systems. This infrastructure uses the Python unittest logic as its foundation. This core infrastructure commit includes the following aspects: - A base test class, called BRTest, defined in support/testing/infra/basetest.py. This base test class inherited from the Python provided unittest.TestCase, and must be subclassed by all Buildroot test cases. Its main purpose is to provide the Python unittest setUp() and tearDown() methods. In our case, setUp() takes care of building the Buildroot system described in the test case, and instantiate the Emulator object in case runtime testing is needed. The tearDown() method simply cleans things up (stop the emulator, remove the output directory). - A Builder class, defined in support/testing/infra/builder.py, simply responsible for building the Buildroot system in each test case. - An Emulator class, defined in support/testing/infra/emulator.py, responsible for running the generated system under Qemu, allowing each test case to run arbitrary commands inside the emulated system. - A run-tests script, which is the entry point to start the tests. Even though I wrote the original version of this small infrastructure, a huge amount of rework and improvement has been done by Maxime Hadjinlian, and squashed into this patch. So many thanks to Maxime for cleaning up and improving my Python code! Signed-off-by:
Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-
- 20 Apr, 2017 1 commit
-
-
Ricardo Martincoski authored
Currently the check-package script uses many files in the same directory. This commit keeps the main script in support/scripts/ and moves the rest into a subdirectory. The modules were previously prefixed to make it easy to identify which script they belong to. This is no longer needed when using a subdirectory, so the prefix is removed. Note: if this commit is checked out and the script is run, and later on a previous version is checked out, the file support/scripts/checkpackagelib/__init__.pyc needs to be manually removed to prevent Python interpreter to look for checkpackagelib package when only the checkpackagelib module is available. Reported-by:
Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by:
Ricardo Martincoski <ricardo.martincoski@gmail.com> Signed-off-by:
Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-
- 15 Oct, 2016 1 commit
-
-
Sebastien Van Cauwenberghe authored
This configuration allows out-of-the box Digilent Zybo support. It uses mainline U-boot and Linux kernel. This configuration generates a SD card image named sdcard.img. [Peter: rename genimage.cfg, cleanup post-image script, enable VFP support, use 4.6 kernel headers and add tools needed by genimage] Signed-off-by:
Sebastien Van Cauwenberghe <svancau@gmail.com> Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
- 08 Dec, 2013 1 commit
-
-
Thomas Petazzoni authored
This commit allows the BR2_EXTERNAL directory to contain Config.in and Makefile code, which gets integrated into the Buildroot build logic: - Buildroot automatically includes the $BR2_EXTERNAL/Config.in in the top-level configuration menu. - Buildroot automatically includes the BR2_EXTERNAL/external.mk in the build logic, so it can for example be used to include other .mk files that define package recipes. This is typically intended to be used to create target packages in the BR2_EXTERNAL directory, but can also be used for bootloaders, host packages, or other custom make logic. We also add a dummy Config.in file in support/dummy-external/ to ensure that the source "$BR2_EXTERNAL/Config.in" line will point to an existing file even when BR2_EXTERNAL is not used by the user. Signed-off-by:
Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by:
"Yann E. MORIN" <yann.morin.1998@free.fr> Tested-by:
"Yann E. MORIN" <yann.morin.1998@free.fr> Acked-by:
Ryan Barnett <rjbarnet@rockwellcollins.com> Tested-by:
"Samuel Martin" <s.martin49@gmail.com> Acked-by:
"Samuel Martin" <s.martin49@gmail.com> Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
- 04 Nov, 2012 1 commit
-
-
Thomas Petazzoni authored
This directory groups the following elements: * the default root filesystem skeleton * the default device tables * the Config.in options for system configuration (UART port for getty, system hostname, etc.) * the make rules to apply the system configuration options Even though the skeleton and device tables could have lived in fs/, it would have been strange to have the UART, system hostname and other related options into fs/. A new system/ directory makes more sense. As a consequence, this patch also removes target/Makefile.in, which has become useless in the process. [Peter: fixup TARGET_SKELETON settings / documentation to match] Signed-off-by:
Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by:
Yann E. MORIN <yann.morin.1998@free.fr> Acked-by:
Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by:
Peter Korsgaard <jacmet@sunsite.dk>
-
- 18 Jul, 2010 1 commit
-
-
Dmytro Milinevskyy authored
[Peter: fixup patch, adjust for busybox.mk changes] Signed-off-by:
Dmytro Milinevskyy <milinevskyy@gmail.com> Acked-by:
Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by:
Peter Korsgaard <jacmet@sunsite.dk>
-
- 05 Jan, 2009 1 commit
-
-
Peter Korsgaard authored
git-svn (and git) doesn't handle empty directories, so add .empty files to those dirs like elsewhere in buildroot. Those empty directories are normally not a big deal, but the recent changes to u-boot broke the build.
-
- 30 Mar, 2008 1 commit
-
-
Peter Korsgaard authored
Mark empty directories in target skeletons with .empty files and remove them while copying to target (like it's already done for svn and cvs files) to better support version control system which don't handle empty directories (E.G. git-svn).
-
- 10 Aug, 2007 1 commit
-
-
Eric Andersen authored
quite work yet for me, but this clearly is a huge project and not having it quite work on the first pass is hardly unexpected. We definately want this stuff in buildroot.
-
- 09 Mar, 2005 1 commit
-
-
Eric Andersen authored
-
- 17 Feb, 2005 1 commit
-
-
Eric Andersen authored
-
- 09 Oct, 2004 1 commit
-
-
Eric Andersen authored
-
- 08 Jan, 2003 1 commit
-
-
Eric Andersen authored
-