mirror of
https://github.com/netdata/libbpf.git
synced 2026-03-25 10:49:06 +08:00
Generate a disk image for libbpf testing in compressed *.zst format The mkrootfs.sh has the following stages: - run pacstrap to install libbpf and selftests dependencies. - create /etc/fstab w/ bpffs and debugfs filesystems - create /etc/init.d/rcS to mount in bootime - create /etc/inittab to invoke /etc/init.d/rcS - compress an image In addition ./travis-ci/vmtest/run.sh set up ext4 fs and mounts it as a loop device: mkfs.ext4 -q "$tmp" mount -o loop "$tmp" "$mnt" Signed-off-by: Julia Kartseva (hex@fb.com)