Skip to content
Snippets Groups Projects
Verified Commit 2a4320e1 authored by Luca Weiss's avatar Luca Weiss Committed by Clayton Craft
Browse files

main/postmarketos-mkinitfs: use NCM instead of RNDIS (MR 3670)

As described in [0] let's switch away from RNDIS and use NCM instead.

Since we cannot force all kernels to switch at the same time, let's keep
a fallback to RNDIS in the setup function.

We can also remove usb_f_rndis from modprobe as the module gets loaded
automatically when needed, but instead we need to load libcomposite
manually so that $configfs/usb_gadget gets created.

[0] https://gitlab.com/postmarketOS/pmaports/-/issues/1797

[ci:skip-build] already built successfully in CI
parent 2df9debe
Branches
No related tags found
No related merge requests found
Pipeline #207059 passed
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment