summaryrefslogtreecommitdiffstats
path: root/remote/tools
diff options
context:
space:
mode:
Diffstat (limited to 'remote/tools')
-rw-r--r--remote/tools/xorg/xorg.build21
1 files changed, 5 insertions, 16 deletions
diff --git a/remote/tools/xorg/xorg.build b/remote/tools/xorg/xorg.build
index 9cd90db9..c0e9adc6 100644
--- a/remote/tools/xorg/xorg.build
+++ b/remote/tools/xorg/xorg.build
@@ -6,23 +6,12 @@ fetch_source() {
build() {
- BUILDDIR="$TOOL_DIR/$TOOL/build"
+ BUILDDIR="$TOOL_DIR/$TOOL/build"
+ COPYLIST="list_dpkg_output"
+ [ -e "$COPYLIST" ] && rm "$COPYLIST"
- COPYLIST="list_dpkg_output"
- [ -e "$COPYLIST" ] && rm "$COPYLIST"
-
- for PACKAGE in ${REQUIRED_PACKAGES}
- do
- for FILE in $(dpkg -L ${PACKAGE} | grep -v share/doc | grep -v share/man)
- do
- [ ! -d $FILE ] && echo $FILE >> "$COPYLIST"
- done
- done
-
- # prepare target dir & copy there
- mkdir -p "$BUILDDIR"
- tarcopy "$(cat "$COPYLIST" | sort -u)" "$BUILDDIR"
-
+ list_packet_files >> "$COPYLIST"
+ tarcopy "$(cat "$COPYLIST" | sort -u)" "$BUILDDIR"
}
post_copy() {