Commit Graph

4 Commits

Author SHA1 Message Date
Jesus Bermudez Velazquez
1f015aee8a
Add strong typing for the following API methods
* kiwi/system/kernel.py
* kiwi/system/result.py
* kiwi/system/shell.py

This references issue #1644
2021-01-22 17:25:17 +00:00
Marcus Schäfer
775b9a6c8f
Fixed ppc kernel lookup
On power the kernel is named e.g vmlinux-4.12.14-197.29-default
kiwi was missing that name match. Related to Issue #1325
2020-01-28 11:27:30 +01:00
Marcus Schäfer
550cccdbea
Refactor kernel version lookup
For the lookup of the kernel version kiwi provided a small
C program that reads the first bytes of the kernel binary
and extracts the version information. Given the various
compression formats and also the problem of kernel files
that contains the decompressor code which could be anything
it has turned out to be difficult to provide a stable tool
to read the version from the binary. Therefore the code in
kiwi was refactored to read the version via regexp match
from the filename which also makes kversion an obsolete
tool. This Fixes #1308
2020-01-11 22:31:02 +01:00
David Cassany
4b3a105026
Re-structure unit tests folders
This commit relocates unit tests to a folder structure that matches
the source code structure.

Fixes #1128
2019-10-21 14:00:05 +02:00