Skip to content

Commit 1c75cd0

Browse files
fundawangmbroz
authored andcommitted
meson: install binaries
1 parent 267de08 commit 1c75cd0

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

src/meson.build

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ if get_option('cryptsetup')
2525
cryptsetup = executable('cryptsetup',
2626
cryptsetup_files,
2727
dependencies: cryptsetup_deps,
28+
install: true,
29+
install_dir: get_option('sbindir'),
2830
link_with: libcryptsetup,
2931
link_args: link_args,
3032
include_directories: includes_tools)
@@ -45,6 +47,8 @@ if get_option('veritysetup')
4547
veritysetup = executable('veritysetup',
4648
veritysetup_files,
4749
dependencies: veritysetup_deps,
50+
install: true,
51+
install_dir: get_option('sbindir'),
4852
link_with: libcryptsetup,
4953
link_args: link_args,
5054
include_directories: includes_tools)
@@ -68,6 +72,8 @@ if get_option('integritysetup')
6872
integritysetup = executable('integritysetup',
6973
integritysetup_files,
7074
dependencies: integritysetup_deps,
75+
install: true,
76+
install_dir: get_option('sbindir'),
7177
link_with: libcryptsetup,
7278
link_args: link_args,
7379
include_directories: includes_tools)

tokens/ssh/meson.build

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ if get_option('ssh-token')
1212
jsonc,
1313
libssh,
1414
],
15+
install: true,
16+
install_dir: luks2_external_tokens_path,
1517
link_with: libcryptsetup,
1618
link_args: token_link_args,
1719
include_directories: includes_tools + ['..'])
@@ -34,6 +36,8 @@ if get_option('ssh-token')
3436
popt,
3537
pwquality,
3638
],
39+
install: true,
40+
install_dir: get_option('sbindir'),
3741
link_with: libcryptsetup,
3842
include_directories: includes_tools + ['..'])
3943
endif

0 commit comments

Comments
 (0)