diff options
author | Lennart Poettering <lennart@poettering.net> | 2023-06-28 19:18:03 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-28 19:18:03 +0200 |
commit | 5e4c66450c590622110623014c9512a44e8a63e0 (patch) | |
tree | ddcdb5812b0f426d176197476eca4fa512c5b3b3 /meson.build | |
parent | update NEWS (diff) | |
parent | PID1: detect battery level in initrd and if low refuse continuing to boot, pr... (diff) | |
download | systemd-5e4c66450c590622110623014c9512a44e8a63e0.tar.xz systemd-5e4c66450c590622110623014c9512a44e8a63e0.zip |
Merge pull request #27830 from 1awesomeJ/initrd
PID1: Detect battery level in initrd and if low refuse continuing to …
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/meson.build b/meson.build index e6ea55c0d9..c50de25146 100644 --- a/meson.build +++ b/meson.build @@ -3846,6 +3846,16 @@ public_programs += executable( install : true, install_dir : rootbindir) +public_programs += executable( + 'systemd-battery-check', + 'src/battery-check/battery-check.c', + include_directories : includes, + link_with : [libshared], + dependencies : [userspace, versiondep], + install_rpath : rootpkglibdir, + install_dir : rootlibexecdir, + install : true) + # Protecting files from the distro in /usr doesn't make sense since they can be trivially accessed otherwise, # so don't restrict the access mode in /usr. That doesn't apply to /etc, so we do restrict the access mode # there. |