integ/ostree/initramfs-ostree/debian
Zhang Xiao 2b1fbfd4bc Debian: Break hardlinks in /var
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>
2022-08-11 22:47:56 +08:00
..
deb_patches debian: initramfs-ostree - Initial AIO partition/format support 2022-02-02 06:38:09 -05:00
patches Debian: Break hardlinks in /var 2022-08-11 22:47:56 +08:00
dl_hook ostree: use tarballs to replace the meta-lat and ostree in manifest 2022-01-11 16:14:10 +08:00
meta_data.yaml Debian: initramfs-ostree: upgrade to version 20220518 2022-05-18 16:29:42 +08:00