From 6806ae4a850fc7785a8c05304237cf53b5b8f951 Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Fri, 23 Dec 2016 13:12:09 +0100 Subject: merge with latest dev version (tm-scripts commit f5a59daf8d70a9027118292cd40b18c221897408) --- core/modules/systemd-distro/module.build | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'core/modules/systemd-distro') 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" -- cgit v1.2.3-55-g7522