aboutgitcode
Commit message (Collapse)AuthorAgeFilesLines
...
* mbuto: Make NODES and LINKS simple listsStefano Brivio2022-04-061-36/+17
| | | | | | | | | | | | | Instead of having one device node per line, use commas to separate attributes, if given. Take links as pairs of tokens, instead of requiring one line for each. This makes command-line overrides actually usable without the need to resort to printf(1) tricks. Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
* mbuto: Parse options before fakeroot checkStefano Brivio2022-04-061-9/+10
| | | | | | | | ...so that we can display the help message even if fakeroot is not available. Suggested-by: Wainer dos Santos Moschetta <wmoschet@redhat.com> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
* mbuto: Default to 'none' for compressionStefano Brivio2022-04-051-3/+3
| | | | | | | It's typically faster also to boot, and we don't want to take seconds when running in a subshell on qemu's command line. Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
* mbuto: Fix lz4 command lineStefano Brivio2022-04-051-2/+5
| | | | | | lz4 needs an explicit output file if we're not compressing to stdout. Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
* mbuto: Make it independent from Kata ContainersStefano Brivio2022-04-051-84/+123
| | | | | | | | | | | | | It already serves other purposes. Make 'kata' and 'kata_debug' explicit profiles, create a base one, and drop the 'pbench' profile which wasn't really used. Output templates are also defined by profiles. This allows convenient usage in a subshell, e.g.: kvm -kernel ... -initrd $(mbuto) Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
* mbuto: Add support for additional libraries typically loaded via dlopen(3)Stefano Brivio2022-03-141-0/+28
| | | | | | | | | | | Example: glibc needs, for basic tasks such as domain resolution, libnss_files and libnss_dns, which in turn links to libresolv. Add a LIBS_DLOPEN variable to hold pairs of libraries typically doing this and additional libraries to copy -- not a complete list, just what's strictly needed for basic functionality. Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
* mbuto: Use named fs_spec fields (device names) for virtual filesystems tooStefano Brivio2022-01-261-7/+7
| | | | | | | ...instead of '-'. This shouldn't be needed in theory, but using '-' as a name confuses mountpoint parsing in recent builds of kata-agent. Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
* mbuto: Pass kernel version to depmodStefano Brivio2021-10-201-1/+1
| | | | | | | ...otherwise, it will fail for a kernel version which is not the currently running one. Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
* mbuto: Add 'seq' and 'bc' to passt profileStefano Brivio2021-09-271-1/+1
| | | | Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
* mbuto: Add some more tools for passt profileStefano Brivio2021-09-181-3/+7
| | | | Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
* mbuto: Add profile for passt testsStefano Brivio2021-08-301-0/+20
| | | | Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
* mbuto: Fix typo in strip command failure handlingStefano Brivio2021-08-281-1/+1
| | | | Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
* mbuto: Initial importStefano Brivio2020-09-021-0/+878
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>