meson: Work around Meson install_subdir limitation

When install_subdir encounters a mkosi.tools tree with a /bin to
/usr/bin symlink it fails to copy it because it dereferences but still
treats it like a file.
Work around the Meson bug by excluding the mkosi.tools tree from
installation like mkosi.local is excluded. We anyway don't want the
tools tree end up there.
This commit is contained in:
Kai Lüke
2026-03-03 16:32:14 +09:00
committed by Yu Watanabe
parent fbf533859f
commit 1f0bc341c5
+1 -1
View File
@@ -2777,7 +2777,7 @@ if install_tests
install_subdir('mkosi',
install_dir : testsdir,
exclude_files : ['mkosi.local.conf', 'mkosi.key', 'mkosi.crt'],
exclude_directories : ['mkosi.local'])
exclude_directories : ['mkosi.local', 'mkosi.tools'])
endif
############################################################