diff options
author | Jonathan Bauer | 2016-12-23 13:12:09 +0100 |
---|---|---|
committer | Jonathan Bauer | 2016-12-23 13:12:09 +0100 |
commit | 6806ae4a850fc7785a8c05304237cf53b5b8f951 (patch) | |
tree | b1dd8413d6c7b9a250251da7f0d49bb52b4ddc57 /core/modules/systemd-distro | |
parent | wrong kernel version variable used (diff) | |
download | mltk-6806ae4a850fc7785a8c05304237cf53b5b8f951.tar.gz mltk-6806ae4a850fc7785a8c05304237cf53b5b8f951.tar.xz mltk-6806ae4a850fc7785a8c05304237cf53b5b8f951.zip |
merge with latest dev version (tm-scripts commit f5a59daf8d70a9027118292cd40b18c221897408)
Diffstat (limited to 'core/modules/systemd-distro')
-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" |