Michael Marineau 31dbe34f10 feat(build_image): Record directories installed in stateful_partition
During builds var_overlay is always mounted over /var. We want to do the
same at run time but we also want to ensure everything expected to be
there always does. After emerge completes gen_tmpfiles.py will scan /var
for any .keep files that were installed and records their parent
directories' permissions and ownership to /usr/lib/tmpfiles.d. On each
boot systemd will automatically recreate anything that goes missing.

This also means that going forward any ebuild that needs a directory in
/var (or anywhere else the stateful partition is bound) can simply rely
on the 'keepdir' ebuild function instead of adding things to
coreos_startup.
2013-06-06 14:18:52 -04:00
2011-08-26 13:04:29 -07:00
2013-01-18 11:40:40 -08:00
2012-08-14 10:17:31 -07:00
Description
image build and composition scripts for Flatcar Container Linux
BSD-3-Clause 164 MiB
Languages
Shell 93.1%
Python 6.9%