install2: Added INSTALL2_CLEANUP_DRI
Cleanup dri is still needed for servers.
Reported-by: shaba@
Also-see: 576a58d1c6
This commit is contained in:
parent
5182e86c4f
commit
f51305ce07
@ -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)
|
||||
|
@ -1,6 +1,11 @@
|
||||
#!/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*
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user