mirror of
https://github.com/systemd/systemd.git
synced 2024-10-27 01:55:22 +03:00
meson: add rootprefix option (for Gentoo)
This commit is contained in:
parent
4ff3f251b9
commit
ab916f2e81
@ -28,11 +28,12 @@ m4_defines = []
|
||||
|
||||
#####################################################################
|
||||
|
||||
rootprefixdir = get_option('rootprefix')
|
||||
if get_option('split-usr')
|
||||
conf.set('HAVE_SPLIT_USR', 1)
|
||||
rootprefixdir = '/'
|
||||
rootprefixdir = rootprefixdir != '' ? rootprefixdir : '/'
|
||||
else
|
||||
rootprefixdir = '/usr'
|
||||
rootprefixdir = rootprefixdir != '' ? rootprefixdir : '/usr'
|
||||
endif
|
||||
|
||||
sysvinit_path = get_option('sysvinit-path')
|
||||
|
@ -4,6 +4,8 @@ option('split-usr', type : 'boolean', value : false,
|
||||
description : '''assume that /bin, /sbin aren't symlinks into /usr''')
|
||||
option('rootlibdir', type : 'string',
|
||||
description : '''[/usr]/lib/x86_64-linux-gnu or such''')
|
||||
option('rootprefix', type : 'string',
|
||||
description : '''override the root prefix''')
|
||||
|
||||
option('sysvinit-path', type : 'string', value : '/etc/init.d',
|
||||
description : 'the directory where the SysV init scripts are located')
|
||||
|
Loading…
Reference in New Issue
Block a user