From 942587cd11eb72b5d709dbe9831fd726315f060e Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Fri, 13 Sep 2019 12:27:42 +0200 Subject: [sudo] Add sudo --- core/modules/sudo/module.build | 14 ++++++++++++++ core/modules/sudo/module.conf | 6 ++++++ core/modules/sudo/module.conf.ubuntu | 4 ++++ core/targets/stage32-bwlp/sudo | 1 + 4 files changed, 25 insertions(+) create mode 100644 core/modules/sudo/module.build create mode 100644 core/modules/sudo/module.conf create mode 100644 core/modules/sudo/module.conf.ubuntu create mode 120000 core/targets/stage32-bwlp/sudo diff --git a/core/modules/sudo/module.build b/core/modules/sudo/module.build new file mode 100644 index 00000000..5fa3a36f --- /dev/null +++ b/core/modules/sudo/module.build @@ -0,0 +1,14 @@ +#!/bin/bash +fetch_source() { + : +} + +build() { + COPYLIST="list_dpkg_output" + list_packet_files > "$COPYLIST" + tarcopy "$(cat "${COPYLIST}" | sort -u)" "${MODULE_BUILD_DIR}" +} + +post_copy() { + : +} diff --git a/core/modules/sudo/module.conf b/core/modules/sudo/module.conf new file mode 100644 index 00000000..d2a78785 --- /dev/null +++ b/core/modules/sudo/module.conf @@ -0,0 +1,6 @@ +#!/bin/bash +REQUIRED_BINARIES=" + sudo +" +REQUIRED_LIBRARIES="" +REQUIRED_DIRECTORIES="" diff --git a/core/modules/sudo/module.conf.ubuntu b/core/modules/sudo/module.conf.ubuntu new file mode 100644 index 00000000..1fda609e --- /dev/null +++ b/core/modules/sudo/module.conf.ubuntu @@ -0,0 +1,4 @@ +#!/bin/bash +REQUIRED_CONTENT_PACKAGES=" + sudo +" diff --git a/core/targets/stage32-bwlp/sudo b/core/targets/stage32-bwlp/sudo new file mode 120000 index 00000000..5c0a121b --- /dev/null +++ b/core/targets/stage32-bwlp/sudo @@ -0,0 +1 @@ +../../modules/sudo \ No newline at end of file -- cgit v1.2.3-55-g7522