Skip to content

Commit 4e4ab1c

Browse files
committed
meson: install systemd-sulogin-shell too
1 parent d714867 commit 4e4ab1c

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

meson.build

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,7 @@ substs.set('systemenvgeneratordir', systemenvgenerator
199199
substs.set('userenvgeneratordir', userenvgeneratordir)
200200
substs.set('systemshutdowndir', systemshutdowndir)
201201
substs.set('systemsleepdir', systemsleepdir)
202+
substs.set('SYSTEMCTL', rootbindir + '/systemctl')
202203

203204
#####################################################################
204205

@@ -412,6 +413,7 @@ foreach prog : progs
412413
endif
413414
name = prog.length() > 2 ? prog[2] : prog[0].to_upper()
414415
conf.set_quoted(name, path)
416+
substs.set(name, path)
415417
endforeach
416418

417419
# TODO: add ln --relative check
@@ -1041,6 +1043,7 @@ subdir('src/resolve')
10411043
subdir('src/timedate')
10421044
subdir('src/timesync')
10431045
subdir('src/vconsole')
1046+
subdir('src/sulogin-shell')
10441047

10451048
subdir('src/test')
10461049

src/sulogin-shell/meson.build

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# -*- mode: meson -*-
2+
3+
gen = configure_file(
4+
input : 'systemd-sulogin-shell.in',
5+
output : 'systemd-sulogin-shell',
6+
configuration : substs)
7+
8+
install_data(gen,
9+
install_dir : rootlibexecdir)

0 commit comments

Comments
 (0)