summaryrefslogtreecommitdiffstats
path: root/core/modules/xorg/module.build
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/xorg/module.build')
-rw-r--r--core/modules/xorg/module.build7
1 files changed, 7 insertions, 0 deletions
diff --git a/core/modules/xorg/module.build b/core/modules/xorg/module.build
index 3e730932..e720451a 100644
--- a/core/modules/xorg/module.build
+++ b/core/modules/xorg/module.build
@@ -44,6 +44,13 @@ build() {
find . -type f -name "*_drv.so" -exec cp {} "${MODULE_BUILD_DIR}/usr/lib/xorg/modules/drivers" \;
done
fi
+ # Extra .deb packages
+ local deb dir
+ for deb in $REQUIRED_DEB_PACKAGES; do
+ dir="${MODULE_WORK_DIR}/${deb##*/}"
+ download "$deb" "$dir"
+ apt install -y "$dir" || perror "apt install $dir failed."
+ done
}
post_copy() {