Files
LFS-PKGBUILDs/sys-apps/systemd-257.8/25-systemd-binfmt.HOOK
T
2025-12-30 09:15:07 -05:00

15 lines
313 B
Plaintext

target=(/usr/lib/binfmt.d/*.conf)
triggers=("install")
operation(){
if systemd-detect-virt --chroot; then
echo >&2 " Skipped: Running in chroot."
exit 0
fi
if ! systemd-notify --booted; then
echo >&2 " Skipped: Current root is not booted."
exit 0
fi
/usr/lib/systemd/systemd-binfmt
}