/usr/share/tcos/hooks-addons/51dri is in initramfs-tools-tcos 0.89.86.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 | # hook addon for enable direct rendering
#TCOS_XORG_DRI=
#TCOS_XORG_DRI_INTEL=
#TCOS_XORG_DRI_ATI=
#TCOS_XORG_DRI_SAVAGE=
#TCOS_XORG_DRI_SIS=
#TCOS_XORG_DRI_TRIDENT=
#TCOS_XORG_DRI_UNICHROME=
#TCOS_XORG_DRI_MATROX=
DRI_DIR=/usr/lib/dri/
[ -d /usr/lib/i386-linux-gnu/dri/ ] && DRI_DIR=/usr/lib/i386-linux-gnu/dri/
[ -d /usr/lib/x86_64-linux-gnu/dri/ ] && DRI_DIR=/usr/lib/x86_64-linux-gnu/dri/
mkdir -p ${DESTDIR}/${DRI_DIR}
copy_dri() {
[ -e "${DRI_DIR}/$1" ] && cpifexists ${DRI_DIR}/$1 ${DRI_DIR}
}
if [ $TCOS_XORG_DRI_INTEL ]; then
stat_before
copy_dri i810_dri.so
copy_dri i915_dri.so
copy_dri i965_dri.so
stat_after "Intel DRI"
fi
if [ $TCOS_XORG_DRI_ATI ]; then
stat_before
copy_dri r128_dri.so
copy_dri r200_dri.so
copy_dri r300_dri.so
copy_dri r600_dri.so
copy_dri radeon_dri.so
stat_after "ATI DRI"
fi
if [ $TCOS_XORG_DRI_SAVAGE ]; then
stat_before
copy_dri s3v_dri.so
copy_dri savage_dri.so
stat_after "Savage DRI"
fi
if [ $TCOS_XORG_DRI_SIS ]; then
stat_before
copy_dri sis_dri.so
stat_after "SiS DRI"
fi
if [ $TCOS_XORG_DRI_TRIDENT ]; then
stat_before
copy_dri trident_dri.so
copy_dri tdfx_dri.so
stat_after "Trident DRI"
fi
if [ $TCOS_XORG_DRI_UNICHROME ]; then
stat_before
copy_dri unichrome_dri.so
stat_after "Unichrome DRI"
fi
if [ $TCOS_XORG_DRI_MATROX ]; then
stat_before
copy_dri mach64_dri.so
copy_dri mga_dri.so
stat_after "Matrox DRI"
fi
if [ $TCOS_XORG_DRI ]; then
_echo " ** WARNING: TCOS_XORG_DRI is deprecated, generate new config."
fi
# Software Rendering DRI extension (always copy)
copy_dri swrast_dri.so
|