pmaports/.ci
Dylan Van Assche 4b92e922ef
main/postmarketos-base-ui: enable USB tethering (MR 3819)
USB tethering allows users to use their phone's WiFi or WWAN interface
as an access point for the device they connect the phone with over USB.
This way, they can use their data plan with a laptop or desktop when
regular Internet access is absent.

Configure NetworkManager to manage the usb0 iface from initfs so users
can configure it in GNOME Settings or KDE. Include a NetworkManager
dispatcher script as well to handle postmarketOS' setup with unudhcpd as
we want to provide an SSH login over USB when tethering is disabled. If
tethering is enabled, unudhpcd is stopped and its functionality is taken
over by NetworkManager through an instance of dnsmasq. NetworkManager
will also configure the necessary settings to allow IP forwarding and
firewall rules during tethering. Once disabled, NetworkManager cleans up
these settings and our dispatcher script starts unudhcpd again.

Due to upstream changes, NetworkManager requires networkmanager-dnsmasq
subpackage as dependency as dnsmasq needs DBus support for
NetworkManager. Without it, NetworkManager will silently fail spawning
dnsmasq instances.
[ci:skip-build]: already built successfully in CI
2023-05-21 19:42:14 +02:00
..
lib CI: kconfig: don't print unrelated warnings (MR 3961) 2023-03-22 09:40:39 -07:00
testcases CI: Support not having "pmbootstrap" in $PATH (MR 3977) 2023-04-02 15:04:13 +02:00
apkbuild-lint.sh CI: adjust scripts to pass shellcheck (MR 3960) 2023-03-20 09:30:55 +01:00
build-aarch64.sh CI: adjust .ci/common.py users to pmbootstrap ci (MR 3608) 2022-11-17 19:10:56 +01:00
build-armhf.sh CI: adjust .ci/common.py users to pmbootstrap ci (MR 3608) 2022-11-17 19:10:56 +01:00
build-armv7.sh CI: adjust .ci/common.py users to pmbootstrap ci (MR 3608) 2022-11-17 19:10:56 +01:00
build-riscv64.sh CI: adjust .ci/common.py users to pmbootstrap ci (MR 3608) 2022-11-17 19:10:56 +01:00
build-x86.sh CI: adjust .ci/common.py users to pmbootstrap ci (MR 3608) 2022-11-17 19:10:56 +01:00
build-x86_64.sh CI: adjust .ci/common.py users to pmbootstrap ci (MR 3608) 2022-11-17 19:10:56 +01:00
commits.sh CI: bump copyright to 2023 2023-01-26 08:40:40 +01:00
ec.sh CI scripts: fix typo in URL (MR 3655) 2022-11-20 16:50:42 +01:00
flake8.sh CI scripts: fix typo in URL (MR 3655) 2022-11-20 16:50:42 +01:00
grep.sh CI: adjust scripts to pass shellcheck (MR 3960) 2023-03-20 09:30:55 +01:00
kconfig.sh CI: kconfig: don't print unrelated warnings (MR 3961) 2023-03-22 09:40:39 -07:00
pytest.sh CI: adjust scripts to pass shellcheck (MR 3960) 2023-03-20 09:30:55 +01:00
shellcheck.sh main/postmarketos-base-ui: enable USB tethering (MR 3819) 2023-05-21 19:42:14 +02:00
wiki.sh CI scripts: fix typo in URL (MR 3655) 2022-11-20 16:50:42 +01:00