We'll handle the reproducible builds part of this together with all
the other changes for reproducible builds.
Fixes #1218
(state.root / "etc/initrd-release").symlink_to("/etc/os-release")
+def configure_clock(state: MkosiState) -> None:
+ with umask(~0o644):
+ (state.root / "usr/lib/clock-epoch").touch()
+
+
def run_depmod(state: MkosiState) -> None:
if state.config.bootable == ConfigFeature.disabled:
return
configure_autologin(state)
configure_initrd(state)
configure_ssh(state)
+ configure_clock(state)
install_boot_loader(state)
run_sysusers(state)