gokrazy / tools

this repository contains the gok CLI tool of gokrazy
https://gokrazy.org
BSD 3-Clause "New" or "Revised" License
50 stars 26 forks source link

packer: implement waitforclock per-package config files #29

Closed dtchanpura closed 2 years ago

dtchanpura commented 2 years ago

This PR adds a configuration dontstart it is related to https://github.com/gokrazy/gokrazy/pull/105.

This allows wait for the clock to be synced before starting the service

packer.go: adds findWaitForClock() function similar to findDontStart() buildinit.go: adds an exclusive condition with don't start and start to run NewDelayedService() NewWaitForClockService()

stapelberg commented 2 years ago

Can you update your PR to resolve conflicts please?

Also, can you pull in the latest github.com/gokrazy/gokrazy into go.mod please?

dtchanpura commented 2 years ago

Sure, let me do that.

stapelberg commented 2 years ago

Thanks!