You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

4 jaren geleden
12345678910111213141516171819202122232425262728293031323334
  1. ---
  2. - name: Hold modules
  3. ignore_errors: yes
  4. shell: "apt-mark hold {{ item }}"
  5. with_items:
  6. - nvidia-l4t-tools
  7. - nvidia-l4t-bootloader
  8. - name: Fix Screen Manager
  9. ignore_errors: yes
  10. shell: |
  11. mv /usr/share/xsessions/ux-ubuntu.desktop /usr/share/xsessions/ubuntu.desktop
  12. rm -fr /usr/share/xsessions/gnome*.desktop
  13. - name: Fix nvpmodel_indicator logo
  14. shell: rm -fr /usr/share/nvpmodel_indicator/nv_logo.svg
  15. ignore_errors: yes
  16. - name: Delete oem-config
  17. shell: "rm -r {{ item }}"
  18. loop:
  19. - /etc/systemd/nv-oem-config*.sh
  20. - /etc/systemd/nvweston.sh
  21. - /etc/systemd/system/nvweston.service
  22. - /etc/nv-oem-config.conf
  23. - /usr/sbin/nv-oem-config-firstboot
  24. - /lib/systemd/system/nv-oem-config*.*
  25. ignore_errors: yes
  26. - name: Append resize command to first boot
  27. shell: |
  28. sed -i '$ d' /etc/systemd/nvfb.sh
  29. echo "./usr/lib/nvidia/resizefs/nvresizefs.sh" >> /etc/systemd/nvfb.sh
  30. echo "rm -rf /etc/nv/nvfirstboot" >> /etc/systemd/nvfb.sh