summaryrefslogtreecommitdiffstats
path: root/core/modules/etherwake
diff options
context:
space:
mode:
authorSimon Rettberg2018-03-22 12:10:38 +0100
committerSimon Rettberg2018-03-22 12:10:38 +0100
commita1ca08a2301c68523b38f19ef1c5208db6beeec4 (patch)
tree8ef4ee1248364284e9fce846ebb776c3e1aca6b8 /core/modules/etherwake
parent[vmchooser] Weg damit (diff)
downloadmltk-a1ca08a2301c68523b38f19ef1c5208db6beeec4.tar.gz
mltk-a1ca08a2301c68523b38f19ef1c5208db6beeec4.tar.xz
mltk-a1ca08a2301c68523b38f19ef1c5208db6beeec4.zip
[etherwake] New module
Diffstat (limited to 'core/modules/etherwake')
-rw-r--r--core/modules/etherwake/module.build18
-rw-r--r--core/modules/etherwake/module.conf4
-rw-r--r--core/modules/etherwake/module.conf.ubuntu7
3 files changed, 29 insertions, 0 deletions
diff --git a/core/modules/etherwake/module.build b/core/modules/etherwake/module.build
new file mode 100644
index 00000000..b84094ff
--- /dev/null
+++ b/core/modules/etherwake/module.build
@@ -0,0 +1,18 @@
+#!/bin/bash
+
+fetch_source() {
+ :
+}
+
+build() {
+ COPYLIST="list_dpkg_output"
+ rm -f -- "$COPYLIST"
+
+ list_packet_files >> "$COPYLIST"
+ tarcopy "$(cat "$COPYLIST" | sort -u)" "${MODULE_BUILD_DIR}"
+}
+
+post_copy() {
+ :
+}
+
diff --git a/core/modules/etherwake/module.conf b/core/modules/etherwake/module.conf
new file mode 100644
index 00000000..561c0524
--- /dev/null
+++ b/core/modules/etherwake/module.conf
@@ -0,0 +1,4 @@
+#!/bin/bash
+REQUIRED_BINARIES="
+ etherwake
+"
diff --git a/core/modules/etherwake/module.conf.ubuntu b/core/modules/etherwake/module.conf.ubuntu
new file mode 100644
index 00000000..f06c36f8
--- /dev/null
+++ b/core/modules/etherwake/module.conf.ubuntu
@@ -0,0 +1,7 @@
+#!/bin/bash
+REQUIRED_INSTALLED_PACKAGES="
+ etherwake
+"
+REQUIRED_CONTENT_PACKAGES="
+ etherwake
+"