copy kernel modules to ramdisk, add modules.load[.recovery]
Build support exists to copy a set of kernel modules to the recovery, vendor, and odm images. Extend similar support for copying kernel modules to the ramdisk via BOARD_RAMDISK_KERNEL_MODULES. If BOARD_USES_RECOVERY_AS_BOOT, then BOARD_RAMDISK_KERNEL_MODULES is added to the set of modules to be copied to recovery. Libmodprobe now supports reading a list of kernel modules to be loaded. Enable the creation of modules.load and modules.load.recovery files. These files contain the contents of BOARD_[RAMDISK|VENDOR|ODM|RECOVERY]_KERNEL_MODULES_LOAD, or if those variables are not set, the contents of BOARD_[RAMDISK|VENDOR|ODM|RECOVERY]_KERNEL_MODULES (indicating all modules should be loaded by default). This allows for optional customization of the set of modules to be loaded by libmodprobe and the order they are loaded in. Bug: 130585369 Change-Id: I9340787d31d71aebc8552344675d9696c189a8a1
Loading
Please register or sign in to comment