]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
Revert "meson: remove one more instance of install_dir:bindir"
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 23 Feb 2021 10:49:49 +0000 (19:49 +0900)
committerLennart Poettering <lennart@poettering.net>
Tue, 23 Feb 2021 12:52:55 +0000 (13:52 +0100)
This reverts commit 5ffa2eaa541b718122a3422e911ef95f4c9981d7.

It seems that if install_dir is not specified, meson decides install path
based on file type, and non-executable binary files are installed under
/usr/share.

kernel-install is a script. So, we need to set install_dir argument
explicitly.

Fixes #18754.

src/kernel-install/meson.build

index 92ce23ecf91628e3830350e16b88aa6693e117ff..4117188f147463913050a1a465e815b9316d076a 100644 (file)
@@ -4,7 +4,8 @@ want_kernel_install = get_option('kernel-install')
 
 if want_kernel_install
         install_data('kernel-install',
-                     install_mode : 'rwxr-xr-x')
+                     install_mode : 'rwxr-xr-x',
+                     install_dir : bindir)
 
         install_data('00-entry-directory.install',
                      '50-depmod.install',