summaryrefslogtreecommitdiffstats
path: root/src/kernel-install/meson.build
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2022-04-05 18:18:56 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2022-04-05 22:18:31 +0200
commit99d8cbceffbae7ce58f47ed4c099bff574689ae4 (patch)
tree4acc4436381efe42cd7d971574024440fb015d6b /src/kernel-install/meson.build
parentmeson: also allow setting GIT_VERSION via templates (diff)
downloadsystemd-99d8cbceffbae7ce58f47ed4c099bff574689ae4.tar.xz
systemd-99d8cbceffbae7ce58f47ed4c099bff574689ae4.zip
meson: make kernel-install a template file, add --version, add to tests
In --help output, change "$0" → "kernel-install". We generally don't include the full path in --help output, and let's not do this here either. kernel-install is now in build/ directly, not in the subdirectory.
Diffstat (limited to 'src/kernel-install/meson.build')
-rw-r--r--src/kernel-install/meson.build6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/kernel-install/meson.build b/src/kernel-install/meson.build
index abc3520b62..06c1c3aafb 100644
--- a/src/kernel-install/meson.build
+++ b/src/kernel-install/meson.build
@@ -1,10 +1,8 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
-if want_kernel_install
- install_data('kernel-install',
- install_mode : 'rwxr-xr-x',
- install_dir : bindir)
+kernel_install_in = files('kernel-install.in')
+if want_kernel_install
install_data('50-depmod.install',
'90-loaderentry.install',
install_mode : 'rwxr-xr-x',