mkosi: Fix debian/not-installed build logic
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Wed, 14 Aug 2024 14:51:11 +0000 (16:51 +0200)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 15 Aug 2024 06:48:12 +0000 (15:48 +0900)
commit0409213cbc1f939b6f2f72deabc4c92a7fe30523
tree54c974fa98f7df63ffae5f15805362e9e0809c17
parent6bd12be3fa7761f190e17efdbdbff4440da7528b
mkosi: Fix debian/not-installed build logic

- Expand globs
- Filter out directories
- Append to the list of packaged files, not the list of installed files

Fixes the issue in https://github.com/systemd/systemd/pull/32363
mkosi.images/build/mkosi.conf.d/debian-ubuntu/mkosi.build.chroot