chiark / gitweb /
generators: make automatic discovery generators work correctly when reloading
authorLennart Poettering <lennart@poettering.net>
Thu, 6 Mar 2014 17:26:35 +0000 (18:26 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 6 Mar 2014 17:48:22 +0000 (18:48 +0100)
commit6d26dfe11c853d612b84abe858520bbcb62c2e96
treefa967f2db499fba6a084b1b2794510a49a4f6914
parentc3834f9b881f2b1a68dc7d797c134f0b66b47b57
generators: make automatic discovery generators work correctly when reloading

In addition to checking whether the diestination mount point is
populated, check whether it is already a mount point.

If it is already a mount point, or if it is unpopulated, let's create
the unit.
src/efi-boot-generator/efi-boot-generator.c
src/gpt-auto-generator/gpt-auto-generator.c