openembedded/meta-openembedded

USB_DEBUGGING_ENABLED does not enable adbd

Closed this issue · 1 comments

The following code has no effect because apparently ROOTFS_POSTPROCESS_COMMAND only works in image recipes

ROOTFS_POSTPROCESS_COMMAND_${PN}-adbd += "${@bb.utils.contains("USB_DEBUGGING_ENABLED", "1", "android_tools_enable_devmode;", "", d)}"

Hence, setting USB_DEBUGGING_ENABLED to "1" in local conf does not have the intended effect of enabling adbd.

Workaround is to add the same to your image recipe.