[systemd-devel] [PATCH 2/6] Unit files couldn't be properly parsed, because of ConditionFileNotEmpty absent in load-fragment table.

Oleksii Shevchuk alxchk at gmail.com
Sat Nov 3 12:52:00 PDT 2012


Add missing CONDITION_FILE_NOT_EMPTY
---
 src/core/load-fragment-gperf.gperf.m4 | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/core/load-fragment-gperf.gperf.m4 b/src/core/load-fragment-gperf.gperf.m4
index 0c5cceb..be16ba9 100644
--- a/src/core/load-fragment-gperf.gperf.m4
+++ b/src/core/load-fragment-gperf.gperf.m4
@@ -130,6 +130,7 @@ Unit.ConditionPathIsSymbolicLink,config_parse_unit_condition_path,   CONDITION_P
 Unit.ConditionPathIsMountPoint,  config_parse_unit_condition_path,   CONDITION_PATH_IS_MOUNT_POINT, 0
 Unit.ConditionPathIsReadWrite,   config_parse_unit_condition_path,   CONDITION_PATH_IS_READ_WRITE,  0
 Unit.ConditionDirectoryNotEmpty, config_parse_unit_condition_path,   CONDITION_DIRECTORY_NOT_EMPTY, 0
+Unit.ConditionFileNotEmpty,      config_parse_unit_condition_path,   CONDITION_FILE_NOT_EMPTY,      0
 Unit.ConditionFileIsExecutable,  config_parse_unit_condition_path,   CONDITION_FILE_IS_EXECUTABLE,  0
 Unit.ConditionKernelCommandLine, config_parse_unit_condition_string, CONDITION_KERNEL_COMMAND_LINE, 0
 Unit.ConditionVirtualization,    config_parse_unit_condition_string, CONDITION_VIRTUALIZATION,      0
-- 
1.7.12.4



More information about the systemd-devel mailing list