add systemd-battery-check to init

This commit is contained in:
Tobias Powalowski 2023-11-15 13:46:49 +01:00
parent 16131aaf7a
commit 9432778867

View file

@ -8,7 +8,7 @@ _run ()
: > "${_ROOTFS}"/etc/initrd-release
_map _dir /mnt/{cdrom,ventoy,efi}
# systemd
_map _binary /usr/lib/systemd/systemd{,-journald,-sulogin-shell,-sysctl,-udevd}
_map _binary /usr/lib/systemd/systemd{,-battery-check,-journald,-sulogin-shell,-sysctl,-udevd}
_map _file /usr/lib/systemd/{lib*,system-generators/systemd-fstab-generator}
# only take services from systemd package
pacman -Sy &>"${_NO_LOG}"