diff options
author | Simon Rettberg | 2019-09-13 12:27:42 +0200 |
---|---|---|
committer | Simon Rettberg | 2019-09-13 12:27:42 +0200 |
commit | 942587cd11eb72b5d709dbe9831fd726315f060e (patch) | |
tree | b46a40f8d9688bd94a5cd86c91fdcb5efc52824e | |
parent | [dhcpc-busybox] Fix default route setting (diff) | |
download | mltk-942587cd11eb72b5d709dbe9831fd726315f060e.tar.gz mltk-942587cd11eb72b5d709dbe9831fd726315f060e.tar.xz mltk-942587cd11eb72b5d709dbe9831fd726315f060e.zip |
[sudo] Add sudo
-rw-r--r-- | core/modules/sudo/module.build | 14 | ||||
-rw-r--r-- | core/modules/sudo/module.conf | 6 | ||||
-rw-r--r-- | core/modules/sudo/module.conf.ubuntu | 4 | ||||
l--------- | core/targets/stage32-bwlp/sudo | 1 |
4 files changed, 25 insertions, 0 deletions
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 |