platform_system_core/toolbox
Juan Yescas 64776335c0 toolbox/modprobe: Load modules from /lib/modules based on page size
Load modules from /lib/modules for 4kb page size kernels when
the -d option is not present. Do not do this for 16kb page size kernels
due it will load the 4kb modules when PRODUCT_16K_DEVELOPER_OPTION
is true.

Depending on the value of PRODUCT_16K_DEVELOPER_OPTION, the
kernel modules can be located in several directories:

- true: There are 2 directories that contain the 4kb and 16kb
        modules.
        - 4kb modules are in /lib/modules
        - 16kb modules are in /lib/modules/<uname -r>_16k
- false: There is only one directory that contains only one type
        of the kernel modules, either 4kb or 16kb.
        - /lib/modules

This is a temporary fix for the 16kb developer option. This
b/346659501 will track the proper fix.

Test: Boot target husky-trunk_staging-userdebug with developer
      option.
Test: Boot target husky_pgagnostic-next-userdebug without developer
      option.
Bug: 345609905
Bug: 343971855
Change-Id: I9bab33d9f06743bd10ee804b20db8f39467fcc52
2024-06-11 18:41:49 -07:00
..
Android.bp toolbox/libmodprobe: add toolbox to vendor_ramdisk 2024-03-18 17:35:26 +09:00
generate-input.h-labels.py toolbox/generate-input.h-labels.py: python3. 2021-08-17 14:34:55 -07:00
getevent.c getevent: print error message when failing to get event 2024-04-04 15:14:26 +00:00
getprop.cpp newfs_msdos: switch to external/newfs_msdos. 2018-06-13 13:21:24 -07:00
modprobe.cpp toolbox/modprobe: Load modules from /lib/modules based on page size 2024-06-11 18:41:49 -07:00
MODULE_LICENSE_APACHE2 newfs_msdos: switch to external/newfs_msdos. 2018-06-13 13:21:24 -07:00
NOTICE newfs_msdos: switch to external/newfs_msdos. 2018-06-13 13:21:24 -07:00
OWNERS getevent: add Framework Input team as owners 2024-04-04 15:14:26 +00:00
setprop.cpp setprop: check if not setprop value but setprop name starts with "ro." 2024-04-22 08:07:52 +00:00
start.cpp iorap: Remove toggling iorapd on/off when using 'start' command. 2020-11-16 18:45:47 +00:00
toolbox.c Fix toolbox failure return to match similar tools. 2016-04-12 08:40:43 -07:00
tools.h toolbox: add modprobe 2019-08-06 13:58:13 -07:00