1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-12 11:12:06 +00:00

php-settings.yml: Note lack of systemd on chroot GHA runners for RPi

This commit is contained in:
A Holt 2025-01-29 03:43:03 -05:00 committed by GitHub
parent 668d57cb97
commit 4da759a84b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -24,6 +24,12 @@
# nec, then (3) if neither exist, "UTC" is declared (correctly!) Potential
# drawback: timedatectl is not easily usable within chroot environments.
# 2025-01-29: Current GitHub Actions chroot environments for RPi (using guyot/arm-runner-action@v2) surface this error, after PR #3927 mainlined php-settings.yml...
# "System has not been booted with systemd as init system (PID 1). Can't operate.\nFailed to connect to bus: Host is down"
# ...which might be mitigated in 2 ways:
# 1) Try spawning these "guyot/arm-runner-action@v2" GHA workflows with... use_systemd_nspawn: true
# 2) Weaken timedatectl command just below, trying this instead... shell: readlink /etc/localtime | sed 's#^/usr/share/zoneinfo/##'
- name: Extract Time Zone from symlink /etc/localtime &/or text file /etc/timezone (or lack thereof!)
command: timedatectl show -p Timezone --value
register: tz_cli