Go to file
Will McVicker e067e96da2 toolbox/modprobe: Fix fallback path when mod_dirs is empty
Due to GKI, the kernel UTS release string will not always (if ever)
match the vendor's UTS release string that is used to create the
initramfs file structure -- /lib/modules/<vendor uname>. This causes
module load failures when `-d DIR` is omitted. To fix this, we can
include all of the versions under /lib/modules that match the kernel's
major and minor version instead of directly using the value of uname().
In addition, we can also support modules being loaded directly from
/lib/modules.

Test: verify GKI kernel + initramfs with different UTS strings
Test: verify GKI kernel + initramfs with modules directly in /lib/modules
Fixes: 8320778425 ("toolbox/modprobe: Fallback to /lib/modules/<uname> ")
Bug: 282917063
Bug: 254835242
Merged-In: I5368f5cff139ba3165323a6a91066be38bfa0736
Change-Id: I5368f5cff139ba3165323a6a91066be38bfa0736
2023-05-26 13:40:12 -07:00
bootstat
cli-test
code_coverage
debuggerd Limit the number of log messages in a tombstone. 2023-05-24 18:27:16 -07:00
diagnose_usb
fastboot Added test for parsing bad input 2023-04-20 14:11:06 -07:00
fs_mgr libsnapshot: Turn off vabc_legacy_tests on presubmit 2023-05-02 22:09:32 +00:00
gatekeeperd Merge "Add more Gatekeeper OWNERS" 2023-03-09 06:30:37 +00:00
healthd BatteryMonitor: support battery health NOT_AVAILABLE from health status 2023-05-19 14:57:35 +08:00
include
init Merge "Explicit init .rc user." am: f0578771ea am: f90cb6315d am: 0ca68a5b05 2023-04-14 23:20:41 +00:00
janitors
libappfuse
libasyncio
libbinderwrapper
libcrypto_utils
libcutils remove inprocess tethering 2023-05-08 21:16:00 +00:00
libdiskconfig
libgrallocusage
libkeyutils
libmodprobe Use android::base::Basename instead of basename 2023-04-13 21:59:58 -07:00
libnetutils
libpackagelistparser
libprocessgroup Revert "libprocessgroup: Add I/O scheduler attributes to task_profiles.json" 2023-05-12 16:35:06 -07:00
libsparse libsparse: fix double free after block splitting 2023-03-23 20:23:00 +00:00
libstats [TeX] Introduced Telemetry Express Logging APIs 2023-03-24 21:39:53 +00:00
libsuspend
libsync
libsystem
libsysutils
libusbhost
libutils
libvndksupport
llkd
mini_keyctl
mkbootfs
property_service
reboot
rootdir Run art_boot before odsign. 2023-05-11 16:02:30 +01:00
run-as
sdcard
shell_and_utilities
storaged
toolbox toolbox/modprobe: Fix fallback path when mod_dirs is empty 2023-05-26 13:40:12 -07:00
trusty trusty: Add trusty stats test 2023-03-20 21:08:24 +00:00
usbd
watchdogd [LSC] Add LOCAL_LICENSE_KINDS to system/core 2021-02-19 12:59:05 -08:00
.clang-format
.clang-format-2
.clang-format-4 Move clang-formats to build. 2019-01-18 14:26:33 -08:00
.gitignore
CleanSpec.mk snapshotctl don't auto-merge. 2020-03-03 13:19:49 -08:00
METADATA
MODULE_LICENSE_APACHE2
OWNERS Remove baligh@ from owners. CodeShuffle done. 2020-10-17 00:28:10 +00:00
PREUPLOAD.cfg
rustfmt.toml