summaryrefslogtreecommitdiffstats
path: root/core/modules/rsyslogd
diff options
context:
space:
mode:
authorSimon Rettberg2021-07-12 13:32:27 +0200
committerSimon Rettberg2021-07-12 13:32:27 +0200
commitd69028811168853efdaad3f07f70dff93fccd112 (patch)
treeceeb992ba51e0712419272c06420a37ae921eb19 /core/modules/rsyslogd
parent[vbox-src] fix awk call (diff)
downloadmltk-d69028811168853efdaad3f07f70dff93fccd112.tar.gz
mltk-d69028811168853efdaad3f07f70dff93fccd112.tar.xz
mltk-d69028811168853efdaad3f07f70dff93fccd112.zip
Remove COPYLIST boilerplate from every module; move to setup_target
Diffstat (limited to 'core/modules/rsyslogd')
-rw-r--r--core/modules/rsyslogd/module.build14
1 files changed, 4 insertions, 10 deletions
diff --git a/core/modules/rsyslogd/module.build b/core/modules/rsyslogd/module.build
index 552d5f43..1d4b25db 100644
--- a/core/modules/rsyslogd/module.build
+++ b/core/modules/rsyslogd/module.build
@@ -4,20 +4,14 @@ fetch_source() {
}
build() {
- COPYLIST="list_dpkg_output"
- [ -e "$COPYLIST" ] && rm "$COPYLIST"
-
- list_packet_files >> "$COPYLIST"
- tarcopy "$(cat "$COPYLIST" | sort -u)" "${MODULE_BUILD_DIR}"
-
- return 0
+ :
}
post_copy() {
-
-
+ # TODO This is garbage: Assumes we use our own systemd, hard-coded path
+ # Fix this or get rid of rsyslogd
# pwd = module's build dir
- mkdir -p "${TARGET_BUILD_DIR}"/var/spool/rsyslog
+ mkdir -p "${TARGET_BUILD_DIR}/var/spool/rsyslog"
local RSL="$(find /usr/lib/ /lib/ -name rsyslog.service | head -1)"
[ -z "$RSL" -o ! -e "$RSL" ] && perror "rsyslog.service not found on vorlage"