stage2: drop 90-cleanup-drm script

If xorg-dri-* is not needed, just don't install it.
This commit is contained in:
Anton Midyukov 2022-08-10 20:57:57 +07:00
parent e8e38bb124
commit 2d6e5ded75

View File

@ -1,10 +0,0 @@
#!/bin/sh
# don't cripple the image to be copied over
[ -x /usr/sbin/live-install -o -x /usr/sbin/livecd-install ] && exit 0
# no sense in xorg-dri-* without kernel-modules-drm*
stat /lib/modules/*/kernel/drivers/gpu/drm >&/dev/null \
|| rm -rf /usr/lib*/X11/modules/dri/
: