summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* eclass/kernel-install.eclass: rework testsGeorgy Yakovlev2020-08-291-23/+96
| | | | | | | | | | | instead of using linux image we compile tiny static binary and use it as /sbin/init image is simply created using mkfs.ext4 -d option arm tests need qemu keyworded, so disabled for now Closes: https://github.com/gentoo/gentoo/pull/17305 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
* eclass/kernel-install.eclass: add ppc64 image pathGeorgy Yakovlev2020-08-281-0/+5
| | | | Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
* eclass/kernel-install.eclass: restrict tests on ppc64 (for now)Georgy Yakovlev2020-08-281-1/+3
| | | | Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
* kernel-install.eclass: Restrict tests on arm&arm64Michał Górny2020-08-131-1/+5
| | | | | | Restrict tests on arches that currently lack a test image. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* kernel-install.eclass: Pass '-cpu max' on amd64 onlyMichał Górny2020-08-011-1/+3
| | | | | | It seems to break testing on 32-bit x86. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* kernel-install.eclass: Run tests with '-cpu max'Michał Górny2020-07-181-1/+2
| | | | | | | | | Since dracut is using host system executables, qemu needs to be able to execute these executables independently of the CFLAGS used by the user. For this reason make sure to enable all supported instruction sets rather than the default. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* kernel-{build,install}.eclass: support Kconfig LOCALVERSIONDavid GUGLIELMI2020-06-291-13/+23
| | | | | | Signed-off-by: David GUGLIELMI <david.guglielmi@gmail.com> Closes: https://bugs.gentoo.org/720930 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* kernel-install.eclass: Warn about linux-firmware in pkg_pretend()Michał Górny2020-06-241-1/+24
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* kernel-install.eclass: Add pkg_config() to reinstallMichał Górny2020-06-241-0/+23
| | | | | | | Add a pkg_config() phase that can be used to rebuild the initramfs and reinstall the kernel without rebuilding the whole package. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* kernel-{build,install}.eclass: more ARM supportAlexey Shvetsov2020-05-211-0/+12
| | | | | Signed-off-by: Alexey Shvetsov <alexxy@gentoo.org> Signed-off-by: Michał Górny <mgorny@gentoo.org>
* kernel-install.eclass: Print elog about symlink updateMichał Górny2020-04-291-0/+7
| | | | | Bug: https://bugs.gentoo.org/719910 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* kernel-install.eclass: Remove initramfs in postrmMichał Górny2020-01-251-1/+7
| | | | | Closes: https://bugs.gentoo.org/706332 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* kernel-install.eclass: Fix initrd locationMichał Górny2020-01-091-2/+4
| | | | | Closes: https://bugs.gentoo.org/705058 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* kernel-install.eclass: Install logic for dist-kernelsMichał Górny2020-01-091-0/+309
Introduce a new eclass that contains common logic needed to test and install distribution kernels. This is the eclass common both to kernels built from source and installed from binary packages. Signed-off-by: Michał Górny <mgorny@gentoo.org>