| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
When specify -d as part of __d_opt variable, it is passed as a single string to
modprobe, like "-d /foo/bar", and modprobe fails to figure out the directory
name correctly. With this patch, we pass it as two different strings, like "-d"
"/foo/bar", and modprobe works correctly.
Signed-off-by: Sevinj Aghayeva <sevinj.aghayeva@gmail.com>
|
|
|
|
|
|
| |
with two -d switches no modprobe produces wrong output.
Signed-off-by: Sevinj Aghayeva <sevinj.aghayeva@gmail.com>
|
|
|
|
|
|
| |
Just base and kselftests profile demos so far.
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
|
|
|
|
|
|
| |
...we don't want any of that in the output.
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
|
|
|
|
|
|
|
|
|
| |
We need to make sure test programs are built and everything is
included in tools/testing/selftests/kselftest_install before
we can include that in the guest image.
Reported-by: Sevinj Aghayeva <sevinj.aghayeva@gmail.com>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
|
|
|
|
|
|
|
| |
If modules are installed in subdirectories of lib/modules, we need to
pass a matching wildcard to du(1).
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
|
|
|
|
|
|
|
| |
This avoids the need to set IFS and reset it around libs_copy()
calls.
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
|
|
|
|
|
|
|
| |
This offers some flexibility to source things from profile
definitions themselves.
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
|
|
|
|
|
|
|
| |
The output of 'command -v' varies widely across shells, which(1)
output looks relatively consistent.
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
|
|
|
|
|
|
|
| |
Make indentation of FIXUP definitions consistent. Add /usr/local/bin
to PATH, and drop device nodes the 'passt' profile doesn't need.
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
|
|
|
|
|
|
|
|
|
|
| |
This can be used to run kselftests from a kernel tree without
having to install kernel and modules onto a distribution image,
for example:
kvm -m 8192 -cpu host -smp 2 -kernel arch/x86/boot/bzImage -initrd $(mbuto -p kselftests) -nographic -nodefaults -serial stdio -append "console=ttyS0"
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
...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>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
lz4 needs an explicit output file if we're not compressing to stdout.
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
...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>
|
|
|
|
|
|
|
| |
...otherwise, it will fail for a kernel version which is not the
currently running one.
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
|
|
|
|
| |
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
|
|
|
|
| |
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
|
|
|
|
| |
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
|
|
|
|
| |
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
|
|
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
|