integ/ostree/initramfs-ostree/debian/patches
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
..
0001-Prevent-auto-expansion-of-fluxdata-partition.patch debian: Allow ISO installs to proceed without user prompts 2022-02-28 02:20:28 -05:00
0002-debian-Add-CentOS-compatible-initial-AIO-partitionin.patch debian: Make /boot/efi mount as rw 2022-04-08 14:13:25 -04:00
0003-debian-Copy-sysroot-var-log-to-LVM-volume.patch debian: Make /boot/efi mount as rw 2022-04-08 14:13:25 -04:00
0004-Wipe-signatures-and-zero-first-4KiB.patch debian: Make /boot/efi mount as rw 2022-04-08 14:13:25 -04:00
0005-Make-boot-efi-mount-as-rw.patch debian: Make /boot/efi mount as rw 2022-04-08 14:13:25 -04:00
0006-debian-set-default-size-variables-in-install-script.patch debian: set default size variables in install script 2022-04-22 14:35:23 +08:00
0007-Wait-for-devices-to-be-configured-after-boot.patch Debian: Wait for devices to be configured after boot 2022-07-20 17:46:34 +03:00
0008-init-ostree-install.sh-break-hardlink-in-var.patch Debian: Break hardlinks in /var 2022-08-11 22:47:56 +08:00
series Debian: Break hardlinks in /var 2022-08-11 22:47:56 +08:00