diff options
Diffstat (limited to 'core/modules/systemd-distro/module.build')
-rw-r--r-- | core/modules/systemd-distro/module.build | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/modules/systemd-distro/module.build b/core/modules/systemd-distro/module.build index fa29a75f..8e5d3505 100644 --- a/core/modules/systemd-distro/module.build +++ b/core/modules/systemd-distro/module.build @@ -3,6 +3,10 @@ fetch_source () { } build () { + if ! which systemd >/dev/null; then + pwarning "No systemd binary found in PATH. " + perror "Make sure the system uses systemd before using this module." + fi COPYLIST="list_dpkg_output" [ -e "$COPYLIST" ] && rm "$COPYLIST" list_packet_files >> "$COPYLIST" |