]> git.ipfire.org Git - thirdparty/mkosi.git/commit
Only mount cache overlay if base trees are specified and Overlay= is not enabled 2236/head
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Wed, 3 Jan 2024 13:46:16 +0000 (14:46 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Wed, 3 Jan 2024 15:24:38 +0000 (16:24 +0100)
commit6d28883a735680b4637ec6c54e6cae397a57d634
treeabdc610522c4fa806a8ef5a38b30ca781997bdb3
parent5286ee3e45a0c3fcd9562959d0758a1bdc733861
Only mount cache overlay if base trees are specified and Overlay= is not enabled

The setup() method of some distributions creates files in the root
directory which means that checking if the root directory is empty
doesn't work. Instead, let's check if any base trees were specified
explicitly.
mkosi/__init__.py