<div dir="ltr">Doesn't sound like something we want to be always on. Either keep this in your customisations, or add it as an optional PACKAGECONFIG that you can turn on.<div><br></div><div>Ross</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 22 November 2017 at 13:30, Kristian Amlie <span dir="ltr"><<a href="mailto:kristian.amlie@northern.tech" target="_blank">kristian.amlie@northern.tech</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">By default, systemd uses its build time as the epoch. When systemd is<br>
launched on a system without a real time clock, this time will be<br>
detected as in the future and an fsck will be done. Setting this to 0<br>
results in an epoch of January 1, 1970 which is detected as an invalid<br>
time and the fsck will be skipped.<br>
<br>
Signed-off-by: Kristian Amlie <kristian.amlie@northern.tech><br>
---<br>
meta/recipes-core/systemd/<a href="http://systemd_234.bb" rel="noreferrer" target="_blank">syst<wbr>emd_234.bb</a> | 1 +<br>
1 file changed, 1 insertion(+)<br>
<br>
diff --git a/meta/recipes-core/systemd/<a href="http://systemd_234.bb" rel="noreferrer" target="_blank">sy<wbr>stemd_234.bb</a> b/meta/recipes-core/systemd/<a href="http://systemd_234.bb" rel="noreferrer" target="_blank">sy<wbr>stemd_234.bb</a><br>
index 6b8745b..86c04fe 100644<br>
--- a/meta/recipes-core/systemd/<a href="http://systemd_234.bb" rel="noreferrer" target="_blank">sy<wbr>stemd_234.bb</a><br>
+++ b/meta/recipes-core/systemd/<a href="http://systemd_234.bb" rel="noreferrer" target="_blank">sy<wbr>stemd_234.bb</a><br>
@@ -170,6 +170,7 @@ EXTRA_OECONF = " --with-rootprefix=${<wbr>rootprefix} \<br>
--without-python \<br>
--with-sysvrcnd-path=${<wbr>sysconfdir} \<br>
--with-firmware-path=${<wbr>nonarch_base_libdir}/firmware \<br>
+ --with-time-epoch=0 \<br>
"<br>
# per the systemd README, define VALGRIND=1 to run under valgrind<br>
CFLAGS .= "${@bb.utils.contains('<wbr>PACKAGECONFIG', 'valgrind', ' -DVALGRIND=1', '', d)}"<br>
<span class="HOEnZb"><font color="#888888">--<br>
2.7.4<br>
<br>
--<br>
______________________________<wbr>_________________<br>
Openembedded-core mailing list<br>
<a href="mailto:Openembedded-core@lists.openembedded.org">Openembedded-core@lists.<wbr>openembedded.org</a><br>
<a href="http://lists.openembedded.org/mailman/listinfo/openembedded-core" rel="noreferrer" target="_blank">http://lists.openembedded.org/<wbr>mailman/listinfo/openembedded-<wbr>core</a><br>
</font></span></blockquote></div><br></div>