Skip to content

Commit

Permalink
delete large folders with firmware that isn't used
Browse files Browse the repository at this point in the history
  • Loading branch information
crschardt committed Dec 24, 2024
1 parent 52ffb3d commit 4777a7f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions install_opi5.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,13 @@ apt-get --yes --quiet autoremove
after=$(df --output=used / | tail -n1)
freed=$(( before - after ))

# remove firmware that (probably) isn't needed
rm -rf /usr/lib/firmware/mrvl
rm -rf /usr/lib/firmware/mellanox
rm -rf /usr/lib/firmware/nvidia
rm -rf /usr/lib/firmware/intel
rm -rf /usr/lib/firmware/amdgpu

echo "Freed up $freed KiB"

# run Photonvision install script
Expand Down

0 comments on commit 4777a7f

Please sign in to comment.