diff options
author | Simon Rettberg | 2021-07-12 13:32:27 +0200 |
---|---|---|
committer | Simon Rettberg | 2021-07-12 13:32:27 +0200 |
commit | d69028811168853efdaad3f07f70dff93fccd112 (patch) | |
tree | ceeb992ba51e0712419272c06420a37ae921eb19 /core/modules/rsyslogd | |
parent | [vbox-src] fix awk call (diff) | |
download | mltk-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.build | 14 |
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" |