diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2017-04-10 05:55:05 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2017-04-24 03:47:27 +0200 |
commit | 94e75a54097b32252ef86e9253a288db7529f1ea (patch) | |
tree | cddc53ebc24428981faa4df1c395621846bee80c /units | |
parent | meson: add unit installation symlinks (diff) | |
download | systemd-94e75a54097b32252ef86e9253a288db7529f1ea.tar.xz systemd-94e75a54097b32252ef86e9253a288db7529f1ea.zip |
meson: create dirs and touch /usr
This is the equivalent of $(INSTALL_DIRS) and install-touch-usr-hook.
I did not bother to create the directories into which we install files,
since they will be created anyway.
v2:
- remove bashism
Diffstat (limited to 'units')
-rw-r--r-- | units/meson.build | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/units/meson.build b/units/meson.build index 3dfb9853f6..957153c0b5 100644 --- a/units/meson.build +++ b/units/meson.build @@ -307,4 +307,12 @@ foreach tuple : m4_in_units endif endforeach +if conf.get('HAVE_SYSV_COMPAT', 0) == 1 + foreach i : [1, 2, 3, 4, 5] + meson.add_install_script('sh', '-c', + mkdir_p + .format(systemunitdir + '/runlevel@0@.target.wants'.format(i))) + endforeach +endif + subdir('user') |