diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2022-07-01 13:08:31 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2022-07-12 09:24:43 +0200 |
commit | f875e6bc399614401b245751dec04918407e754d (patch) | |
tree | 804da8e21470727c4c1871e2535fdbeead7c3d7b /src/kernel-install/meson.build | |
parent | kernel-install: mark the plugins as executable in git (diff) | |
download | systemd-f875e6bc399614401b245751dec04918407e754d.tar.xz systemd-f875e6bc399614401b245751dec04918407e754d.zip |
test-kernel-install: add a simple test that kernel-install copies the files
I opted to tweaking kernel-install to allow overriding config
(with $KERNEL_INSTALL_CONF_ROOT, $KERNEL_INSTALL_PLUGINS). An alternative
would be to build a test environment in test/. We can still do that,
but I think it's nice to have a simple test that is very quick and easy
to debug.
Invocation as installkernel is for #23681.
Diffstat (limited to 'src/kernel-install/meson.build')
-rw-r--r-- | src/kernel-install/meson.build | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/kernel-install/meson.build b/src/kernel-install/meson.build index 06c1c3aafb..90a0e3ae49 100644 --- a/src/kernel-install/meson.build +++ b/src/kernel-install/meson.build @@ -1,10 +1,11 @@ # SPDX-License-Identifier: LGPL-2.1-or-later kernel_install_in = files('kernel-install.in') +loaderentry_install = files('90-loaderentry.install') if want_kernel_install install_data('50-depmod.install', - '90-loaderentry.install', + loaderentry_install, install_mode : 'rwxr-xr-x', install_dir : kernelinstalldir) @@ -16,4 +17,5 @@ if want_kernel_install mkdir_p.format(sysconfdir / 'kernel/install.d')) endif + test_kernel_install_sh = find_program('test-kernel-install.sh') endif |