Skip to content
  • Edmund Smith's avatar
    machine: cpio: extract compressed modules · e8f6e8b1
    Edmund Smith authored
    
    
    With kernel 5.13 one can have zstd compressed modules, alongside the
    existing gzip and xz.
    
    Unlike the latter two, busybox does not support zstd. Thus it will fail
    to load the modules early in the boot process.
    
    Existing init ramdisk builders like dracut and mkinitcpio explicitly
    extract compressed kernel modules, so let's do the same there
    
    [Emil Velikov]
     - Split from larger commit
     - Rebase onto modinfo series
     - Rewrite commit message
     - Remove NullDecompressor
    
    Signed-off-by: default avatarEmil Velikov <emil.velikov@collabora.com>
    e8f6e8b1