Skip to content

Commit 1611214

Browse files
authored
Remove large folders of firmware that (probably) isn't needed (#41)
1 parent fce8848 commit 1611214

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

install_opi5.sh

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,16 @@ apt-get purge --yes --quiet bluez
3232

3333
apt-get --yes --quiet autoremove
3434

35+
# remove firmware that (probably) isn't needed
36+
rm -rf /usr/lib/firmware/mrvl
37+
rm -rf /usr/lib/firmware/mellanox
38+
rm -rf /usr/lib/firmware/qcom
39+
rm -rf /usr/lib/firmware/nvidia
40+
rm -rf /usr/lib/firmware/intel
41+
rm -rf /usr/lib/firmware/amdgpu
42+
3543
after=$(df --output=used / | tail -n1)
3644
freed=$(( before - after ))
37-
3845
echo "Freed up $freed KiB"
3946

4047
# run Photonvision install script

0 commit comments

Comments
 (0)