diff options
Diffstat (limited to 'distro/el9')
| -rwxr-xr-x | distro/el9 | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -1,6 +1,7 @@ #!/bin/sh ROCM_ENALBE=NO NVIDIA_ENABLE=NO +THUNDERBOLT=NO if [ "$(id -u)" -eq 0 ] ; then echo "Run as a normal user" exit 1 @@ -32,6 +33,7 @@ sudo yum -y install \ buildah \ chromium \ cifs-utils \ + ddcutil \ evince \ evolution \ evolution-ews \ @@ -63,6 +65,7 @@ sudo yum -y install \ pass \ pass-otp \ pavucontrol \ + pcsc-lite-devel \ podman \ pv \ pwgen \ @@ -81,7 +84,6 @@ sudo yum -y install \ xkill \ xsetroot \ zstd \ - pcsc-lite-devel \ # https://rpmfusion.org/Configuration @@ -112,6 +114,14 @@ sudo sh -c 'echo "options v4l2loopback devices=3 video_nr=10,11,12 card_label=\" flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo flatpak install -y flathub com.obsproject.Studio +if [ "$THUNDERBOLT" = "YES" ] ; then +sudo sh -c 'cat > /etc/udev/rules.d/99-removable.rules <<EOF +# /etc/udev/rules.d/99-removable.rules +ACTION=="add", SUBSYSTEM=="thunderbolt", ATTR{authorized}=="0", ATTR{authorized}="1" +EOF' +fi + + if lspci | grep -qi 'vga.*amd.*navi' && [ $ROCM_ENALBE = YES ] ; then # https://rocm.docs.amd.com/projects/install-on-linux/en/latest/tutorial/quick-start.html sudo crb enable |
