[Lunar-commits] <moonbase-xorg> xorg-server: rebuild drivers in POST_INSTALL
v4hn
me at v4hn.de
Sat Aug 3 17:11:35 CEST 2013
commit deb42ca4d3b23710870029e038a601392326f92c
Author: v4hn <me at v4hn.de>
Date: Sat, 03 Aug 2013 06:36:15 -0700
URL: https://github.com/lunar-linux/moonbase-xorg/commit/deb42ca4d3b23710870029e038a601392326f92c
xorg-server: rebuild drivers in POST_INSTALL
Without this rebuild, we risk to have X modules
with outdated ABI versions. This is not detected
by `lunar fix` and already broke my X twice.
Don't remove this unless you provide a different fix
for this defect.
---
xorg-server/POST_INSTALL | +6/-0
1 file changed, 6 insertions(+)
--- /dev/null
+++ b/xorg-server/POST_INSTALL
@@ -0,0 +1,6 @@
+# make sure drivers have the same ABI version as the server
+for driver in $(list_modules xorg/driver); do
+ if module_installed "$driver"; then
+ lin -c "$driver"
+ fi
+done
More information about the Lunar-commits
mailing list