Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornl6720 <nl6720@gmail.com>2023-12-08 11:09:38 +0200
committernl6720 <nl6720@gmail.com>2023-12-08 11:09:38 +0200
commitc96c2bef481799f566f80fb2ceff874030e5f0b3 (patch)
treefcacec9619bfcbe69fec8f3869f59799ccda62af
parent977e0b0fd4acf32fefc872977694aa9e041fa255 (diff)
parente11875e951bf3ebf9f7a033a91e0397683789285 (diff)
Merge remote-tracking branch 'origin/merge-requests/355'
By John Lane * origin/merge-requests/355: update changelog Allow download automated script using TFTP See merge request https://gitlab.archlinux.org/archlinux/archiso/-/merge_requests/355
-rw-r--r--CHANGELOG.rst1
-rwxr-xr-xconfigs/releng/airootfs/root/.automated_script.sh2
2 files changed, 2 insertions, 1 deletions
diff --git a/CHANGELOG.rst b/CHANGELOG.rst
index 0888737..93b044e 100644
--- a/CHANGELOG.rst
+++ b/CHANGELOG.rst
@@ -9,6 +9,7 @@ Added
-----
- Add bcachefs-tools to releng for access to bcachefs userspace tools.
+- Add tftp as a valid protocol for downloading automated boot script.
Changed
-------
diff --git a/configs/releng/airootfs/root/.automated_script.sh b/configs/releng/airootfs/root/.automated_script.sh
index 8e72bf7..0d95012 100755
--- a/configs/releng/airootfs/root/.automated_script.sh
+++ b/configs/releng/airootfs/root/.automated_script.sh
@@ -16,7 +16,7 @@ automated_script() {
local script rt
script="$(script_cmdline)"
if [[ -n "${script}" && ! -x /tmp/startup_script ]]; then
- if [[ "${script}" =~ ^((http|https|ftp)://) ]]; then
+ if [[ "${script}" =~ ^((http|https|ftp|tftp)://) ]]; then
# there's no synchronization for network availability before executing this script
printf '%s: waiting for network-online.target\n' "$0"
until systemctl --quiet is-active network-online.target; do