summaryrefslogtreecommitdiffstats
path: root/.github/workflows/development_freeze.yml
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2023-05-08 18:44:01 +0200
committerDaan De Meyer <daan.j.demeyer@gmail.com>2023-05-10 18:07:47 +0200
commite57b7020d2ee89d9c906bcefa091d31b067dedcc (patch)
treee16f23cbadb2ad96a69423c4fce51456d2f74439 /.github/workflows/development_freeze.yml
parentudev: do not set ID_PATH and by-path symlink for nvmf disks (diff)
downloadsystemd-e57b7020d2ee89d9c906bcefa091d31b067dedcc.tar.xz
systemd-e57b7020d2ee89d9c906bcefa091d31b067dedcc.zip
repart: Fix deny list logic
Until now, we always excluded the top level directories that were covered by child partition mount points, regardless of the source directory and the target directory of the copy files operation. This means that even if we were populating a XBOOTLDR partition, if there was an EFI partition in the image, we'd exclude /boot unconditionally, leading to the XBOOTLDR partition to be empty. Also, because of the same cause, if we were copying a nested source directory (e.g. /abc/def) to the root directory in the root partition, if /abc/def/usr existed and was populated with files and directories, the root partition would have those files under /usr, even if a /usr partition was defined. To fix these issues, instead of unconditionally excluding the top level partition mount points under <source>, let's make sure that when we're copying files from any source directory to the root directory of a root partition, that we exclude the partition mount point directories under the source directory instead of the top level ones.
Diffstat (limited to '.github/workflows/development_freeze.yml')
0 files changed, 0 insertions, 0 deletions