2b1fbfd4bc
Here the root filesystem is managed by OSTree. OSTree is designed to manage/deploy read-only filesystem. For read-only filesystem, hardlink all files with same content is safe and can save disk space. It is a good principle for readonly folders like /bin, /lib and so on. While "/var" is somehow special that it is designed to store variable data files, it can not be read-only, it must be read-write. Files in "/var" should not be hardlinked together like other folders, break them to make it. Do the same for /usr/homedirs/home as it gets mounted at /var/home at runtime. Test Plan: Pass: build ISO image Pass: In runtime system, no hardlink in /var Story: 2008862 Task: 45966 Related-Bug: #1983580 Change-Id: I1a61f919e0a60f83e27b6c0bf402c20c2d43abb4 Signed-off-by: Zhang Xiao <xiao.zhang@windriver.com> |
||
---|---|---|
.. | ||
0001-Prevent-auto-expansion-of-fluxdata-partition.patch | ||
0002-debian-Add-CentOS-compatible-initial-AIO-partitionin.patch | ||
0003-debian-Copy-sysroot-var-log-to-LVM-volume.patch | ||
0004-Wipe-signatures-and-zero-first-4KiB.patch | ||
0005-Make-boot-efi-mount-as-rw.patch | ||
0006-debian-set-default-size-variables-in-install-script.patch | ||
0007-Wait-for-devices-to-be-configured-after-boot.patch | ||
0008-init-ostree-install.sh-break-hardlink-in-var.patch | ||
series |