aboutsummaryrefslogtreecommitdiffstats
path: root/tools/create-buildroot-image.sh
Commit message (Collapse)AuthorAgeFilesLines
* tools: relax Linux requirements for arm64 imagesAleksandr Nogikh2022-04-061-0/+2
| | | | Require Linux >= 5.10 instead of 5.15.
* tools: generate bootable arm64 images with buildrootAleksandr Nogikh2022-04-061-6/+31
|
* tools: update buildroot versionAleksandr Nogikh2022-02-171-1/+1
| | | | | | | | | 2021.08.x does not build on Linux 5.15+ due to the following error. interpret.c:48:10: fatal error: linux/ipx.h: No such file or directory 48 | #include <linux/ipx.h> It was fixed in the newer buildroot versions.
* tools/create-buildroot-image.sh: remove bogus mountsDmitry Vyukov2021-12-201-3/+0
| | | | | | | | | | | | | | | | | | | | Currently the following errors happen during boot: mount: mounting mqueue on /dev/mqueue failed: No such file or directory mount: mounting hugetlbfs on /dev/hugepages failed: No such file or directory mount: mounting fuse.lxcfs on /var/lib/lxcfs failed: No such file or directory Remove these mounts. Mounting of /dev/mqueue and /dev/hugepages fails because these dirs don't exist and the buildroot init does not create them for some reason. We can't pre-create them because /dev is itself mounted as devtmpfs. But we also don't need these mounts. Both mqueue and hugetlbfs are trivial to mount and the fuzzer does not have problems mounting them locally and using (we have good coverage anyway). fuse.lxcfs is simply a fuse filesystem (".lxcfs" is ignored). We don't need to mount an empty global fuse filesystem. And it won't work w/o a userspace server anyway.
* tools: do not create /dev/binderN devices for buildroot imageAleksandr Nogikh2021-10-291-3/+0
| | | | It's not necessary any longer because now we're using binderfs.
* tools: add script for building of buildroot imagesDmitry Vyukov2021-10-181-0/+221
We used to use Debian-based images, but they have several issues: 1. They boot too slowly (we don't need full systemd power). 2. Systemd mounts cgroup controllers so that we can't use them during fuzzing (can be mounted only once). 3. We have poor control over contents of the image. This script creates lightweight buildroot-based images that boot fast.