summaryrefslogtreecommitdiffstats
path: root/core/modules/systemd-distro
diff options
context:
space:
mode:
authorJonathan Bauer2016-12-23 13:12:09 +0100
committerJonathan Bauer2016-12-23 13:12:09 +0100
commit6806ae4a850fc7785a8c05304237cf53b5b8f951 (patch)
treeb1dd8413d6c7b9a250251da7f0d49bb52b4ddc57 /core/modules/systemd-distro
parentwrong kernel version variable used (diff)
downloadmltk-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.build4
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"