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/systemd-distro/module.build | 4 ---- 1 file changed, 4 deletions(-) (limited to 'core/modules/systemd-distro') diff --git a/core/modules/systemd-distro/module.build b/core/modules/systemd-distro/module.build index a2d65c66..c7d9d09d 100644 --- a/core/modules/systemd-distro/module.build +++ b/core/modules/systemd-distro/module.build @@ -8,10 +8,6 @@ build () { pwarning "No systemd binary found in PATH. " perror "Make sure the system uses systemd before using this module." fi - COPYLIST="list_dpkg_output" - [ -e "$COPYLIST" ] && rm "$COPYLIST" - list_packet_files >> "$COPYLIST" - tarcopy "$(cat "$COPYLIST" | sort -u)" "$MODULE_BUILD_DIR" mkdir -p "${MODULE_BUILD_DIR}/etc/systemd/system" for svc in kexec reboot poweroff halt; do sed 's/umount\.target//' "${MODULE_BUILD_DIR}/lib/systemd/system/systemd-${svc}.service" \ -- cgit v1.2.3-55-g7522