meson: disable rc-local-generator when an empty string is specified to rc-local= meson option

In such case, the generator is meaningless. Let's kill it.
This commit is contained in:
Yu Watanabe
2025-04-03 00:18:48 +09:00
parent b0c9ba4eb1
commit 74f25ea7a9
5 changed files with 13 additions and 5 deletions
+2 -2
View File
@@ -45,8 +45,8 @@ option('sysvinit-path', type : 'string', value : '/etc/init.d',
description : 'the directory where the SysV init scripts are located')
option('sysvrcnd-path', type : 'string', value : '/etc/rc.d',
description : 'the base directory for SysV rcN.d directories')
option('rc-local', type : 'string',
value : '/etc/rc.local')
option('rc-local', type : 'string', value : '/etc/rc.local',
description : 'path to SysV rc.local script')
option('initrd', type : 'boolean',
description : 'install services for use when running systemd in initrd')
option('compat-mutable-uid-boundaries', type : 'boolean', value : false,