From d69028811168853efdaad3f07f70dff93fccd112 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Mon, 12 Jul 2021 13:32:27 +0200 Subject: Remove COPYLIST boilerplate from every module; move to setup_target --- core/modules/samba/module.build | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) (limited to 'core/modules/samba') 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() { -- cgit v1.2.3-55-g7522