Skip to content
  • Daniel P. Berrangé's avatar
    Support lzma and gzip compressed kernel modules · 8dade596
    Daniel P. Berrangé authored
    Modern distros like Fedora have started to compress their
    kernel module files, so we can't simply read the file contents
    and load the module. We have to first do a decompression step,
    as the kernel won't do that itself.  While Fedora uses lzma,
    upstream kernels are also capable of using gzip.
    
    This links in the lzma and gzip libraries to handle
    decompression. NB the static versions of lzma/gzip
    are required since libvirt-sandbox-init-qemu must be
    statically linked.
    8dade596