Commit f51305ce authored by Anton Midyukov's avatar Anton Midyukov

install2: Added INSTALL2_CLEANUP_DRI

Cleanup dri is still needed for servers. Reported-by: shaba@ Also-see: 576a58d1
parent 5182e86c
......@@ -125,6 +125,11 @@ use/install2/tools:
use/install2/cleanup/vnc:
@$(call add,INSTALL2_CLEANUP_PACKAGES,x11vnc xorg-xvfb)
# when VNC installation is less welcome than a few extra megs
use/install2/cleanup/dri:
@$(call set,INSTALL2_CLEANUP_DRI,yes)
@$(call xport,INSTALL2_CLEANUP_DRI)
# conflicts with luks feature
use/install2/cleanup/crypto:
@$(call add,INSTALL2_CLEANUP_PACKAGES,gnupg)
......
#!/bin/sh
# drop extra drivers et al, purge kernel image(s)
# xorg-dri-*
if [ "$GLOBAL_INSTALL2_CLEANUP_DRI" = 'yes' ]; then
rm -r /usr/lib*/X11/modules/dri
fi
# no movies during installation so far
rm -rf /usr/lib*/vdpau/ /usr/lib*/libXv*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment