diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-06-15 14:57:03 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-06-15 14:57:03 +0100 |
commit | d18bf1e01b65ee4bf0c804e2843b282d3d4e5d7c (patch) | |
tree | 4a95cbc6ffdf13bad6ecbc7f8d5af99631984123 /eclass/kernel-install.eclass | |
parent | e748ba9741f6540f4675c23e3e37b73e822c13a4 (diff) |
gentoo resync : 15.06.2021
Diffstat (limited to 'eclass/kernel-install.eclass')
-rw-r--r-- | eclass/kernel-install.eclass | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/eclass/kernel-install.eclass b/eclass/kernel-install.eclass index 860105feb8b8..4914a7562813 100644 --- a/eclass/kernel-install.eclass +++ b/eclass/kernel-install.eclass @@ -238,6 +238,16 @@ kernel-install_test() { local qemu_arch=$(kernel-install_get_qemu_arch) + # some modules may complicate or even fail the test boot + local omit_mods=( + crypt dm dmraid lvm mdraid multipath nbd # no need for blockdev tools + network network-manager # no need for network + btrfs cifs nfs zfs zfsexpandknowledge # we don't need it + plymouth # hangs, or sometimes steals output + rngd # hangs or segfaults sometimes + i18n # copies all the fonts from /usr/share/consolefonts + ) + # NB: if you pass a path that does not exist or is not a regular # file/directory, dracut will silently ignore it and use the default # https://github.com/dracutdevs/dracut/issues/1136 @@ -249,6 +259,10 @@ kernel-install_test() { --confdir "${T}"/empty-directory \ --no-hostonly \ --kmoddir "${modules}" \ + --force-add "qemu" \ + --omit "${omit_mods[*]}" \ + --nostrip \ + --no-early-microcode \ "${T}/initrd" "${version}" || die kernel-install_create_qemu_image "${T}/fs.img" |