summaryrefslogtreecommitdiff
path: root/configs/releng/airootfs
diff options
context:
space:
mode:
authorDavid P <megver83@parabola.nu>2021-04-05 19:53:47 -0400
committerDavid P <megver83@parabola.nu>2021-04-05 19:57:56 -0400
commit64f4b3375cc0f1ed2a7e199dc9ea283b22d922b9 (patch)
treea47fa2732da44db3b1ea9e470289b99eb57af6fc /configs/releng/airootfs
parent1f9fd005de7f060870e8d2cdeea7566b18525384 (diff)
sync with archiso
Imported changes: c859978 (HEAD -> master, origin/master, origin/HEAD) Revert "configs/releng: improve UX" 495721a (tag: v52) Add changelog entry for v52 8b6f354 configs/releng: improve UX 9875249 releng/packages: Add archinstall to the list of packages bc007ca Add releases section with PGP information d178183 Reduce amount of checked mirrors 0664efc Allow redirects for scripts d86f860 configs/releng: add and enable ModemManager 2c9eabd configs/releng: start DHCP client for mobile broadband edfb50a configs/releng: rename 20-wireless.network to 20-wlan.network Parabola changes: * lxde-openrc: update profiledef.sh Signed-off-by: David P <megver83@parabola.nu>
Diffstat (limited to 'configs/releng/airootfs')
-rw-r--r--configs/releng/airootfs/etc/motd4
-rw-r--r--configs/releng/airootfs/etc/systemd/network/20-wwan.network15
l---------configs/releng/airootfs/etc/systemd/system/dbus-org.freedesktop.ModemManager1.service1
l---------configs/releng/airootfs/etc/systemd/system/multi-user.target.wants/ModemManager.service1
-rw-r--r--configs/releng/airootfs/etc/xdg/reflector/reflector.conf2
-rwxr-xr-xconfigs/releng/airootfs/root/.automated_script.sh2
6 files changed, 21 insertions, 4 deletions
diff --git a/configs/releng/airootfs/etc/motd b/configs/releng/airootfs/etc/motd
index 4c7a45d..e94c5c5 100644
--- a/configs/releng/airootfs/etc/motd
+++ b/configs/releng/airootfs/etc/motd
@@ -2,8 +2,8 @@ To install Parabola GNU/Linux-libre follow the installation guide:
https://wiki.parabola.nu/Installation_Guide
For Wi-Fi, authenticate to the wireless network using the iwctl utility.
-Ethernet and Wi-Fi connections using DHCP should work automatically.
+For mobile broadband (WWAN) modems, connect with the mmcli utility.
+Ethernet, WLAN and WWAN interfaces using DHCP should work automatically.
After connecting to the internet, the installation guide can be accessed
via the convenience script Installation_guide.
-
diff --git a/configs/releng/airootfs/etc/systemd/network/20-wwan.network b/configs/releng/airootfs/etc/systemd/network/20-wwan.network
new file mode 100644
index 0000000..cc946fe
--- /dev/null
+++ b/configs/releng/airootfs/etc/systemd/network/20-wwan.network
@@ -0,0 +1,15 @@
+#
+# SPDX-License-Identifier: GPL-3.0-or-later
+
+[Match]
+Type=wwan
+
+[Network]
+DHCP=yes
+IPv6PrivacyExtensions=yes
+
+[DHCPv4]
+RouteMetric=2048
+
+[DHCPv6]
+RouteMetric=2048
diff --git a/configs/releng/airootfs/etc/systemd/system/dbus-org.freedesktop.ModemManager1.service b/configs/releng/airootfs/etc/systemd/system/dbus-org.freedesktop.ModemManager1.service
new file mode 120000
index 0000000..dcf7c8e
--- /dev/null
+++ b/configs/releng/airootfs/etc/systemd/system/dbus-org.freedesktop.ModemManager1.service
@@ -0,0 +1 @@
+/usr/lib/systemd/system/ModemManager.service \ No newline at end of file
diff --git a/configs/releng/airootfs/etc/systemd/system/multi-user.target.wants/ModemManager.service b/configs/releng/airootfs/etc/systemd/system/multi-user.target.wants/ModemManager.service
new file mode 120000
index 0000000..dcf7c8e
--- /dev/null
+++ b/configs/releng/airootfs/etc/systemd/system/multi-user.target.wants/ModemManager.service
@@ -0,0 +1 @@
+/usr/lib/systemd/system/ModemManager.service \ No newline at end of file
diff --git a/configs/releng/airootfs/etc/xdg/reflector/reflector.conf b/configs/releng/airootfs/etc/xdg/reflector/reflector.conf
index 7b37d89..9a72b0d 100644
--- a/configs/releng/airootfs/etc/xdg/reflector/reflector.conf
+++ b/configs/releng/airootfs/etc/xdg/reflector/reflector.conf
@@ -2,5 +2,5 @@
--save /etc/pacman.d/mirrorlist
--protocol https
---latest 70
+--latest 20
--sort rate
diff --git a/configs/releng/airootfs/root/.automated_script.sh b/configs/releng/airootfs/root/.automated_script.sh
index ed3a924..5c0c316 100755
--- a/configs/releng/airootfs/root/.automated_script.sh
+++ b/configs/releng/airootfs/root/.automated_script.sh
@@ -16,7 +16,7 @@ automated_script ()
script="$(script_cmdline)"
if [[ -n "${script}" && ! -x /tmp/startup_script ]]; then
if [[ "${script}" =~ ^((http|https|ftp)://) ]]; then
- curl "${script}" --retry-connrefused -s -o /tmp/startup_script >/dev/null
+ curl "${script}" --location --retry-connrefused -s -o /tmp/startup_script >/dev/null
rt=$?
else
cp "${script}" /tmp/startup_script