mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-09-22 23:10:18 +00:00
android-tools: recommend the USB gadget modules adbd needs
Recommend libcomposite and usb_f_fs from the adbd package. adbd needs both loaded: android-gadget-setup modprobes the first, and the second comes in via request_module when the ffs function is created. Nothing in an image pulls them in, so adbd fails to start on kernels that build them as modules. A kernel with gadget support built in ships no kernel-module packages, which recommendations tolerate. Assisted-by: Claude Code:claude-opus-5 Signed-off-by: Daiane Angolini <daiane.angolini@oss.qualcomm.com> Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
@@ -228,6 +228,7 @@ do_install:append:class-native() {
|
||||
PACKAGES =+ "${PN}-adbd"
|
||||
RDEPENDS:${PN}:class-target = "android-tools-conf-configfs 7zip android-libboringssl"
|
||||
RDEPENDS:${PN}-adbd += "${PN}"
|
||||
RRECOMMENDS:${PN}-adbd += "kernel-module-libcomposite kernel-module-usb-f-fs"
|
||||
PRIVATE_LIBS:${PN} = "liblog.so.0 libbase.so.0 libcutils.so.0"
|
||||
|
||||
inherit useradd
|
||||
|
||||
Reference in New Issue
Block a user