From 5acda3eaeabae9045609539303a8c12c4ce401f1 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Mon, 25 Apr 2016 12:01:08 +0200 Subject: merge with latest dev version --- core/modules/xorg/module.build | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 core/modules/xorg/module.build (limited to 'core/modules/xorg/module.build') diff --git a/core/modules/xorg/module.build b/core/modules/xorg/module.build new file mode 100644 index 00000000..16e0bb5b --- /dev/null +++ b/core/modules/xorg/module.build @@ -0,0 +1,22 @@ +#!/bin/bash + +fetch_source() { + : +} + +build() { + COPYLIST="list_dpkg_output" + [ -e "$COPYLIST" ] && rm "$COPYLIST" + + list_packet_files >> "$COPYLIST" + tarcopy "$(cat "$COPYLIST" | sort -u)" "${MODULE_BUILD_DIR}" + + # copy udev rules to correct location + [ -d "${MODULE_BUILD_DIR}/lib/udev" ] && mv "${MODULE_BUILD_DIR}/lib/udev" "${MODULE_BUILD_DIR}/usr/lib/" +} + +post_copy() { + mkdir -p "${TARGET_BUILD_DIR}/etc/X11" + [ ! -e ${TARGET_BUILD_DIR}/etc/X11/X ] && ln -s /usr/bin/Xorg ${TARGET_BUILD_DIR}/etc/X11/X +} + -- cgit v1.2.3-55-g7522