mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-07 21:16:57 +02:00
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. |
||
---|---|---|
.. | ||
base_container_util.sh | ||
base_image_util.sh | ||
board_options.sh | ||
build_common.sh | ||
build_image_util.sh | ||
cgpt_shell.sh | ||
cgpt.py | ||
check_deps | ||
chromeos_blacklist | ||
create_legacy_bootloader_templates.sh | ||
dev_image_util.sh | ||
disk_layout_util.sh | ||
generate_au_zip.py | ||
legacy_disk_layout.json | ||
mount_gpt_util.sh | ||
test_build_root | ||
test_image_content.sh | ||
test_image_util.sh |