From a1ca08a2301c68523b38f19ef1c5208db6beeec4 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Thu, 22 Mar 2018 12:10:38 +0100 Subject: [etherwake] New module --- core/modules/etherwake/module.build | 18 ++++++++++++++++++ core/modules/etherwake/module.conf | 4 ++++ core/modules/etherwake/module.conf.ubuntu | 7 +++++++ 3 files changed, 29 insertions(+) create mode 100644 core/modules/etherwake/module.build create mode 100644 core/modules/etherwake/module.conf create mode 100644 core/modules/etherwake/module.conf.ubuntu (limited to 'core/modules/etherwake') 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 +" -- cgit v1.2.3-55-g7522