Skip to content

Commit

Permalink
Makefile: create /usr/lib/clock-epoch
Browse files Browse the repository at this point in the history
When there is no RTC systemd will use either it's own build date
or `/usr/lib/clock-epoch` to "seed" the initial time. So far we
did not create /usr/lib/clock-epoch but this commit adds it.
  • Loading branch information
mvo5 committed Jul 28, 2022
1 parent a27622b commit ba61659
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ install:
fi && \
rm -f $(DESTDIR)/tmp/$$(basename $$f); \
done;
# see https://github.com/systemd/systemd/blob/v247/src/shared/clock-util.c#L145
touch $(DESTDIR)/usr/lib/clock-epoch

# only generate manifest and dpkg.yaml file for lp build
if [ -e /build/core20 ]; then \
Expand Down

0 comments on commit ba61659

Please sign in to comment.