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/polkit/module.build | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'core/modules/polkit') diff --git a/core/modules/polkit/module.build b/core/modules/polkit/module.build index b1e61f66..c9fbbad6 100644 --- a/core/modules/polkit/module.build +++ b/core/modules/polkit/module.build @@ -8,8 +8,7 @@ fetch_source () { build () { local COPYLIST="$MODULE_WORK_DIR/list_dpkg_output" - list_packet_files > "$COPYLIST" - [ -n "$REQUIRED_DIR_STRUCT" ] && find $REQUIRED_DIR_STRUCT -type d >> "$COPYLIST" + [ -n "$REQUIRED_DIR_STRUCT" ] && find $REQUIRED_DIR_STRUCT -type d > "$COPYLIST" tarcopy "$(cat "${COPYLIST}" | sort -u)" "${MODULE_BUILD_DIR}" mkdir -p "$MODULE_BUILD_DIR/var/lib/polkit" } -- cgit v1.2.3-55-g7522