pmaports/main/postmarketos-initramfs
Arnav Singh 2a0fab1a77
main/postmarketos-initramfs: support reading USB network UDC name from deviceinfo (MR 4750)
Before this change the script assumed that the device has only one UDC.
However it is possible for a device to have multiple UDCs, in which case
the deviceinfo is the appropriate place to specify which one should be used.
This change adds an optional deviceinfo variable `deviceinfo_usb_network_udc`
to specify the UDC that should be used.

Also, before this change the script assumed the USB network interface name is
"usb0". But other gadget drivers like `g_cdc` can claim USB interfaces
before the initramfs script gets around to creating one for USB networking,
so the interface might be "usb1" or something else. The configfs gadget itself
can provide the actual interface name, so this change makes the script
use that.
2024-01-23 12:21:24 -08:00
..
00-default.modules main/postmarketos-mkinitfs: use NCM instead of RNDIS (MR 3670) 2023-11-20 16:33:57 -08:00
00-initramfs-base.dirs main/postmarketos-initramfs: switch_root with /dev (MR 3230) (MR 4204) 2023-09-07 20:33:55 +01:00
00-initramfs-base.files main/postmarketos-initramfs: add new deviceinfo path to initramfs (MR 4283) 2023-09-25 09:20:32 +02:00
00-initramfs-extra-base.files main/postmarketos-initramfs: switch_root with /dev (MR 3230) (MR 4204) 2023-09-07 20:33:55 +01:00
APKBUILD main/postmarketos-initramfs: support reading USB network UDC name from deviceinfo (MR 4750) 2024-01-23 12:21:24 -08:00
init.sh postmarketos-initramfs: export logs on boot failure (MR 4646) 2024-01-05 17:29:45 +00:00
init_functions.sh main/postmarketos-initramfs: support reading USB network UDC name from deviceinfo (MR 4750) 2024-01-23 12:21:24 -08:00
mdev.conf main/postmarketos-initramfs: use mdev properly (MR 4204) 2023-09-07 20:33:55 +01:00
unudhcpd.conf main/postmarketos-initramfs: support custom IP addresses for USB net (MR 3349) 2023-08-23 13:06:15 -07:00