1
0
mirror of https://github.com/systemd/systemd.git synced 2025-01-24 06:04:05 +03:00
Daan De Meyer 600bf76c17 repart: Allow target directory excludes
Currently, ExcludeFiles= supports excluding directories on the host
from being copied. Let's extend this to also support preventing files
from being copied into specific directories in the partition by adding
a new option ExcludeFilesTarget=. An example where this is useful is
when setting up btrfs subvolumes in the top level that are intended to
be mounted into specific locations, so /usr would be stored in @usr,
/home in @home, .... To accomplish this, we need to copy /usr to @usr
and prevent any files from being copied into /usr in the partition,
which with this commit, we'd be able to do as follows:

```
[Partition]
CopyFiles=/usr:@usr
ExcludeFilesTarget=/usr
```
2023-05-30 13:45:49 +02:00
..
2022-10-14 15:56:58 +02:00
2022-06-28 13:10:05 +02:00
2023-04-13 00:13:44 +08:00
2022-06-28 16:05:31 +02:00
2022-11-16 00:12:16 +01:00
2023-05-15 22:53:22 +02:00
2022-06-28 13:10:05 +02:00
2023-02-12 00:54:07 +01:00
2022-12-07 10:26:31 +01:00
2023-04-22 17:41:17 +01:00
2021-01-04 11:01:17 +00:00
2021-06-30 23:33:00 +09:00
2023-01-19 23:11:36 +09:00
2023-03-08 15:32:59 +01:00
2023-02-22 14:46:19 +09:00
2023-05-15 22:53:22 +02:00
2023-05-15 22:53:22 +02:00
2023-05-15 22:53:22 +02:00
2023-05-15 22:53:22 +02:00
2023-05-15 22:53:22 +02:00
2023-05-15 22:53:22 +02:00
2023-05-15 22:53:22 +02:00
2023-05-15 22:53:22 +02:00
2023-05-15 22:53:22 +02:00
2022-08-23 12:14:58 +02:00
2023-03-14 18:03:32 +01:00
2022-08-28 00:03:36 +09:00
2023-01-20 15:32:16 +09:00
2020-12-16 17:21:48 +01:00