Skip to content

hook-functions: Handle msm hidden depency on qrtr

We add pmic_glink_altmode to the initramfs as a hidden dependency for the msm module needed for display on Qualcomm devices. Following a dependency chain of pmic_glink -> pdr_interface -> qmi_helpers, modprobe also includes these along with it. Although the latter also has a hidden dependency on qrtr that we handle, qrtr can end up missing from the initramfs because we do not recursively handle hidden dependencies of hidden dependencies.

Add qrtr also to the hidden dependency list of msm so it gets properly included in this case.

Merge request reports

Loading