ghactions
ghactions copied to clipboard
get rid of weird timedatectl error
System has not been booted with systemd as init system (PID 1). Can't operate.
> Failed to create bus connection: Host is down
> Warning message:
> In system("timedatectl", intern = TRUE) :
> running command 'timedatectl' had status 1
happens on github actions as per https://github.com/r-lib/ghactions/commit/f00feb030d16e25ea5d0472a583820b6b19dbb6d
You should be able to avoid this by setting the TZ environment variable explicitly e.g. https://github.com/rocker-org/rocker-versioned/issues/89