VirtualBox

Changeset 97405 in vbox for trunk/src/VBox/Additions


Ignore:
Timestamp:
Nov 4, 2022 5:40:02 PM (2 years ago)
Author:
vboxsync
Message:

Linux: startup scripts: prevent kernel build system from compressing modules on install, bugref:10287.

Let's have installed modules uncompressed regardless kernel configuration.
So, we can deal with modules signing and signature verification if kernel
was configured with one of CONFIG_MODULE_COMPRESS_XXX set.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/linux/installer/vboxadd.sh

    r97326 r97405  
    266266        unset do_update
    267267        for j in ${OLDMODULES}; do
    268             test -f "${i}/${j}.ko" && do_update=1 && rm -f "${i}/${j}.ko"
     268            for mod_ext in ko ko.gz ko.xz ko.zst; do
     269                test -f "${i}/${j}.${mod_ext}" && do_update=1 && rm -f "${i}/${j}.${mod_ext}"
     270            done
    269271        done
    270272        test -z "$do_update" || update_initramfs "$KERN_VER"
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette