dustin
/
jenkinsagent
Archived
1
0
Fork 0
This repository has been archived on 2023-11-14. You can view files and clone it, but cannot push or open issues/pull-requests.
jenkinsagent/rootfs
Dustin 711a8aa948 rootfs: Update clock epoch at build time
If systemd detects that the system clock is not correct, it sets it to a
"known good" time based on the release date of its version.  Since this
can still be weeks or months in the past, it will use the timestamp of
the `/usr/lib/clock-epoch` file, if it exists, as the reference time.

To get our system clock closer to the correct time earlier in the boot
process, we update the `clock-epoch` file's timestamp during build.
This will cause the clock to be set to approximately the build time of
the root filesystem image.  Presumably, the rootfs image is built
relatively frequently, so the time should be a lot closer to correct
than the systemd release date.
2022-03-15 14:18:29 -05:00
..
overlay rootfs: Persistent storage for Jenkins, Docker 2022-03-15 14:18:29 -05:00
linux.config Initial commit 2022-03-09 00:27:30 -06:00
post-build.sh rootfs: Update clock epoch at build time 2022-03-15 14:18:29 -05:00
post-fakeroot.sh rootfs: Remove /var/log/journal 2022-03-15 14:18:29 -05:00
post-image.sh Initial commit 2022-03-09 00:27:30 -06:00
users rootfs: Create user for Jenkins 2022-03-15 14:18:29 -05:00