Skip to content

Commit b2a9294

Browse files
lucarin91Xayton
authored andcommitted
feat: update system clock during build (qualcomm-linux#161)
* feat: update system clock during build * Create the /var/lib/systemd/timesync folder if it does not exist because the systemd-timesyncd service has not run yet. * Fix typo --------- Co-authored-by: Alby <30591904+Xayton@users.noreply.github.com>
1 parent 44071d3 commit b2a9294

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

debos-recipes/qualcomm-linux-debian-rootfs-arduino-extra.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,13 @@ actions:
302302
set -eux
303303
update-alternatives --set regulatory.db /lib/firmware/regulatory.db-upstream
304304
305+
- action: run
306+
description: update systemd timesync clock
307+
chroot: true
308+
command: |
309+
mkdir -p /var/lib/systemd/timesync
310+
touch /var/lib/systemd/timesync/clock
311+
305312
- action: run
306313
description: Find partitions minimal sizes
307314
command: |

0 commit comments

Comments
 (0)