summaryrefslogtreecommitdiffstats
path: root/core/modules/samba
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/samba
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/samba')
-rw-r--r--core/modules/samba/module.build17
1 files changed, 1 insertions, 16 deletions
diff --git a/core/modules/samba/module.build b/core/modules/samba/module.build
index d24e7a87..a5cbb6b6 100644
--- a/core/modules/samba/module.build
+++ b/core/modules/samba/module.build
@@ -4,22 +4,7 @@ fetch_source() {
}
build() {
- COPYLIST="list_dpkg_output"
- [ -e "$COPYLIST" ] && rm "$COPYLIST"
-
- if [ "x$PACKET_MANAGER" == "xzypper" ]; then
- if [ $(zypper lr | grep -ci filesystems) -eq 0 ]; then
- zypper addrepo http://download.opensuse.org/repositories/filesystems/openSUSE_${SYS_VERSION} Filesystems
- pinfo "Repository added: OpenSuse Build filesystems"
- fi
- # Ubuntu writes to /etc, Suse does not:
- mkdir "$MODULE_BUILD_DIR"/etc/
- cp /usr/share/doc/packages/smbnetfs/smbnetfs.conf "$MODULE_BUILD_DIR"/etc/
- fi
-
- list_packet_files >> "$COPYLIST"
- tarcopy "$(cat "$COPYLIST" | sort -u)" "${MODULE_BUILD_DIR}"
- return 0
+ :
}
post_copy() {