Skip to content

Commit 5d2d86c

Browse files
lucarin91Xayton
andauthored
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 82cc3e4 commit 5d2d86c

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
@@ -310,6 +310,13 @@ actions:
310310
set -eux
311311
update-alternatives --set regulatory.db /lib/firmware/regulatory.db-upstream
312312
313+
- action: run
314+
description: update systemd timesync clock
315+
chroot: true
316+
command: |
317+
mkdir -p /var/lib/systemd/timesync
318+
touch /var/lib/systemd/timesync/clock
319+
313320
- action: run
314321
description: Find partitions minimal sizes
315322
command: |

0 commit comments

Comments
 (0)